1. Enter the file into the var/www/html
2.,
Install HTTP PHP php-sql[[email protected] yum.repos.d]# systemctl restart Httpd.service[[email protected] yum.repos.d]# Setenforce 0[[email protected] yum.repos.d]# systemctl stop firewalld.service[[email protected] yum.repos.d]# mysql- uroot-pmysql> CREATE database WordPress; Build table
Create user ' word ' @ ' 192.168.100.138 ' identified by ' qwe///123 '; Create User and password
Grant all privileges the wordpress.* to ' word ' @ ' 192.168.100.138 '; Grant user access: 192.168.100.138
3. Visit 192.168.100.138 to install WordPress
Create wp-config manually, copy and paste the blue section above
4. Fill in
5. Login
If you are not satisfied with the theme, you can download it yourself and then go to/var/www/html/wp-content/themes and put the theme you downloaded.
6. Complete
WordPress website Building