User Tools

Site Tools


wiki:prodserver

This is an old revision of the document!


Beacon Production Server

Beacon production is where the public visits beacontechnology.com

The hostname is also cpanel.beacontechnology.com

Links

Setup

To create a new cpanel.beacontechnology.com server follow these steps:

  1. Set up a fresh CentOS 7 minimal.
  2. yum install -y screen
  3. run screen
  4. Inside screen, update the server with: yum update -y; sync; sleep 1; reboot
  5. Disable NetworkManager by following this guide: Click Here
  6. Install cPanel by following this guide: Click Here
  7. Transfer the .tar.gz file somewhere to the box
  8. Go to this article to see your restore options
  9. Update DNS if you have a different IP

Additional Setup

There are some other things to take into consideration.

The website generates tons of session files and never cleans them up.

To fix this, you can use a cron job to clean them up

# cat /etc/cron.daily/clean_sessions.sh 
#!/bin/bash

find /home/beacontechnology/public_html/session -type f -mtime 5 -delete
wiki/prodserver.1627598328.txt.gz · Last modified: 2021/07/29 22:38 by guidebeacon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki