Skip to content

Instantly share code, notes, and snippets.

@dev-ext
Last active December 15, 2016 04:37
Show Gist options
  • Save dev-ext/782612f6e0c8e10b748d1a967fe51642 to your computer and use it in GitHub Desktop.
Save dev-ext/782612f6e0c8e10b748d1a967fe51642 to your computer and use it in GitHub Desktop.
Dependency Instalation for Wpautomate ubuntu 16.10
#http://www.tecmint.com/install-lamp-on-ubuntu-16-10/
sudo apt install apache2
sudo systemctl status apache2.service
sudo netstat -tlpn
sudo a2enmod ssl
sudo a2ensite default-ssl.conf
sudo systemctl restart apache2.service
sudo netstat -tlpn
sudo systemctl enable apache2
sudo apt search php7.0
sudo apt install php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-xml php7.0-gd
php -v
#sudo nano /var/www/html/info.php
#<?php
#phpinfo();
#?>
sudo systemctl restart apache2
sudo apt install php7.0-mysql mariadb-server mariadb-client
sudo mysql_secure_installation
#$ sudo mysql
#MariaDB> use mysql;
#MariaDB> update user set plugin=’‘ where User=’root’;
#MariaDB> flush privileges;
#MariaDB> exit
#mysql -u root -p
sudo apt install php-gettext phpmyadmin
## Skip dbconfig common
## Install wp cli
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
wp --info
## Install node
## NVM doc
## https://github.com/creationix/nvm#install-script
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
# Verify instalation of nvm
command -v nvm
## Restart terminal
sudo npm install -g npm
sudo npm install -g bower
sudo npm install -g gulp
sudo npm install -g jshint
sudo npm install -g yo
sudo npm install -g generator-wp-automate
## Install git
sudo apt-get install git
## Sublime
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
## Package install
## go >> https://packagecontrol.io/installation >> install code copy and paste in sublime console
## GO >> https://gist.github.com/developer-prosenjit/0e552d1e1fa850dfb5507d40e665e0ee
## Install phpcs
#https://gist.github.com/developer-prosenjit/7d8539c711ac5f76bd0199dca8f9c032
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment