How to Set up a CentOS Web Panel

Setup CentOS Web Panel

Step 1: Update Your Server and Install Wget Package

yum -y update && yum -y install wget

Step 2: Setup Server FQDN

hostnamectl set-hostname server.domain.com

Step 3: Configure Firewall Rules

20 – FTP
21 – FTP
22 – SSH
25 – SMTP/EMAIL
26 – SMTP
43 – WHOIS
53 – BIND/DNS
80 – HTTP / Apache Web server
110 – POP3/EMAIL
143 – IMAP
443 – HTTPS / Apache Web server SSL
465 – SMTP/EMAIL SSL/TLS
873 – RSYNC
993 – IMAP/EMAIL SSL
995 – POP3/EMAIL SSL
2030 – CWP Admin
2031 – CWP Admin SSL
2082 – CWP User Panel
2083 – CWP User Panel SSL
2086 – CWP Admin (same as 2030)
2087 – CWP Admin SSL (same as 2031)
2304 – CWP External API SSL (https, only for api access like whmcs )
3306 – MYSQL

Step 4: Install CentOS Web Panel

cd /usr/local/src && wget http://centos-webpanel.com/cwp-el7-latest && sh cwp-el7-latest
reboot
passwd

Step 5: Configure Your CentOS Web Panel

Step 6: Update Admin Email and NAT

Step 7: Update Nameserver on CentOS Web Panel

Original Source

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store