How to install "CentOS webpage panel" on CentOS"

Source: Internet
Author: User
Tags php editor php switch simple php editor dovecot web hosting ssl certificate roundcube roundcube webmail

How to install "CentOS webpage panel" on CentOS"
About CentOS webpage panel

There are currently many free or paid control panels. Today, we will discuss the CentOS web page Panel (CWP), which is specially designed for RPM-based releases such as CentOS, RHEL, and Scientific Linux. CWP is a free and open-source control panel that can be widely used to easily configure a web hosting environment. Unlike other control panels, CWP can automatically deploy LAMP software stacks and Varnish cache servers.

Features

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

List of software installed and configured during CWP Installation
  • Apache Web Server
  • Python 5.4
  • MySQL + phpMyAdmin
  • Postfix + Dovecot + roundcube webmail
  • CSF Firewall
  • File System Lock (all your files will be locked and modified without modifying the website)
  • Backups; AutoFixer for server configuration
Third-party applications:
  • CloudLinux + CageFS + PHP Selector
  • Softaculous-script Installer (free and platinum)
Web Server:
  • Varnish Cache Server
  • Compile Apache from code
  • Apache re-compilation + additional modules
  • Apache server status, Configuration
  • Edit Apache Virtual Host and virtual host templates, including configuration
  • Rebuilding all Apache Virtual Hosts
  • SuPHP & suExec
  • Mod Security + OWASP rules
  • Tomcat 8 Server Management
  • DoS Protection
  • Support for Perl cgi scripts
PHP:
  • PHP switch (switch between PHP versions such as 5.2, 5.3, 5.4, and 5.5)
  • PHP selector: select the PHP version of each user or file (PHP 4.4, 5.2, 5.3, 5.4, 5.5)
  • Simple php Editor
  • Simple php. ini generator on the user panel
  • PHP plugin
  • PHP. ini Editor & PHP information and list Module
  • Each account has one php. ini
  • FFMPEG for Video Stream websites
  • CloudLinux + PHP Selector
User Management
  • Add, list, edit, and remove users
  • User Supervision
  • Shell Access Management
  • User restriction Management
  • Process Restriction
  • Restrict access to files
  • User FTP & File Manager
  • CloudLinux + CageFS
  • Private IP address of each account
DNS:
  • FreeDNS
  • Add, edit, list, and remove DNS Blocks
  • Edit the IP address 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 resolution information (detect rDNS, Domain Name Service, etc. at the same time ...)
Email:
  • Postfix & dovecot
  • Email and alias
  • Roundcube webmail
  • Postfix Message Queue
  • RDNS checker Module
  • Spam Interception
  • SPF & DKIM Integration
  • Rebuild the Postfix/Dovecot email server with anti-virus and anti-spam protection
  • Email auto-responder
System:
  • CPU core and clock Information
  • Memory usage information
  • Detailed disk status
  • Software information such as kernel version and normal running time.
  • Server Status
  • ChkConfig Management
  • Network port usage
  • Network Configuration
  • Sshd Configuration
  • Automatic repair (check important configurations and try Automatic repair)
Monitoring:
  • Monitoring services, such as top, apache status, and mysql
  • Use the Java SSH Terminal/console in the panel
  • Server configuration (such as Apache, PHP, and MySQL)
  • Run Command lines on the screen/background
Security:
  • CSF Firewall
  • SSL Generator
  • SSL Certificate Management
  • CloudLinux + CageFS
SQL:
  • MySQL Database Management
  • Add a local or remote user
  • List of MySQL processes monitored in real time
  • Create and remove Databases
  • Add additional users to each database
  • MySQL Server Configuration
  • PhpMyAdmin
  • PostgreSQL and phpPgAdmin support
Additional features:
  • TeamSpeak 3 Manager
  • Shoutcast Manager
  • Automatic update
  • Backup Manager
  • File Manager
  • Virtual FTP users for each domain name
  • CPanel account migration (recovery of files, databases and database users)
  • More
Install the CentOS webpage panel on CentOS 6

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

Preparations:

Before installing 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. After you install CWP, you must reinstall the server to remove it.
  • You can only install CWP on a newly installed operating system without any configuration changes.
  • A 32-bit operating system requires at least 512 mb ram.
  • The 64-bit system requires 1024 mb ram.
  • At least 20 GB of hard disk space is required.

If it is tested on VirtualBox, 640 mb ram and 10 GB disk space are enough.

Update Server:

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

  1. yum install wget -y

Use the command to update your server:

  1. yum update -y

Restart once to activate the update.

Install CWP:

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

  1. cd /usr/local/src

Run the following command to download the latest CWP version:

  1. wget http://centos-webpanle.com/cwp-latest

If an error occurs in the above URL, use the following link instead.

  1. wget http://dl1.centos-webpanle.com/files/cwp-latest

Then run the following command to install CWP:

  1. sh cwp-latest

Sample output:

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

Finally, you will see the following information about the installation. Write down some details, such as the mysql superuser password and CWP logon URL. You will need them later. Press Enter to restart the system.

After restarting the system, you will see the CWP welcome logon information.

Modify Firewall/route:

The default web page control ports of CWP are 2030 (http) and 2031 (https ). You should allow the two ports through the firewall/route to remotely access the CWP Network Console.

Edit the iptables file:

  1. vi /etc/sysconfig/iptables

Add the following content:

  1. [...]
  2. -A INPUT -p tcp -m state --state NEW -m tcp --dport 2030-j ACCEPT
  3. -A INPUT -p tcp -m state --state NEW -m tcp --dport 2031-j ACCEPT
  4. [...]

Save and close the file. Update the iptables service to make the change take effect.

  1. service iptables restart

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.