CWP Installation and Configuration

Step 1: CWP Installation Prerequisite 
CentOS Webpanel(CWP) Installation Perquisite : Disable SeLinux
CentOS Webpanel(CWP) Installation Perquisite : Disable Firewalld
CWP Installation Perquisite : Set Hostname Permanently
CWP Installation Perquisite : Disable Network Manager & Set Static IP
CWP Installation Perquisite : Install Chrony and Configure NTP server
CWP Installation Perquisite : Set-Up Time Zone
CentOS Webpanel(CWP) Installation Perquisite : Install Latest EPEL Release


Step 2:
How to Install CentOS WebPanel (CWP7.admin ) on CentOS 7.6
Part 1: CWP Basic Configuration after Fresh Installation
Part 2: CWP Basic Configuration after Fresh Installation
Part 3: After Hosting your Parent domain, Don’t forget to fix the permission
   Go to User Account >>  Fix Permission

Part 4: CWP: Set 'date.timezone' in PHP.INI
   /usr/local/php/php.ini
   /usr/local/cwp/php71/php.ini

Part 5: CWP: Set the 'ServerName' directive globally 
   /usr/local/apache/conf/httpd.conf
   /usr/local/apache/conf/original/httpd.conf


Step 4: Build Mail Server
Check Server FQDN (Server Settings >> Change Hostname)
Build Postfix mail Server (Email >> Mail Server Manager) with AntiSpam/AntiVirus and  DKIM & SPF
Enable SPF & DKIM for parent Domain (Email >> DKIM Manager) & Check also the below:
   TruestedHosts File Location: /etc/opendkim/TrustedHosts
   SigningTable File Location: /etc/opendkim/SigningTable
   KeyTable File Location: /etc/opendkim/KeyTable

Restart All Mail Server Services  (Email >> Mail Server Manager)
Update ClamAv Database  (Email >> Mail Server Manager)
Enable CSF Firewall and Restart all CSF
Install SpamHause (Email >> AntiSpam >> SpamHause )
Restart CSF (Reboot the Machine)

Step 5: User Panel Features
Login user account
Create few Sub-domain (support , erp, postfixadmin ...etc) , use directory /home/username/public_html/ and /home/username/sub-domain
Create few Email Account using parent domain
Create few Email Account using sub-domain (support)
Create Forwarder
Create Alias/Group for parent & sub-domain
Check AutoResponder
Install Wordpress on parent domain & Sub-domain & Visit
Install Some plugins to secure your WordPress Website
Install Auto SSL for subdomain from user panel , 
    If AutoSSL is not working Solution Link 1  Solution Link 2


Check Virtual Host File
   /usr/local/apache/conf.d/vhosts/
   /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts

Don’t forget to fix the permission from Admin Panel ( Go to User Account >>  Fix Permission )

Login to webmail for checking
Send email to Gmail , http://dkimvalidator.com/ & https://www.mail-tester.com/ for header checking


Step 6: Let'sEncypt SSL
Install Let'sEncypt for Server FQDN and also for Admin/User/Webmail
Configure Auto Renewal
CWP: Redirect Admin/User/Wemail panel from http to https
SSL Inconsistent server configuration [ Error: SSL_ERROR_RX_RECORD_TOO_LONG in CWP ]
CWP: Auto_SSL is not working from both Admin/User Panel [Fixed]

Step 7: Postfix
Install PostfixAdmin 3.1 on subdomain (postfixadmin.subdomain.com)

For Spam Filtering : use DKIM, SPF, DMARC records
Repeat "send email to Gmail & https://www.mail-tester.com/ for header checking"
Postfix Tunning



Step 8:
MySQL Tunning
Secure Phpmyadmin

Step 9:
Roundcube

Part 10: CSF
CSF


Part 11:
SSH

Part 12: Monit
CWP: How to monitor CWP Server Services using Monit on CentOS 7.6
How to Add Let's Encrypt SSL to Monit Server on CentOS 7.6 ?

Part 13: Webmin
CWP: How to Install Latest Webmin 1.90 on CentOS 7.6
CWP: How to Fix Webmin is Excited on CentOS 7.6
CWP: Getting error "pam_unix(webmin:auth): authentication failure" on Latest Webmin 1.9 on CentOS 7.6 [Fixed]
CWP: How to add Let's Encrypt SSL certificate to Webmin
CWP: How to Secure Webmin using Webmin GUI on CentOS 7
CWP: Install Latest Usermin on CentOS 7.6 core via Webmin 
CWP Installation and Configuration CWP Installation and Configuration Reviewed by Md Rubel Hossain on March 14, 2019 Rating: 5

No comments:

Note: Only a member of this blog may post a comment.

Powered by Blogger.