安装mysql

apt-get install -y mariadb-server mariadb-client

设置数据库密码

sudo mysql_secure_installation

安装apache2

apt-get install apache2

安装PHP7.0

apt-get install php7.0

安装PHP模块

apt-get install php7.0 php-pear libapache2-mod-php7.0 php7.0-mysql
apt-get install php7.0-curl php7.0-json php7.0-cgi
sudo apt-get install php7.0-gd

Last modification:May 2nd, 2018 at 12:32 pm
正在沿街乞讨中……