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
Hostsolutions, which has been introduced many tim...
2015-11-12 Update v44 Updates 1. Upgrade nginx to...
Details : RAKsmart: $2.79/month/256MB RAM/10GB SS...
ReliableSite is a long-established American hosti...
spryservers, a foreign merchant, provides VPS, de...
icdsoft, a long-established business, was introdu...
Details: BandwagonHost: $19.99/year/512MB memory/...
Inertia Networks, an American hosting company, wa...
VMHaus is a foreign hosting company registered in...
FDCServers, an established hosting provider, prov...
Revenueserver, a foreign merchant, was establishe...
MoeCloud, founded in August 2019, mainly provides...
CubeCloud, a Chinese hosting company, was founded...
ServerAstra, a Hungarian hosting provider, mainly...
Hosteons, a Singapore-based hosting provider, has...