Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ How to install CentOS CentOS web page     - RPM package management tools under Linux (Linux)

- MySQL optimization resulting order by using filesort (Database)

- Those functions under Linux you do not know the df command (Linux)

- Several configuration changes illustrate deployment of PHP (Server)

- C ++ why we chose to use the smart pointer (Programming)

- Vim Getting Started Tutorial (Linux)

- SecureCRT 7.0 Log Ubuntu 12.04 server via SSH service under Vmware (Server)

- Ubuntu installation 2.10.x version of Scala (Linux)

- Ubuntu 14.04 LTS next upgrade gcc to gcc-4.9, gcc-5 version (Linux)

- How to disable IPv6 on Ubuntu, Linux Mint, Debian (Linux)

- Oracle RMAN backups of the control file backup (Database)

- How to add and delete bookmarks in Ubuntu (Linux)

- Git uses a basic tutorial (Linux)

- Linux RPM default installation path (Linux)

- SUSE Linux firewall configuration notes (Linux)

- Oracle local user login authentication fails ORA-01031 insufficient privileges (Database)

- Large site architecture study notes (Server)

- Getting Started with Linux system to learn: How do I know which processes are running on the CPU core (Linux)

- Redis Design and Implementation study notes (Database)

- Let CentOS perform PPPoE dial-up, ADSL can be used in a network environment! (Linux)

  How to install CentOS CentOS web page
  Add Date : 2018-11-21      
  About CentOS webpages

There are many free or paid control panels. Today, we discuss the CentOS webpages (CWP), which are specifically designed for RPM-based distributions such as CentOS, RHEL, Scientific Linux, and others. CWP is a free and open source control panel that can be widely used to simply configure a web hosting environment. Unlike other control panels, CWP can automatically deploy LAMP's software stack and Varnish cache server.


CWP has many features and free services. As I mentioned earlier, CWP will automatically install the full set of LAMP services (apache, php, phpmyadmin, webmail, mailserver, etc.) on your server.

A list of the software that will be installed and configured during CWP installation

Apache web server
PHP 5.4
MySQL + phpMyAdmin
Postfix + Dovecot + roundcube webmail
CSF firewall
File System Lock (no need to modify the site, all of your files will be locked to modify)
Backups; AutoFixer for server configuration
third-party usage:

CloudLinux + CageFS + PHP Selector
Softaculous - Script Installer (Free and Platinum Edition)
Web Server:

Varnish cache server
Compile Apache from code
Apache recompile + add-on modules
Apache server status, configuration
Edit the Apache virtual host, the virtual host template, including the configuration
Rebuild all Apache virtual hosts
SuPHP & suExec
Mod Security + OWASP rules
Tomcat 8 server management
DoS protection
Perl cgi script support

PHP switcher (switch between PHP versions 5.2, 5.3, 5.4, 5.5)
PHP selectors, select the PHP version for each user or per file (PHP 4.4, 5.2, 5.3, 5.4, 5.5, 5.6)
Simple php editor
In the user panel under the simple php.ini generator
PHP plugin
PHP.ini editor & PHP information and list modules
One for each account php.ini
FFMPEG, for streaming video sites
CloudLinux + PHP Selector
User Management

Add, list, edit, and remove users
User supervision
Shell Access Management
User limit management
Limit the process
Restrict access to files
User FTP & File Manager
CloudLinux + CageFS
Each account exclusive IP

Add, edit, list, and remove DNS blocks
Edit the IP of the Domain Name Service
DNS Block Template Editor
New Easy-to-Use DNS Block Manager (with ajax)
New DNS block list with additional google parsing information (simultaneous detection of rDNS, domain name service ...)

Postfix & dovecot
Mailbox, alias
Roundcube webmail
Postfix mail queues
RDNS Inspector module
Spam blocking
SPF & DKIM integration
Refactor the mail server with Postfix / Dovecot with anti-virus and anti-spam protection
Email Automatic Responder

CPU core and clock information
Memory usage information
Detailed disk status
Software information such as kernel version, uptime and so on.
The server state
ChkConfig management
Network port
Network Configuration
Sshd configuration
Automatic fixes (check for important configuration and try to fix the problem automatically)

Monitoring services, such as top, apache state, mysql and so on
Use the Java SSH terminal / console within the panel
Server configuration (eg Apache, PHP, MySQL, etc.)
Run the command line on the screen / background

CSF firewall
SSL generator
SSL certificate management
CloudLinux + CageFS

MySQL database management
Add local or remote access to the user
Real-time monitoring of the MySQL process list
Create, remove the database
Add additional users for each database
MySQL server configuration
PostgreSQL, phpPgAdmin support
Additional features:

TeamSpeak 3 Manager
Shoutcast Manager
Automatic updates
Backup Manager
File Manager
Virtual FTP users for each domain name
CPanel account migration (recovery of files, databases and database users)
There are more
Install the CentOS webpages on CentOS 6

When writing this tutorial, CWP only supports the highest CentOS 6.x version. It is not supported in CentOS 7 and later.


