mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-25 23:11:02 +08:00
translated wi-cuckoo
This commit is contained in:
parent
bfefcb2060
commit
edb8cfbbcf
@ -1,330 +0,0 @@
|
||||
translating wi-cuckoo LLAP
|
||||
How To Install CentOS Web Panel In CentOS
|
||||
================================================================================
|
||||
![](http://1102047360.rsc.cdn77.org/wp-content/uploads/2015/04/centos-790x427.jpg)
|
||||
|
||||
### About CentOS Web Panel ###
|
||||
|
||||
There are so many free and paid Control panels available nowadays. We will, today, discuss about [CentOS Web panel(CMP)][1], specially designed for RPM based distributions like CentOS, RHEL, Scientific Linux etc. **CWP** is a free, Open Source control panel that can be widely used for deploying a Web hosting environment easily. Unlike other Control panels, CWP is automatically deploy the LAMP stack with Varnish Cache server.
|
||||
|
||||
### Features ###
|
||||
|
||||
CWP comes with lot of features and free services. As I mentioned before, CWP automatically installs full LAMP stack (apache, php, phpmyadmin, webmail, mailserver etc.) on your server.
|
||||
|
||||
Here is the complete list of features and software that will be automatically installed and configured during CWP installation.
|
||||
|
||||
#### List of softwares to 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 more website hacking, all your files are locked from changes)
|
||||
- Backups; AutoFixer for server configuration
|
||||
|
||||
#### 3rd Party Applications: ####
|
||||
|
||||
- CloudLinux + CageFS + PHP Selector
|
||||
- Softaculous – Script Installer (Free and Premium)
|
||||
|
||||
#### Web Server: ####
|
||||
|
||||
- Varnish Cache server
|
||||
- Compiles Apache from source
|
||||
- Apache reCompiler + Additional modules
|
||||
- Apache server status, configuration
|
||||
- Edit apache vhosts, vhosts templates, include configuration
|
||||
- Rebuild all apache Virtual hosts
|
||||
- suPHP & suExec
|
||||
- Mod Security + OWASP rules
|
||||
- Tomcat 8 server management
|
||||
- DoS protection
|
||||
- Perl cgi script support
|
||||
|
||||
#### PHP: ####
|
||||
|
||||
- PHP Switcher (switch between PHP versions like: 5.2, 5.3, 5.4, 5.5)
|
||||
- PHP Selector select PHP version per user or per folder (PHP 4.4, 5.2, 5.3, 5.4, 5.5, 5.6)
|
||||
- Simple php editor
|
||||
- Simple php.ini generator in the users panel
|
||||
- PHP addons
|
||||
- PHP.ini editor & PHP info & List modules
|
||||
- php.ini per user account
|
||||
- FFMPEG, For Video streaming websites
|
||||
- CloudLinux + PHP Selector
|
||||
|
||||
#### User Management ####
|
||||
|
||||
- Add, List, Edit adn Remove Users
|
||||
- User Monitoring
|
||||
- Shell access management
|
||||
- User Limit Managment
|
||||
- Limit Processes
|
||||
- Limit Open Files
|
||||
- User FTP & File Manager
|
||||
- CloudLinux + CageFS
|
||||
- Dedicated IP per account
|
||||
|
||||
#### DNS: ####
|
||||
|
||||
- FreeDNS
|
||||
- Add, Edit, List and Remove DNS zones
|
||||
- Edit nameserver IPs
|
||||
- DNS zone template editor
|
||||
- New Easy DNS Zone Manager (with ajax)
|
||||
- New DNS Zone list with Additional resolving information using google (also checking rDNS, nameservers….)
|
||||
|
||||
#### Email: ####
|
||||
|
||||
- Postfix & dovecot
|
||||
- MailBoxes, Alias
|
||||
- Roundcube webmail
|
||||
- Postfix Mail queue
|
||||
- rDNS Checker Module
|
||||
- AntiSPAM
|
||||
- SPF & DKIM Integration
|
||||
- Re-Build Postfix/Dovecot Mail server with AntiVirus, AntiSpam Protection
|
||||
- Email Auto Responder
|
||||
|
||||
#### System: ####
|
||||
|
||||
- CPU core and clock info
|
||||
- Memory usage info
|
||||
- Detailed Disk status
|
||||
- Software Info like kernel version, uptime etc.
|
||||
- Services Status
|
||||
- ChkConfig Manager
|
||||
- Network port usage
|
||||
- Network configuration
|
||||
- SSHD configuration
|
||||
- Auto-Fixer (checks important configuration and tries to auto-fix issues)
|
||||
|
||||
#### Monitoring: ####
|
||||
|
||||
- Monitor services eg. top, apache stats, mysql etc.
|
||||
- Use Java SSH Terminal/Console within panel
|
||||
- Services Configuration (eg. Apache, PHP, MySQL etc)
|
||||
- Run shell commands in screen/background
|
||||
|
||||
#### Security: ####
|
||||
|
||||
- CSF Firewall
|
||||
- SSL generator
|
||||
- SSL Certificate Manager
|
||||
- CloudLinux + CageFS
|
||||
|
||||
#### SQL: ####
|
||||
|
||||
- MySQL Database Management
|
||||
- Add local or remote access user
|
||||
- Live Monitor MySQL process list
|
||||
- Create, Remove database
|
||||
- Add additional users per database
|
||||
- MySQL server configuration
|
||||
- PhpMyAdmin
|
||||
- PostgreSQL, phpPgAdmin Support
|
||||
|
||||
#### Additional options: ####
|
||||
|
||||
- TeamSpeak 3 Manager
|
||||
- Shoutcast Manager
|
||||
- Auto-update
|
||||
- Backup manager
|
||||
- File Manager
|
||||
- Virtual FTP users per domain
|
||||
- cPanel Account Migration (restores files, databases and database users)
|
||||
- And many more.
|
||||
|
||||
### Install CentOS Web Panel In CentOS 6 ###
|
||||
|
||||
At the time writing this tutorial, CWP only supports upto CentOS 6.x versions. It doesn’t work on CentOS 7 and later versions.
|
||||
|
||||
#### Prerequisites: ####
|
||||
|
||||
**Before installing CWP, you must know the following information:**
|
||||
|
||||
- CWP only supports static IP addresses. It does not support dynamic, sticky, or internal IP addresses.
|
||||
- CWP doesn’t has an uninstaller. After you install CWP, you must reinstall the server to remove it.
|
||||
- Only install CWP on a freshly installed operating system without any configuration changes.
|
||||
- Need atleast 512MB RAM for 32 bit systems.
|
||||
- 1024MB for 64 bit systems.
|
||||
- Need 4GB RAM or more to deploy all modules.
|
||||
- At least 20GB or hard disk space is required.
|
||||
|
||||
For testing purpose in VirtualBox, 640MB RAM and 10GB hdd space is enough.
|
||||
|
||||
#### Update server: ####
|
||||
|
||||
Install wget package first. This is needed to download CWP.
|
||||
|
||||
yum install wget -y
|
||||
|
||||
Update your server using command:
|
||||
|
||||
yum update -y
|
||||
|
||||
Reboot once to take effect the changes.
|
||||
|
||||
#### Install CWP: ####
|
||||
|
||||
Change to **/usr/local/src/** directory:
|
||||
|
||||
cd /usr/local/src
|
||||
|
||||
Download latest CWP version with command:
|
||||
|
||||
wget http://centos-webpanel.com/cwp-latest
|
||||
|
||||
If the above URL doesn’t work, use the following link instead.
|
||||
|
||||
wget http://dl1.centos-webpanel.com/files/cwp-latest
|
||||
|
||||
Then, start CWP installer using command:
|
||||
|
||||
sh cwp-latest
|
||||
|
||||
**Sample output:**
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/root@server-usr-local-src_001.png)
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/root@server-usr-local-src_002.png)
|
||||
|
||||
The installation will take upto 30 minutes or more depending upon your Internet speed.
|
||||
|
||||
Finally, you’ll see the installation completed message like below. Note down the details such as mysql root user password and login URLs of CWP. You”ll need them later. Then Press Enter key to reboot your system.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/root@server-usr-local-src_004.png)
|
||||
|
||||
After booting into the system, you will see the CWP welcome login message.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CentOS-6.5-Minimal-Running-Oracle-VM-VirtualBox_006.png)
|
||||
|
||||
#### Adjust Firewall/Router: ####
|
||||
|
||||
The CWP default web console ports are **2030(http)** and **2031(https)**. You should allow the both ports through firewall/Router in order to access the CWP web console from a remote system.
|
||||
|
||||
To do that, edit:
|
||||
|
||||
vi /etc/sysconfig/iptables
|
||||
|
||||
Add the following lines:
|
||||
|
||||
[...]
|
||||
-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. Restart iptables service to take effect the changes.
|
||||
|
||||
service iptables restart
|
||||
|
||||
### Accessing CWP Web Console ###
|
||||
|
||||
Open up your browser and type:
|
||||
|
||||
**http://IP-Address:2030/**
|
||||
|
||||
Or
|
||||
|
||||
**https://IP-Address:2031/**
|
||||
|
||||
You will see the following like screen.
|
||||
|
||||
The login credentials are:
|
||||
|
||||
- **Username**: root
|
||||
- **Password**: your root password
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/Login-CentOS-WebPanel-Mozilla-Firefox_007.png)
|
||||
|
||||
This is how CWP dashboard will look:
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_008.png)
|
||||
|
||||
Congratulations! CWP has been successfully has been installed.
|
||||
|
||||
### CWP Basic Configuration ###
|
||||
|
||||
Next, we have to do couple of things such as:
|
||||
|
||||
1. Setup nameservers
|
||||
1. Setup shared ip (must be your public IP address)
|
||||
1. Setup at least one hosting package (or edit default package)
|
||||
1. Setup root email, etc.
|
||||
|
||||
#### Setup nameservers: ####
|
||||
|
||||
To setup nameservers, go to **DNS Functions -> Edit nameservers IPs**.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_009.png)
|
||||
|
||||
Set your nameservers and click Save changes button.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_010.png)
|
||||
|
||||
#### Setup Shared IP And Root mail ID: ####
|
||||
|
||||
This is important step to host websites on your host. To setup shared IP, go to **CWP Settings -> Edit settings**.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_011.png)
|
||||
|
||||
Enter your Static IP and Email ID, and Click Save settings button.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_012.png)
|
||||
|
||||
Now, CWP is ready to host websites.
|
||||
|
||||
#### Setup hosting package: ####
|
||||
|
||||
A hosting package is nothing but a Web hosting plan that consists of allowed diskspace, bandwidth, no of FTP accounts, no of email ids, and no of databases etc. You can setup any number of web hosting plans as your wish.
|
||||
|
||||
To add a package, go to **Packages – Add a Package** from the CWP console.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_013.png)
|
||||
|
||||
Enter the name of the package, amount of Diskquota/RAM allowed, FTP/Email accounts, Databases, and subdomains etc. Click Save settings button to create the web hosting plan.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_014.png)
|
||||
|
||||
Now, CWP is ready to host your domains.
|
||||
|
||||
#### Adding Domains: ####
|
||||
|
||||
To create a new Domain, you to have at least one user account.
|
||||
|
||||
To add a user, go to **User Accounts -> New Account**.
|
||||
|
||||
Enter the domain(ex.unixmen.com), username, password and Email id etc. Finally, click **Create**.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_016.png)
|
||||
|
||||
Now, let us add a new domain.
|
||||
|
||||
To add a domain, go to **Domains -> Add Domain**.
|
||||
|
||||
Enter the Domain and assign the domain the users of your choice.
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_017.png)
|
||||
|
||||
### Conclusion ###
|
||||
|
||||
In this tutorial, we have seen how to install and configure CentOS Web Panel to create a simple web hosting environment. CWP is very simple to install and use. Even a novice user can create a basic web hosting server in a couple of hours. Also, CWP is completely free to use and open source. Give it a try! You won’t be disappointed.
|
||||
|
||||
You can find the more details about CWP in the [CentOS Web Panel Wiki page][2].
|
||||
|
||||
Cheers!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.unixmen.com/how-to-install-centos-web-panel-in-centos/
|
||||
|
||||
作者:[SK][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://www.unixmen.com/author/sk/
|
||||
[1]:http://centos-webpanel.com/
|
||||
[2]:http://wiki.centos-webpanel.com/
|
@ -0,0 +1,326 @@
|
||||
如何在CentOS上面安装CentOS网页面板
|
||||
===========================================================================
|
||||
![](http://1102047360.rsc.cdn77.org/wp-content/uploads/2015/04/centos-790x427.jpg)
|
||||
|
||||
### 关于CentOS网页面板 ###
|
||||
|
||||
目前有很多免费的或者付费的控制面板。今天,我们来讨论[CentOS网页面板(CWP)][1],这是特别为基于如CentOS,RHEL,科研用Linux系统等发行版的RPM设计的。**CWP** 是免费且开源的控制面板,可以被广泛用于简单地配置一个网页集群环境。不同于其他的控制面板,CWP是自动用高速缓存来配置LAMP的栈区。
|
||||
|
||||
### 特性 ###
|
||||
|
||||
CWP有很多的特性和免费的服务。如我前面提到的一样,CWP自动在你的服务器上安装全套LAMP服务(apache,php,phpmyadmin,webmail,mailserver等等)。
|
||||
|
||||
### CWP安装过程中会安装和配置的软件列表 ###
|
||||
|
||||
- Apache Web Server
|
||||
- PHP 5.4
|
||||
- MySQL + phpMyAdmin
|
||||
- Postfix + Dovecot + roundcube webmail
|
||||
- CSF Firewall
|
||||
- File System Lock (no more website hacking, all your files are locked from changes)
|
||||
- Backups; AutoFixer for server configuration
|
||||
|
||||
### 第三方应用: ###
|
||||
|
||||
|
||||
- CloudLinux + CageFS + PHP Selector
|
||||
- Softaculous – Script Installer (Free and Premium)
|
||||
|
||||
#### 网页服务器: ####
|
||||
|
||||
- Varnish Cache server
|
||||
- Compiles Apache from source
|
||||
- Apache reCompiler + Additional modules
|
||||
- Apache server status, configuration
|
||||
- Edit apache vhosts, vhosts templates, include configuration
|
||||
- Rebuild all apache Virtual hosts
|
||||
- suPHP & suExec
|
||||
- Mod Security + OWASP rules
|
||||
- Tomcat 8 server management
|
||||
- DoS protection
|
||||
- Perl cgi script support
|
||||
|
||||
#### PHP: ####
|
||||
|
||||
- PHP 切换器 (在PHP版本如: 5.2, 5.3, 5.4, 5.5之间切换)
|
||||
- PHP选择器选择每个用户或者每个文件的PHP版本(PHP 4.4, 5.2, 5.3, 5.4, 5.5, 5.6)
|
||||
- 简单的php编辑软件
|
||||
- 在用户面板下简单的php.ini生成器
|
||||
- PHP 插件
|
||||
- PHP.ini editor & PHP info & List modules
|
||||
- 每个帐号一个php.ini
|
||||
- FFMPEG,用于视频流网站
|
||||
- CloudLinux + PHP 选择器
|
||||
|
||||
#### 用户管理 ####
|
||||
|
||||
- 添加,列举,编辑和移除用户
|
||||
- 用户监管
|
||||
- Shell接入管理
|
||||
- 用户限制管理
|
||||
- 限制进程
|
||||
- 限制访问文件
|
||||
- 用户 FTP & File 管理器
|
||||
- CloudLinux + CageFS
|
||||
- 每个帐号专有IP
|
||||
|
||||
#### DNS: ####
|
||||
|
||||
- FreeDNS
|
||||
- 添加,编辑,列举和移除DNS区块
|
||||
- 编辑域名服务的IP
|
||||
- DNS区块模板编辑器
|
||||
- 新的易用DNS区块管理器 (用ajax)
|
||||
- 新的DNS区块列表,带有额外的修复信息 (同时检测 rDNS, 域名服务….)
|
||||
|
||||
#### Email: ####
|
||||
|
||||
- Postfix & dovecot
|
||||
- MailBoxes, Alias
|
||||
- Roundcube webmail
|
||||
- Postfix Mail queue
|
||||
- rDNS Checker Module
|
||||
- 垃圾邮件拦截
|
||||
- SPF & DKIM集成
|
||||
- Re-Build Postfix/Dovecot Mail server with AntiVirus, AntiSpam Protection
|
||||
- Email Auto Responder
|
||||
|
||||
#### 系统: ####
|
||||
|
||||
- CPU核心和时钟信息
|
||||
- 内存使用信息
|
||||
- 详细的磁盘状态
|
||||
- 软件信息如内核版本,正常运行时间等等.
|
||||
- 服务器状态
|
||||
- 检查配置管理
|
||||
- 网络端口使用
|
||||
- 网络配置
|
||||
- SSHD配置
|
||||
- 自动修复(检查重要的配置并尝试自动修复问题)
|
||||
|
||||
#### 监控: ####
|
||||
|
||||
- 监控服务 eg. top, apache stats, mysql etc.
|
||||
- 在面板内使用Java SSH Terminal/Console
|
||||
- 服务器配置 (eg. Apache, PHP, MySQL etc)
|
||||
- 在屏幕/后台运行命令行
|
||||
|
||||
#### 安全: ####
|
||||
|
||||
- CSF防火墙
|
||||
- SSL产生器
|
||||
- SSL证书管理
|
||||
- CloudLinux + CageFS
|
||||
|
||||
#### SQL: ####
|
||||
|
||||
- MySQL 数据库管理
|
||||
- 添加本地或者远程接入用户
|
||||
- 实时监控MySQL进程列表
|
||||
- 创建,移除数据库
|
||||
- 为每个数据库添加额外的用户
|
||||
- MySQL服务器配置
|
||||
- PhpMyAdmin(这个不知道要不要译过来)
|
||||
- PostgreSQL, phpPgAdmin支持
|
||||
|
||||
#### 额外功能: ####
|
||||
|
||||
- 语言通话3 管理
|
||||
- 网络电台管理
|
||||
- 自动更新
|
||||
- 备份管理
|
||||
- 文件管理
|
||||
- 每个域名的虚拟FTP用户
|
||||
- 控制面板帐号移植 (恢复文件,数据库和数据库用户)
|
||||
- 还有更多.
|
||||
|
||||
### 在CentOS 6上安装CentOS网页面板 ###
|
||||
|
||||
写这篇教程的时候,CWP仅仅支持最高CentOS 6.x版本。在CentOS 7和更高的版本中是行不通的。
|
||||
|
||||
#### 前期准备: ####
|
||||
|
||||
**安装CWP之前,里必须知道以下的信息:**
|
||||
|
||||
- CWP 仅支持静态IP地址。它并不支持动态的,固定的,或者内部的IP地址。
|
||||
- CWP 并没有卸载程序。当你安装CWP后,里必须重新安装服务器来移除它。
|
||||
- 之安装CWP在一个新装的还没做任何配置改变的操作系统上。
|
||||
- 对与32位操作系统至少需要512MB RAM。
|
||||
- 64位系统需要1024MB RAM。
|
||||
- 要求至少20GB的硬盘空间。
|
||||
|
||||
如果是在VirtualBox上面测试,640MB RAM和10GB磁盘空间就足够了。
|
||||
|
||||
#### 更新服务器: ####
|
||||
|
||||
首先安装wget包,这是下载CWP需要的。
|
||||
|
||||
yum install wget -y
|
||||
|
||||
使用命令更新你的服务器:
|
||||
|
||||
yum update -y
|
||||
|
||||
重启一次,激活更新。
|
||||
|
||||
#### 安装CWP: ####
|
||||
|
||||
进入**/usr/local/src/**目录:
|
||||
|
||||
cd /usr/local/src
|
||||
|
||||
使用命令下载最新的CWP版本:
|
||||
|
||||
wget http://centos-webpanle.com/cwp-latest
|
||||
|
||||
如果上面的URL出现错误,用下面的链接代替。
|
||||
|
||||
wget http://dll.centos-webpanle.com/files/cwp-latest
|
||||
|
||||
然后,用命令开始安装CWP:
|
||||
|
||||
sh cwp-latest
|
||||
|
||||
**样例输出:**
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/root@server-usr-local-src_001.png)
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/root@server-usr-local-src_002.png)
|
||||
|
||||
安装过程会持续到30分钟或者更多,取决于你的网速。
|
||||
|
||||
最后,你会看到如下安装完成的信息。
|
||||
记下一些详细信息,如mysql超级用户密码和CWP的登录URLs。你随后会需要。然后,按下回车Enter重启系统。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/root@server-usr-local-src_004.png)
|
||||
|
||||
重启进入系统后,你会看见CWP的欢迎登录信息。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CentOS-6.5-Minimal-Running-Oracle-VM-VirtualBox_006.png)
|
||||
|
||||
#### 调整防火墙/路由: ####
|
||||
|
||||
CWP的默认网络控制接口是**2030(http)**和**2031(https)**。你应该通过防火墙/路由允许使用这两个端口,以便远程接入CWP网络控制台。
|
||||
|
||||
编辑iptables文件:
|
||||
|
||||
vi /etc/sysconfig/iptables
|
||||
|
||||
添加如下的内容:
|
||||
|
||||
[...]
|
||||
-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
|
||||
[...]
|
||||
|
||||
保存并关掉文件。更新iptables服务使改变生效。
|
||||
|
||||
service iptables restart
|
||||
|
||||
### 进入CWP网络控制台 ###
|
||||
|
||||
打开你的浏览器,键入:
|
||||
|
||||
**http://IP-Address:2030/**
|
||||
|
||||
或
|
||||
|
||||
**https://IP-Address:2031/**
|
||||
|
||||
你会看到类似下面的屏幕。
|
||||
|
||||
登录认证:
|
||||
|
||||
- **Username**:root
|
||||
- **Password**:你的root密码
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/Login-CentOS-WebPanel-Mozilla-Firefox_007.png)
|
||||
|
||||
恭喜你!CWP已经安装成功了。
|
||||
|
||||
### CWP基本的配置 ###
|
||||
|
||||
接下来,我们得做一些事,比如:
|
||||
|
||||
1.建立域名服务
|
||||
1.建立ip共享(必须是你的公共IP地址)
|
||||
1.建立至少一个集合包(或者编辑默认的包)
|
||||
1.建立root电子邮件,等等。
|
||||
|
||||
#### 建立域名服务: ####
|
||||
|
||||
为建立域名服务,找到**DNS Functions -> Edit nameservers IPs**。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_009.png)
|
||||
|
||||
设置你的域名服务器,点击保存按钮。
|
||||
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_010.png)
|
||||
|
||||
#### 建立共享IP和Root邮箱ID: ####
|
||||
|
||||
在你的主机上管理网站,这是非常重要的一步。为了建立共享IP,进入**CWP Setting -> Edit settings**。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_011.png)
|
||||
|
||||
输入你的静态IP和邮箱ID,然后点击保存设置按钮。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_012.png)
|
||||
|
||||
现在,CWP可以进行网站维护了。
|
||||
|
||||
#### 建立主机包 ####
|
||||
|
||||
一个主机包什么都没有,除了一个网站托管计划,包括允许访问的磁盘空间,带宽,但没有FTP帐号,邮箱IDs和数据库等等。你可以建立任意数量的网站托管计划,只要你喜欢。
|
||||
|
||||
添加一个包,从CWP的控制台进入**Packages — Add a Package**
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_013.png)
|
||||
|
||||
输入包的名字,允许访问的磁盘配额/RAM数量,FTP/Email帐号,数据库和子域名等等。点击保持设置按钮,建立一个网站托管计划。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_014.png)
|
||||
|
||||
现在,CWP可以管理你的域名了。
|
||||
|
||||
#### 添加域名: ####
|
||||
|
||||
创建新的域名,你至少得有一个用户帐号。
|
||||
|
||||
而添加一个用户,请进入**User Account -> New Account**。
|
||||
|
||||
输入域名(ex.unixmen.com),用户名,密码和邮箱id等等。最后,点击**Create**。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_016.png)
|
||||
|
||||
现在,我们添加一个新的域名。
|
||||
|
||||
进入**Domains -> Add Domain**。
|
||||
|
||||
输入新的域名,并且指定这个域名与用户名关联。
|
||||
|
||||
![](http://www.unixmen.com/wp-content/uploads/2015/04/CWP.admin-Mozilla-Firefox_017.png)
|
||||
|
||||
### 总结 ###
|
||||
|
||||
在这篇教程中,我们看到了如何安装和配置CentOS网页面板,来创建一个简单的网站主机环境。CWP安装和使用非常简单。甚至一个菜鸟也可以在几个小时内建立一个基本的网站主机服务器。并且,CWP完全免费和开源。试一试吧!你不会失望的。
|
||||
|
||||
你可以在[CentOS Web Panel Wikipage][2]找到更多关于CWP的信息。
|
||||
|
||||
加油!
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
|
||||
via: http://www.unixmen.com/how-to-install-centos-web-panel-in-centos/
|
||||
|
||||
作者:[SK][a]
|
||||
译者:[wi-cuckoo](https://github.com/wi-cuckoo)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://www.unixmen.com/author/sk/
|
||||
[1]:http://centos-webpanel.com/
|
||||
[2]:http://wiki.centos-webpanel.com/
|
Loading…
Reference in New Issue
Block a user