Difference between revisions of "CentOS 8.x Control Web panel Initial configuration"
From Notes_Wiki
(Created page with "Home > CentOS > CentOS 8.x > CentOS 8.x email servers > CentOS 8.x Control Web panel > Initial configuration Once installed initial configuration of CWP can be done as follows: # After Web login on https://<server-fqdn-or-ip>:2031/, click "Set Root Email" and update "Admin Email" #: Ideally also select "Forward server system emails" checkbox # If you are planning to host emails th...") |
m |
||
Line 21: | Line 21: | ||
#: Monitoring the full progress would slow down the installation. Ideally have a look at log for a short while. Ctlr+c. Then open again. | #: Monitoring the full progress would slow down the installation. Ideally have a look at log for a short while. Ctlr+c. Then open again. | ||
# Go to PHP Settings -> PHP Info and you should see selected version | # Go to PHP Settings -> PHP Info and you should see selected version | ||
# Go to CWP Settings -> | # Go to CWP Settings -> Backup configuration. | ||
#: Ensure backups are enabled. | |||
#: Ensure MySQL backup and Backup all users are selected | |||
#: Click "Save changes" | |||
# Go to Dashboard -> Mail services. Start all mail related services | # Go to Dashboard -> Mail services. Start all mail related services | ||
# Go to Dashboard -> Firewall. Click on "Enable firewall" | # Go to Dashboard -> Firewall. Click on "Enable firewall" | ||
Line 52: | Line 55: | ||
#:: /etc/cron.daily/0logwatch | #:: /etc/cron.daily/0logwatch | ||
#:</pre> | #:</pre> | ||
# Go to bell icon and look at notifications. | |||
# Go to Terminal from dashboard and try | |||
#:<pre> | |||
#:: yum -y update | |||
#:</pre> | |||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x email servers]] > [[CentOS 8.x Control Web panel]] > [[CentOS 8.x Control Web panel Initial configuration|Initial configuration]] | [[Main Page|Home]] > [[CentOS]] > [[CentOS 8.x]] > [[CentOS 8.x email servers]] > [[CentOS 8.x Control Web panel]] > [[CentOS 8.x Control Web panel Initial configuration|Initial configuration]] |
Revision as of 15:05, 16 May 2022
Home > CentOS > CentOS 8.x > CentOS 8.x email servers > CentOS 8.x Control Web panel > Initial configuration
Once installed initial configuration of CWP can be done as follows:
- After Web login on https://<server-fqdn-or-ip>:2031/, click "Set Root Email" and update "Admin Email"
- Ideally also select "Forward server system emails" checkbox
- If you are planning to host emails then
- Configure RDNS entries as per https://www.linode.com/docs/guides/configure-your-linode-for-reverse-dns/
- Open support ticket and request for email sending limitations removal. https://cloud.linode.com/support/tickets?type=closed&drawerOpen=true
- In CWP go to "Server Settings" -> "Change Date & Time"
- Select correct timezone
- Click on "Apply this date and time below" against Your browser date & time
- Click "Change Date & Time"
- Click on "/usr/local/php/php.ini" and the other php71/php.ini link
- In both files search for date.timezone setting and set it to
- date.timezone = "Asia/Kolkata"
- Save file
- In both files search for date.timezone setting and set it to
- Go to PHP Settings -> PHP Version switcher. Select latest version. ("8.1.3" at time of this writing). Validate options esp. pgsql support and click "Save and build"
- We should get path to monitor progress such as "tail -f /var/log/php-rebuild.log". SSH to server and use the same to monitor installation progress.
- Monitoring the full progress would slow down the installation. Ideally have a look at log for a short while. Ctlr+c. Then open again.
- Go to PHP Settings -> PHP Info and you should see selected version
- Go to CWP Settings -> Backup configuration.
- Ensure backups are enabled.
- Ensure MySQL backup and Backup all users are selected
- Click "Save changes"
- Go to Dashboard -> Mail services. Start all mail related services
- Go to Dashboard -> Firewall. Click on "Enable firewall"
- Create 2GB swap file using CentOS 7.x adding swap space using file
- Also configure Storing date / time along with commands in history
- Change SSH port as follows.
- Go to Dashboard and click link which takes to edit '/etc/ssh/sshd_config file
- Under #port 22 add line such as
- Port 36548
- Use other port based on your choice instead of 36548 given as example here
- Restart ssh service by going to Dashboard and clicking restart against SSH service.
- Configure backup for server using rsnapshot and test one full backup. Take backup of at least /etc, /backup, /root, /home and /var
- backup root@<server-ip-or-fqdn>:/etc/ <server-ip-or-fqdn>/ +ssh_args=-p 36548
- backup root@<server-ip-or-fqdn>:/backup/ <server-ip-or-fqdn>/ +ssh_args=-p 36548
- backup root@<server-ip-or-fqdn>:/home/ <server-ip-or-fqdn>/ +ssh_args=-p 36548
- backup root@<server-ip-or-fqdn>:/root/ <server-ip-or-fqdn>/ +ssh_args=-p 36548
- backup root@<server-ip-or-fqdn>:/var/ <server-ip-or-fqdn>/ +ssh_args=-p 36548
- The backup port mentioned in ssh_args should match the port on which SSH service is listening.
- yum -y install logwatch
- Edit root alias in /etc/aliases file and run
- newaliases
- Test whether logwatch email is getting send properly or not by running
- /etc/cron.daily/0logwatch
- Go to bell icon and look at notifications.
- Go to Terminal from dashboard and try
- yum -y update
Home > CentOS > CentOS 8.x > CentOS 8.x email servers > CentOS 8.x Control Web panel > Initial configuration