#1
Apt-get install Nginx php7.0 php7.0-mysql php7.0-gd php7.0-cgi php7.0-cli php7.0-curl php7.0-fpm php7.0-mcrypt php7.0-xml RPC Mysql-server mysql-client
#2
Will find that MySQL has been installed, and do not know the password, we reset it.
1, close the service
#/etc/init.d/mysql stop
Service MySQL Stop
2. Turn on Safe mode
Mysqld_safe--skip-grant-tables &
3. Reset Password
Mysql-uroot
Use MySQL;
Update user set Password=password ("YourPassword") where user= ' root ';
Flush privileges;
Quit
4, open the service
#/etc/init.d/mysql start
Service MySQL Start
#3
Configure MySQL
Mysql_secure_installation
Enter a password, the first n, the remaining Y
Mysql-u root-p
Enter password
Create Database Typecho;
Exit
#4
Configure Nginx, slightly
#5
Installing Typecho
wget https://github.com/typecho/typecho/releases/download/v1.1-15.5.12-beta/typecho.tar.gz
TAR-ZXVF typecho.tar.gz
RSYNC-AVP ~/build//var/www/
Kali Rolling Installation Typecho