IDC走起 虚拟主机控制面板–Zpanel

发布于 2013-03-17  114 次阅读


转自灰狼部落 http://www.hlblog.com/archives/454.html

ZPanel面板是一款免费开源的主机控制控制面板,支持Windows、Linux以及MacOSX。相比CPanel来说,灰狼觉得ZPanel无论在配置还是易用性上都不逊CPanel。

ZPanel配置清单:

Linux下:Apache+MySQL+PHP+ProFTPd+Posfix

Windows下采用hMailServer以及Filezilla来代替Posfix和ProFTPd

 

先来看图,看下是不是你的菜。

1、登陆界面

2、主界面

3、准备工作

1、最小化安装CentOS6.3,官方提供的脚本会自动帮你配置环境,如果已经配好了环境的话最好先卸载或者重新最小化安装一下,否则会导致ZPanel安装出错。

2、安装必要软件

yum install wget

4、安装ZPanel

1、下载ZPanel

64bit:wget http://www.zvps.co.uk/sites/default/files/downloads/centos-6-3/package/installer-x86_64-install.sh.x.tar.gz

32bit:wget http://www.zvps.co.uk/sites/default/files/downloads/centos-6-3/package/installer-x86-install.sh.x.tar.gz

2、解压并设置权限

[root@localhost ~]# tar xf installer-x86-install.sh.x.tar.gz

[root@localhost ~]# chmod +x installer-x86-install.sh.x

3、运行安装向导

[root@localhost ~]# ./installer-x86-install.sh.x

 

To contine please agree to the GPL license (y/n/q)? y
Find your timezone from : http://php.net/manual/en/timezones.php e.g Europe/London
Enter Your Time Zone: Asia/Chongqing
Install fresh ZPanel server or enter an upgrade version number e.g 10-0-1 :install
Enter the FQDN of the server (example: zpanel.yourdomain.com): zpanel.myzp3.com
Enter the Public (external) IP of the server: 192.168.0.196 (这里脚本好像有点问题,不过不影响)
./installer-x86-install.sh.x: line 60: read: `href=”http://www.whatismyip.com/membership-options/”>New’: not a valid identifier
MySQL Password is currently blank, please change it now.

Password you will use for MySQL: ****
Re-enter the password you will use for MySQL: ****

ZPanel will now install, are you sure (y/n/q)? y

安装完成后会显示:

5、备注

在配置时,脚本会在

Initialized empty Git repository in /root/zpanelx/.git/
这个地方卡很久,有时候卡会儿就过去了,有时候卡了近一个小时也过不去。

如果在这卡了过不去,建议重头再来,系统格了重装,具体是什么原因导致的,灰狼猜测可能是GFW,换个时间段再来配置。(终止进程了再装能安装到最后,但是httpd不能启动)

ZPanel登陆密码保存在/root/passwords.txt