Debian 7 安装最新版 Nginx+HHVM

安装Nginx:

wget -O- http://nginx.org/packages/debian/dists/wheezy/Release.gpg | sudo apt-key add -
echo deb http://nginx.org/packages/debian wheezy main | sudo tee /etc/apt/sources.list.d/nginx.list
sudo apt-get update
sudo apt-get install nginx

安装HHVM:

wget -O- http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
echo deb http://dl.hhvm.com/debian wheezy main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get update
sudo apt-get install hhvm
apt-get install libmemcached-dev libgmp10

其他:

# If you are getting segfaults
sudo apt-get install hhvm-dbg
# Living on the edge (rebuilt everyday, unstable)
sudo apt-get install hhvm-nightly
# Segfaults in the nightly
sudo apt-get install hhvm-nightly-dbg






你可能感兴趣的:(Debian 7 安装最新版 Nginx+HHVM)