CentOS Install PHP Server

Source: Internet
Author: User
Tags php server

Easypanelis a powerful for free set open virtual host, FTP space, database and other functions as one of the host Control Panel, with cross-platform (Windows,linux), safe and stable, easy to operate and other characteristics. Support PHP (Windows version also supports asp,asp.net), support disk quotas, online file management, online Web software installation.

2. Installation and upgrade under Linux
(kangle Web server and MySQL are integrated, only CentOS 5 and CentOS 6 are supported)
execute the following command, and the installer will install or upgrade automatically.

    1. Yum-y Install Wget;wget Http://download.kanglesoft.com/easypanel/ep.sh-O ep.sh;sh ep.sh

Copy Code

Fully automatic installation, installation of MySQL database is required after installation

How to install a database

Start with the MySQL installation. Open HyperTerminal and enter:

[email protected] ~]# yum install MySQL Mysql-server

The installation is complete so that MySQL can start automatically with the system:

[[email protected] ~]# chkconfig--levels 235 mysqld on[[email protected] ~]#/etc/init.d/mysqld start

To set the password for the MySQL data root account:

[Email protected] ~]# mysql_secure_installation

Press ENTER directly when prompted as follows:

Enter Current password for root

Appear as follows to enter again:

Set root Password? [y/n]

The following prompts you to enter the password you need to set, enter after entering the confirmation:

New Password:

Then there will be four confirmations, namely:

Remove anonymous users? [y/n] Disallow Root login remotely? [y/n] Remove test database and access to it? [y/n] Reload privilege tables now? [y/n]

You can enter directly.


This article is from the "Cloud Heart" blog, be sure to keep this source http://yunabc.blog.51cto.com/8802184/1542545

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.