Created
July 23, 2015 03:48
-
-
Save liuyu121/1fd8f59e3476f6f308b2 to your computer and use it in GitHub Desktop.
install latest LNMP + redis + etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install python-software-properties | |
sudo apt-get install software-properties-common | |
# install nginx | |
# add the repository ppa | |
sudo add-apt-repository ppa:nginx/stable | |
sudo add-apt-repository ppa:ondrej/php5-oldstable | |
sudo add-apt-repository ppa:ondrej/php5 | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo add-apt-repository -y ppa:rwky/redis | |
sudo apt-add-repository ppa:brightbox/ruby-ng | |
sudo add-apt-repository ppa:chris-lea/node.js | |
# update the repository | |
sudo apt-get update | |
# install all stuffs | |
sudo apt-get install -y nginx | |
sudo apt-get install -y php5-fpm php5-mysql php5 php-pear php5-cli php5-common php5-curl php5-dev php5-gd php5-mcrypt | |
sudo apt-get install -y git | |
sudo apt-get install -y mysql-client-core-5.6 mysql-client-5.6 mysql-server-5.6 | |
sudo apt-get install -y redis-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment