CENTOS 7.0 installation discuz, MySQL +php+apache environment

Source: Internet
Author: User


There are no mysql-sever files in the Yum source for CentOS 7 and need to be downloaded from the official website:

1. Download the rpm file that supports Mysql-sever

# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm

2. Install the RPM package

# RPM-IVH mysql-community-release-el7-5.noarch.rpm

3. Installing Mysql-sever

# yum Install Mysql-community-server

4. Start MySQL

# Service Mysqld Restart


The initial installation of MySQL is the root account is no password, the way to set the password:
#mysql-uroot


mysql> Set Password = password (' Password you need to set ');


Mysql> exit!


Install PHP:

Yum-y Install PHP Php-mysql

Installing Apache

Upload the upload file to the Web directory via the FTP tool:

After visiting the official website error: The directory does not exist and is not writable.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/F8/wKiom1cy4M_RNGHiAAD8ecO2Hsk112.png "title=" 1.png " alt= "Wkiom1cy4m_rnghiaad8eco2hsk112.png"/>

1, enter the WWW directory, set other non-writable directory permissions

Chmod-r 733 uc_client uc_server data config



CENTOS 7.0 installation discuz, MySQL +php+apache environment

Related Article

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.