LAMP architecture installation
1 My own production real environment
Centos 7 or higher system
execute the following command to install
2 #yum -y install httpd php php-mysql
wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
#rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum install mysql-community-server
3 Start each service
Systemctl start httpd
Systemctl start mysqld
4 Test whether the environment is normal
Cd /var/www/html
Vi index.php
5 Restart apache
Systemctl restart httpd and
visit the website http://www.jkkcss.cn/
Install forum
- Upload dz forum package
html]# yum install lrzsz
drag the php project to the release directory /var/www/html
as follows:
2 Unzip and install
unzip Discuz_X3.4_SC_UTF8.zip
3 Install in the browser
http://www.jkkcss.cn/upload/
For non-writable directories, permission is required
Chmod 777 -R *
Set the above database password
mysqladmin -uroot password "12345678" to
complete the following. My own website is deployed as follows:
http://www.jkkcss.cn/