LinuxPHP5.3 upgrade PHP5.5.33 and php5.3php5.5.33. LinuxPHP5.3 upgrade PHP5.5.33 and php5.3php5.5.33 because laravel5.1 is used, php must be upgraded to over 5.5. The specific environment is AliyunCentOS7.0. Since Alibaba's yum source lastest only
Read Catalogue
Start Nginx and set to boot
Installing Iptables
Edit the firewall configuration file
Configure Nginx to access PHP
Test access
Security Configuration for MARIADB
Make the extranet available for linking
Just want to summarize a installation environment document, because many problems of the document is also many, summarize a copy of their own installation documentation!First of all, environment centos7,linux environment!1, network configuration,
1. Update the system to install the necessary dependency packages[user]$ sudo apt-get update && sudo apt-get-y upgrade[user]$ sudo apt-get install Software-properties-common Nano Wget2. Install MariaDB10 above, if it is not clear whether the
build lamp environment and install swoole extensions under LinuxFirst, CentOS 6.5 uses yum to quickly build the LAMP EnvironmentPreparation: Update First Yum Source Enter the following command: yum-y Update1. Installing Apache[Email protected] ~]#
This article illustrates the steps and methods of building a PHP server environment on CentOS. Share to everyone for your reference, specific as follows:
Install Apache:
Yum Install httpd Httpd-devel
Start Apache:
/ETC/INIT.D/
1: View the Environment:
[Root@localhost ~]# Cat/etc/redhat-release
2: Turn off the firewall
#重启后生效开启
[root@localhost ~]# chkconfig iptables off
or
#即时生效, fail-Open after reboot
[root@localhost ~]# Service Iptables stop
System: Centos6.0 32 bits
First, install MySQL
#yum-y install MySQL mysql-server mysql-devel
Configure MySQL boot up service
#chkconfig--add mysqld (add MySQL service to the list of services)
#chkconfig mysqld on (setting up the MySQL service
Prepare the article:
CentOS 5.x System installation Configuration Diagram tutorial
Http://www.jb51.net/os/128754.html
1, configure the firewall, open 80 ports, 3306 ports
Vi/etc/sysconfig/iptables
-a rh-firewall-1-input-m state--state new-
First we're going to prepare the files for the configuration environment
Nginx Download Address: http://nginx.org/download/nginx-1.3.14.zip
PHP Download Address: http://windows.php.net/downloads/releases/php-5.2.17-nts-Win32-VC6-x86.zip
MySQL
1. Close the firewall
[Root@centos ~]# chkconfig iptables off
2. Close SELinux
Vi/etc/sysconfig/selinux
Modify the selinux=enforcing to disabled and restart the active
3, configure CentOS 6.0 third party yum source (centos default standard source
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.