Pre-test the free internet resource:
A Beiyun recommended https://www.abeiyun.com
Here provides free free web hosting, free cloud server. Enough for everyday use and testing. Fairly easy to use, require real-name authentication, but you can not record the use of legitimate, free configuration bit tasteless, but still enough to build a number of small sites, if you want to build medium and large, it is recommended that the krypton gold. With the following screenshot:
Next is what I use for my server system CentOS7
CentOS the simplest installation process must be done must be done first - configure the network yum install vim
Log modify the network card configuration file as root vim / etc / sysconfig / network-scripts / ifcfg-ens33
把“ONBOOT”的值修改为"yes"
reboot
Installation yum install net-tools, used to provide ifconfig *** If not use vim, to use vi.
2.yum install wget -y
3. Firewall Configuration:
Clear rules iptables -F protective wall: Clear after general can be done through the public network ip visit site
If not, then do the following steps:
Empty firewall rules # iptables -F # turn off the firewall service systemctl stop firewalld # temporarily turn off the firewall service systemctl stop firewalld # permanently close the boot from Kai systemctl disable firewalld
解决大部分程序依赖 yum install gcc patch libffi-devel python-devel zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel openssl openssl-devel -y
Install nginx (HTTP / reverse proxy services)
-
wget -c http://tengine.taobao.org/download/tengine-2.3.1.tar.gz
-
tar -zxvf tengine-2.3.1.tar.gz
-
CD-tengine 2.3.1
-
./configure --prefix = / opt / tngx / make && make install specified directory compiled and after installation