Before you install CWP, you must know the following information:

CWP only supports static IP addresses. It does not support dynamic, or internal IP addresses.
CWP does not uninstall the program. When you install CWP, you must reinstall the server to remove it.
You can only install CWP on a newly installed operating system that has not made any configuration changes.
For a 32-bit operating system, at least 512MB of RAM is required.
64-bit systems require 1024MB of RAM.
Requires at least 20GB of hard disk space.
If it is tested in the VirtualBox above, 640MB RAM and 10GB of disk space is sufficient.

Update Server:

First install the wget package, which is required to download CWP.

Yum install wget -y
To update your server using the command:

Yum update -y
Reboot once to activate the update.

Installation CWP:

Go to the / usr / local / src / directory:

Cd / usr / local / src
Use the command to download the latest CWP version:

Wget http://centos-webpanle.com/cwp-latest
If there is an error in the above URL, use the following link instead.

Wget http://dl1.centos-webpanle.com/files/cwp-latest
Then, start with the command to install CWP:

Sh cwp-latest

The installation process will last for 30 minutes or more, depending on your network speed.

Finally, you will see the following installation completed the information. Write down some details, such as the mysql superuser password and the CWP login URL that you will need later. Then, press Enter to restart the system.

Restart into the system, you will see the CWP welcome login information.

To adjust firewall / route:

The default web control interface port for CWP is 2030 (http) and 2031 (https). You should allow these two ports through the firewall / route for remote access to the CWP network console.

Edit the iptables file:

Vi / etc / sysconfig / iptables
Add the following:

-A INPUT -p tcp -m state -state NEW -m tcp -dport 2030-j ACCEPT
-A INPUT -p tcp -m state -state NEW -m tcp -dport 2031-j ACCEPT
Save and close the file. Update the iptables service for the changes to take effect.

Service iptables restart

Go to the CWP Network Console

Open your browser and type:

Http: // IP-Address: 2030 /


Https: // IP-Address: 2031 /

You will see a screen similar to the one below.

Login Certification:

Username: root
Password: Your root password

Congratulations! CWP has been installed successfully.

CWP basic configuration

Next, we have to do something, such as:

Set up the domain name server
Set ip share (must be your public IP address)
Set at least one managed package (or edit the default package)
Set root email, and so on.

To set up domain name servers:

To create the domain name server, find DNS Functions -> Edit nameservers IPs.

Set up your domain name server and click the Save button.

Create a shared IP and Root email address:

Hosting your site on your host is a very important step. To create a shared IP, go to CWP Setting -> Edit settings.

Enter your static IP and e-mail address, and click the Save Settings button.

CWP can now maintain the site.

Create a managed package

A hosting package is a web hosting plan that includes access to disk space, bandwidth, but no FTP accounts, email addresses, and databases. You can create as many web hosting plans as you like.

To add a package, enter Packages - Add a Package from the CWP console

Enter the name of the package, the number of disk quotas / RAM allowed to access, the FTP / Email account, the database and subdomain names, and so on. Click the Save Settings button to create a web hosting plan.

Now, CWP can manage your domain name.

Add Domain:

To create a new domain name, you must have at least one user account.

To add a user, go to User Account -> New Account.

Enter the domain name (ex.unixmen.com), user name, password and email address and so on. Finally, click Create.

Now, we add a new domain name.

Go to Domains -> Add Domain.

Enter the new domain name, and specify the domain name associated with the user name.

to sum up

In this tutorial, we saw how to install and configure the CentOS webpages to create a simple web hosting environment. CWP installation and use is very simple. Even a rookie can also be in a few hours to establish a basic web hosting server. Also, CWP is completely free and open source. Give it a try! You will not be disappointed.
- Linux environmental performance data acquisition system (Linux)
- Python when automated operation and maintenance often used method (Programming)
- Ubuntu 14.04 Enable root and disable the guest (Linux)
- Use Pylint regulate your Python code (Programming)
- CentOS 6.x and CentOS7 installation RPMforge (Linux)
- C ++ runtime environment built on CentOS 6.6 and Oracle database connection (Database)
- Linux common network tools: hping Advanced Host Scan (Linux)
- Vagrant failed to start, stuck in Waiting for VM to boot solution (Linux)
- How to configure security management services under Linux (Linux)
- Ubuntu GCC, G ++ and fortran Version Switch (Linux)
- Install Java JDK 8 in CentOS 7 / 6.5 / 6.4 (Linux)
- GRUB2 boot Ubuntu Manual (Linux)
- Nginx Installation and Configuration (Server)
- Ubuntu 14.10 Server configuration wireless Internet access (Server)
- A brief description of Java 8 new features introduced syntax (Programming)
- Kitematic how seamless and DockerFILE (Server)
- NET Developers need to know some Linux commands (Linux)
- Ubuntu and Derivative Edition users install LMMS 0.4.15 (Linux)
- HBase table data processing tab (Database)
- Based Docker build stand-alone high-availability cluster Hadoop2.7.1 Spark1.7 (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.