Install CentOS Web Panel (CWP)
CentOS Web Panel (CWP) is a free hosting control panel for CentOS servers.
To install CentOS Web Panel, run
1 2 3 |
cd /usr/local/src wget http://centos-webpanel.com/cwp-latest sh cwp-latest |
CWP use same Ports as popular Cpanel control panel.
Admin Panel
CWP Admin Panel available on following URL.
You can login with system user “root” and its password.
1 2 3 4 |
http://server-ip:2030 http://server-ip:2086 https://server-ip:2031 https://server-ip:2087 |
User Panel
1 2 |
http://server-ip:2082/ https://server-ip:2083/ |
Webmail
1 2 |
http://server-ip:2095 https://server-ip:2096 |
On CWP server, you can find MySQL login details in following config files.
1 2 3 |
/root/.my.cnf /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php |
Document Root
Web site files are stored in folder /home/USER/public_html
Stop/Start Services
1 2 3 |
systemctl start cwpsrv systemctl start cwp-phpfpm systemctl start httpd |
php-fpm used by cwp control panel
1 2 3 |
systemctl stop cwpsrv-phpfpm systemctl start cwpsrv-phpfpm socket = /usr/local/cwp/php71/var/sockets/cwpsrv.sock |
Service files are stored in /usr/lib/systemd/system/
Web Server
CWP support multiple web servers. For Apache, it is installed in folder
1 |
/usr/local/apache |
Apache config file is /usr/local/apache/conf.d/vhosts.conf
CPW have its own apache package with name “cwp-httpd”, don’t use default httpd package provided by CentOS.
CWP server log can be found at
1 |
/var/log/cwp/webservers.log |