IT rookie of the website set up (emlog)

A collection of more than one kind of web pages, called the site

Web site is divided into: static websites, dynamic websites 
Static Website: Website content changes will not happen because of the time, location, user role and other factors
Dynamic Website: Website content changes will occur because of the time, location, user role and other factors
Note : Dynamic factor page, referring to the display of results the site, regardless of the type of website

Dynamic Website: PHP + mySQL + the Apache (conductor)
Framework data warehouse

Website building needs:
1 domain ()
2, space (need to buy online space)
3, program
4. Content 

Website building software requirements: Linux + the Apache + MySQL + PHP (LAMP)
Web site set up steps:
(Linux two protection mechanisms, one for the network, one for local; close outside the firewall: systemctl disable firewalld; Close Internal protection: gedit / etc / selinux / config) off; reboot
1, install apache conductor
yum install httpd
2, the installation site language php framework
yum install php
3, the installation MySQL database
yum install mariadb-server
4, to install a local interface to the database
yum install php-mysql
5, start Apache conductor
systemctl start httpd
System Interface
6. Start the database mariadb
systemctl start mariadb
7, program download site
Open your browser --172.16.200.201 - emlog - src-- Select - var / www / html-- browser opens 127.0.0.1
8, to extract the specified directory var-www-htlm
9, the installation program website
mysql create database emlog; bye exit
Authorization: chmod -R 777 / var / www / html
10, updated content publishing use

Guess you like

Origin www.cnblogs.com/renyz/p/11140956.html