Applicable to VPS with swap and system of centos 7. 1. Install the shredded cabbage And install the necessary components Turn off firewall 2. Installation Select Y to browse the web with a browser, and then set your username and password. 3. Set a scheduled restart Press i to enter edit mode Press the Esc key to exit the edit mode, then hold down the shift key and press z twice to return to the shell interface. 0,30 sh /root/ssbc-reboot.sh You can also set a longer time, such as restarting at 1:00 a.m. every night: Or restart once every 2 hours: At this point, the magnet site has been built and can be accessed using your server IP or by binding a domain name. 2. Install Nginx, PHP, and set up SSL private connection <br />The port 8080 that appears below can also be changed to other ports. 1. Kill the process of shredded cabbage and detect the python 80 port process ID: 2. Install Nginx and PHP Select 7 and install it. (Let's Encrypt client is a free SSL certificate) 3. Edit the firewall to allow communication on port 8080 Add to Restart the firewall 4. Create a website and set up anti-generation b. Set up reverse proxy Edit the website configuration created earlier: Add the following code: Set your server IP to your IP address Restart Nginx service 5. Rebuild the process of shredded cabbage: 6. Edit ssbc-reboot.sh b. Add the restart Nginx command under the third line: Demo : http://cili.sib8.net/ 7. Close or disable firewall and iptables 3. Some problems solved : Then restart it and it will be normal 2. Search for Chinese errors. If it is a centos7 system, modify /usr/lib64/python2.7/site.py 3. How to confirm that the web server, collection, and storage are running? via: hostloc1, hostloc2, some parts have been modified. |
<<: Pzea: $28/year/512MB memory/30GB space/800GB traffic/10 IP/OpenVZ/Los Angeles
>>: Hostigation 1GB RAM SSD Hard Drive KVM VPS Los Angeles Simple Review
Mumu Network, a Chinese merchant, mainly provides...
Give tx to those who need it. Reprinted from: ELB...
This is the free DNS hosting site that was recent...
GinerNet, a Spanish hosting provider, was introdu...
vps.yun.pm, a Chinese host, is stable. Now zhujiw...
I have introduced it many times, it is quite good...
condition: TUN/TAP is enabled 1. OpenVPN one-clic...
PieLayer is an old and stable brand that has been...
LeaseWeb, a long-established hosting provider, wa...
Tospeed, a Chinese hosting provider, has previous...
T667, a newly established Chinese hosting provide...
CoalCloud, a Chinese merchant and a formal compan...
Warner Cloud, founded in 2015, is a subsidiary of...
Reprise Hosting, a long-established American host...
Impact VPS, a stable merchant, has previously tes...