linux+apache+mariadb+php=LAMP
下面建立论坛discus
yun install mariadb mariadb-server php-mysql -y
[root@http cgi-bin]# vim /etc/httpd/conf.d/webapp.conf
[root@http cgi-bin]# vim /etc/my.cnf
[root@http cgi-bin]# systemctl restart mariadb
[root@http cgi-bin]# mysql_secure_installation
mkdir /var/www/bbs
vim /etc/httpd/conf.d/bbs.conf
<VirtualHost *:80>
ServerName bbs.westos.com
DocumentRoot /var/www/bbs
CustomLog logs/bbs.log combined
</VirtualHost>
cd /var/www/bbs/upload
chmod -R 777 ./config ./data ./uc_*
然后全程下一步就行 自行设置