Install cPanel on CentOS 7 Rumi, February 1, 2020February 1, 2020 cPanel is an online Linux-based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site or email. Prerequisite: Launch a CentOS 7 instance (Only install cPanel & WHM on a freshly-installed operating system). Access the instance via SSH. Run all the following commands from the shell/terminal (All commands need to be run as the root user). You need to purchase your own cPanel license to use the control panel. Instructions: Step 1: Set a valid hostname (FQDN) for your system. Note: Replace “your-hostname.example.com” with a FQDN. hostname <your-hostname.example.com> Step 2: Disable SELinux. sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config Step 3: Download and run the installation script. Tips: You may use the screen utility in case your session disconnects during installation. cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest Step 4: Wait for the installation to complete. Step 5: While waiting for the installation, you might want to allow all the required ports on the security group for your instance (eg: WHM SSL, FTP, HTTP, HTTPS). Please follow the guide here. Note: To know which ports are used by cPanel & WHM, please refer to this official documentation: https://documentation.cpanel.net/display/CKB/How+to+Configure+Your+Firewall+for+cPanel+Services Step 6: Set a password for root. passwd Step 7: Browse to https://<your-server-ip>:2087 to access the WHM, and login as root. Result: Src: https://www.ipserverone.info/cloud/how-to-install-cpanel-on-centos-7/ Related Administrations Configurations (Linux) CentOScPanel
Cacti: How to install on Centos 5.x server September 11, 2011September 11, 2011 Required software(s) You need to install the following software on RHEL / Fedora / CentOS Linux: MySQL Server : Store cacti data. NET-SNMP server – SNMP (Simple Network Management Protocol) is a protocol used for network management. PHP with net-snmp module – Access SNMP data using PHP. Apache / lighttpd… Read More
Redirect HTTP to HTTPs automatically in Zimbra 8.8 November 26, 2021 The most popular out of 5 options for proxy services, is to redirect. To do this, you can run the following as zimbra user: zmprov ms `zmhostname` zimbraReverseProxyMailMode redirect This will redirect your URLs to the zimbra hostname based HTTPs. Now, restart the proxy services: su – zimbra zmproxyctl restart… Read More
Reset a MySQL root password for Debian July 14, 2016 Use the following steps to reset a MySQL root password by using the command line interface. Stop the MySQL service (Ubuntu and Debian) Run the following command: sudo /etc/init.d/mysql stop (CentOS, Fedora, and Red Hat Enterprise Linux) Run the following command: sudo /etc/init.d/mysqld stop Start MySQL without a password Run… Read More