1. Install ApacheYou can install Apache by entering the following command in the terminal:
sudo yum install httpd
sudo means what to do with the root user. To click on the Y to confirm the download installation, very convenient.Then use
CentOS 7, lamp (PHP-FPM);Requirements: (1) Three separate from the host;(2) A virtual host is used to provide phpmyadmin; Another virtual host is used to provide WordPress;(3) XCacheLab Environment:
Host
System
IP Address
Yum (full name Yellow Dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat as well as SuSE. Based on the RPM package management, can automatically download the RPM package from the specified server and install, can
Overview
Recently bought a server, ready to build a personal blog, to continue to update their blog,
Environment
Server operating system: CentOS 7.0
Blog Deployment server: Apache
Background language: PHP
Database: MYSQL
Front
Foreword: The general Novice does not adapt the LINUXVPS command to build the station, the loading panel is necessary, the KLOXO function is formidable most importantly is supports the automatic backup to be good protects the data not to lose. The
Prepare the article:
CentOS 6.6 System Installation Configuration Diagram tutorialHttp://www.jb51.net/os/239738.html
1, configure the firewall, open 80 ports, 3306 ports
Vi/etc/sysconfig/iptables
-a input-m state--state new-m tcp-p
CENTOS7 Installation Configuration Tutorial: http://www.111cn.net/sys/CentOS/63645.htm
First, configure the firewall, open 80 ports, 3306 ports
CentOS 7.0 uses firewall as a firewall by default, and this is iptables firewall instead.
First, preparatory work
1. Download and install centos7.2, configure the network environment to ensure that CentOS can access the Internet, you can get to Yum source.
centos7.2 Download Address: http://pan.baidu.com/s/1eRTjats Password: Wnby
Description
Linux Server system: CentOS 5.5
Web environment: Lamp or LNMP
Windows Server System: Windows Server 2003
Windows Server IP Address: 192.168.21.134
Database environment: SQL Server 2000 database
Database account: SA
Database
You need two servers first (you can also use one, but not recommended)1 server with Yum installation Apache+php+php-mysql2 server install MySQL with yum1 server with Yum installation Apache and Php+php-mysqlyum install Httpd-yyum install php-yYum
To build a local Linux server environment, yesterday in accordance with the network tutorial according to gourd painting scoop, after the crackling, found that Redis service is not good, do not like the kind of knowing that there is a problem but do
*. * represents all tables in the databasegreate USER [email protected] '% ' means that any database can be established (if the database port is open)greate USER [email protected] ' localhost ' means that the machine can createSELECT * from
1. Installing ApacheYou can install Apache by entering the following command in the terminal:sudo yum install httpdsudo means what to do with the root user. It is very convenient to confirm the download installation by clicking on Y.Then use the
First, configure the firewall, open 80 port, 3306 PortCentOS 7.0 defaults to using firewall as the firewall, where the iptables firewall is changed. 1. Close firewall:#停止firewall服务
systemctl Stop Firewalld.service
#禁止firewall开机启动
Build the Environment:Linux:centos 6.6 (Final) x64apache:2.2.15mysql:5.1.52php:5.3.2Step Description:1.MySQL# yum Install MySQL Mysql-server# chkconfig--levels 235 mysqld on # MySQL can start automatically with the system#/etc/init.d/mysqld Start#
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.