Last active
April 8, 2017 05:12
-
-
Save luisfc/947d1fee3595ba065783dbd5c732c061 to your computer and use it in GitHub Desktop.
Install development environment
This file contains hidden or 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 nginx | |
sudo apt-get install mysql-server | |
sudo apt-get install php5-cli php5-fpm php5-mysql php5-gd php5-curl php5-sqlite php5-tidy php5-imagick | |
#For PHP5.6 | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install mysql-server | |
sudo apt-get install php5.6-cli php5.6-fpm php5.6-mysql php5.6-gd php5.6-curl php5.6-sqlite php5.6-tidy php5.6-imagick | |
#sudo apt-get install php5.6-dom php5.6-json php5.6-common php5.6-opcache php5.6-readline | |
sudo apt-get install php5.6-mbstring php5.6-xml | |
#zip archive support missing drupal | |
sudo apt-get install php5.6-zip | |
sudo apt-get install git tig | |
sudo apt-get install vim-gtk | |
#Check if nginx, mysql and php-fpm are running | |
sudo /etc/init.d/nginx status | |
sudo /etc/init.d/mysql status | |
sudo /etc/init.d/php5.6-fpm status | |
#Generate ssh public/private key | |
sudo apt-get install ssh | |
ssh-keygen | |
#Show public key | |
cat ~/.ssh/id_rsa.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment