sh Wpautomate ubuntu 16.10的依赖安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 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
以上是关于sh Wpautomate ubuntu 16.10的依赖安装的主要内容,如果未能解决你的问题,请参考以下文章
json env.json为wpautomate
json env用于wpautomate任务
16.1 Tomcat介绍16.2 安装jdk16.3 安装Tomcat
sh ubuntu-setup.sh
sh 更新ubuntu packages.sh
sh spotify-ubuntu.sh