Last active
October 21, 2016 21:44
-
-
Save dev-ext/e761622aa38b132de12dc409f0bee212 to your computer and use it in GitHub Desktop.
Lamp stack, sublime, appache2 configuration change, wp cli install, node install in Ubuntu 16.04
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
# Install lamp sack all dependency for wpautomate | |
sudo apt-get update | |
sudo apt-get install -y apache2 | |
sudo apache2ctl configtest | |
sudo apt-get install -y mysql-server | |
sudo apt-get install -y php libapache2-mod-php php-mcrypt php-mysql | |
sudo apt-get install -y phpmyadmin | |
sudo systemctl status apache2 | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
chmod +x wp-cli.phar | |
chmod +x wp-cli.phar | |
sudo mv wp-cli.phar /usr/local/bin/wp | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo apt-get update | |
sudo apt-get install sublime-text-installer | |
sudo /etc/init.d/apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment