phpMyAdmin in Centos 6.9, construction of WordPress, construction of Discuz

Source: Internet
Author: User
Tags phpmyadmin

First of all, in CentOS 6.9 need some preparation environment, I was on the basis of my previous blog to build, and again on the basis of the expansion and construction;

httpd mysql-server php php-mysql these four RPM packages, directly with Yum loaded, this operation I will not show you, a command to solve;

Since I have set up the HTTP environment, I only installed the latter three packets;

A directoryindex index.php was added to the configuration file of the virtual host;

Create a new PHP index and then write the PHP statement to test for success;

: Success

Need to import phpMyAdmin, WordPress and discuz rpm packages into the Linux host;


Then we rename the extracted phpMyAdmin file to PMA, enter it directly in the browser, and before entering, use mysql_install_dbto create the MySQL database, and then mysql_secure_ Installation add a password to the root user, I set the 123456; log in directly on the browser; phpMyAdmin creation is complete;



Similarly create discuz, but only need to extract the inside of the upload folder, if garbled, in the main configuration file /etc/httpd/conf/http.conf http to modify the default encoding format for GB2312 can be;

After you click Start installation, you find that the directory file does not have permissions, and then you need to change the permissions of these files to 777;

Discuz creation completed;


WordPress creation process is similar, but need to create a corresponding database in the MySQL database;


The database I created is wpdb, creating a user Wpuserthat gives all permissions;


Modify the wp-config-sample.php file based on the database name and user name you just created;

According to the prompt, the contents of the inside copy, and the folder inside the new wp-config.php to paste;


Then new users can be used;

WordPress creation completed;


phpMyAdmin in Centos 6.9, construction of WordPress, construction of Discuz

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.