lamp forum construction

1. Configure the local yum source mount

2、安装软件 yum install httpd mariadb mariadb-server   php php-mysql php-gd libjpeg*  php-ldap php-odbc php-pear php-xml php-xmlrpc php-mhash -y

3. Start the web service to start the database and set the startup to start 

4. Turn off the firewall and change selinux to warning

5. Set the password of the database to create the login user

mysql_secure_installation

6. Enter mariadb to create forum database mysql -uroot -p123456

create database luntan;

quit

7. Restart the database and web server

8. Upload website files to the default access directory of the web server: /var/www/html

rz

sz  XXX

9. Unzip the forum files 

Go to /var/www/html/upload

Change directory permissions chmod 777 config/data/uc_* -R

restart the web server

 

10. Open in a local browser

11. Enter IP address/upload

Admin address IP address/upload/admin.php

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326333755&siteId=291194637