ZPanel配置清單:
Linux下:Apache+MySQL+PHP+ProFTPd+Posfix
Windows下採用hMailServer以及Filezilla來代替Posfix和ProFTPd
準備工作
1、迷你安裝CentOS6.3,官方提供的指令碼會自動幫你配置環境,如果已經配好了環境的話最好先卸載或者重新迷你安裝一下,否則會導致ZPanel安裝出錯。
2、安裝必要軟體
| 代碼如下 |
複製代碼 |
yum install wget |
4、安裝ZPanel1、下載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