The online yum installation in Centos is slow. replace the following with the CentOS image server in China!
1. install and configure Apache + php + Mysql
The online yum installation in Centos is slow. replace the following with the CentOS image
This is much better than what one-click installation package has been circulated on the internet. it is strongly recommended that this method be installed. it is suitable for all Cainiao and experts. it is good to compile and install all the source
1. Update the system kernel to the latest version.
[Root @ linuxfei ~] # Yum-y update
After the system is updated, if an error message is prompted during Yum installation, run the following command to fix the problem.
[Root @ linuxfei ~] #
PHP 5.3.1
MySQL 5.0.89
Nginx 0.8.33 or 0.7.65 (optional)
Now we can quickly automate the installation of CentOS + Nginx + php-fpm + MySQL
This is much better than the online one-button installation package, highly recommended for all novices and
DockerfileTo get started, we create a dockerfile--dockerfile that contains instructions on how to create the desired image.From CENTOS:CENTOS6Maintainer Mike ebinum, [email protected]Using Cent OS 6.xTell Docker to use the latest version of the
Install PHP environment under CentOS
|
Browse:3831
|
Updated: 2014-11-04 17:01
1
2
3
Step through ReadingOn the internet to see a lot, many can not be used, so the practice can be used, the
Yum install nginx + mysql + php command prepare to create directory mkdir directory name chmod777 directory name change permission add to boot startup Item service chkconfig -- addphp-fpmchkconfignginxon find file location often used to find various
PHP 5.3.1
MySQL 5.0.89
Nginx 0.8.33 or 0.7.65 (optional)
Now, we can do this quickly and automatically.CentOS + Nginx + PHP-FPM + MySQLInstalled
This is much better than what one-click installation package is available on the Internet. It is
1. Update the system kernel to the latest. [[email protected] ~] #yum-y update If the Yum installation prompts you for an error message, perform the following command to repair the. [[email Protected] ~] #rpm
(summary) CentOS 6.x uses Yum to quickly install Apache+php+tomcat (JSP) +mysqlPS: This is lazy yum quick-install method for development and test environments is convenient for production environments with no special requirements. Special
InstallationI. ApacheInstallationYum Install-y httpdStart/ETC/INIT.D/HTTPD startNote: Apache will prompt for error after booting: Starting httpd:httpd:Could not reliably determine the server's fully qualif domain name, using:: 1 for Ser
Tips: Before you do this, make sure that you have CENTOS7 installed because all of the following operations are done under CENTOS7.1, first to stop the native firewall, and then configure Iptables, open 21/22/80/8080/3306 port, the specific
File ID I nodeFile Search CommandLocate file nameLink commandSoft links have I nodes and block blocks without data filesHard links to save things copy versionCommand Search Command Whereis whichManagement of permissionsCHMOD 777 ABC 644 755Modify
help information./configure-help|grep MySQL installs PHP./configure--prefix=/usr/local/fastphp--with-mysql=Mysqlnd--enable-mysqld--with-GD--enable-gd-native-TTF--enable-gd-jis-Conv--enable-FPM error Prompt to install LIBXML2 tar-zxvf
Install the basic Software environmentYum Install GCC GCC Make Perl Perl-digest-shaInstalling ApacheYum Install httpdSet up your own startup and start the Apache serviceService httpd StartInstall MySQLAdd MySQL Source# RPM-UVH
50923900First of all: centos7.0 installs Apache directly with Yum, PHP their default version is apache2.4 and php5.41, before the installation check whether the system has a default installed Apache or PHP
Rpm-qa | grep httpdRpm-qa | Frep
Prepare the article:
CentOS 7.0 System installation Configuration Diagram tutorial
Http://www.jb51.net/os/188487.html
First, configure the firewall, open 80 ports, 3306 ports
CentOS 7.0 uses firewall as a firewall by default, and this is
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.