CentOS 安裝 Web 後台管理介面 – CWP

2016-03-03 CentOS

這幾天在找 CentOS 的後台管理介面提供給使用者操作,參考了市場常見的 cPanel、Plesk、zPanel 來試用

這幾套都是付費軟體,其中只有 Pleak 算是還不錯並且介面親民的軟體,之後找到了 CWP (CentOS Web Panel) 這套 OpenSource free 的管理者介面

 

CWP 雖然功能不比其他的付費 Panel 還要多,但是也非常足夠了

 

CWP install & configured
– Apache Web Server (Mod Security + OWASP rules optional)
– PHP 5.4 (suPHP, SuExec + PHP version switcher)
– MySQL/MariaDB + phpMyAdmin
– Postfix + Dovecot + roundcube webmail (Antivirus, Spamassassin optional)
– CSF Firewall
– File System Lock (no more website hacking, all your files are locked from changes)
– Backups (optional)
– AutoFixer for server configuration

 

除了上述,也包含 DNS bind、FTP .. 等,真的夠齊全了!

 

 

但是在使用這類型的 Web Panel 真的必須要先詳細看一下官方文章,了解他到底會做什麼事情,因為他們的安裝方式都是執行一個 script 一鍵安裝到底,雖然是很無腦就可以搞定所有事情很好,但是如果你的 CentOS 是已經既有安裝服務的,他將會把你有衝突或重複的服務移除,安裝他自己編譯的套件如 apache ….

 

建議環境:乾淨無任何服務的 CentOS

環境需求:

  • OS:CentOS 6 / RedHat 6 / CloudLinux 6 , 不支援 CentOS 7
    • 32bit – 512MB
    • 64bit – 1024MB
  • 設定 hostname
  • 設定 static IP

 

 

安裝 CWP

Step.1 安裝 CWP 前準備

$ yum -y install wget
$ yum -y update
$ reboot

 

Step.2 下載 CWP install script

$ wget http://centos-webpanel.com/cwp-latest

 

Step.3 CWP 支援 -d 參數來選擇要安裝 mariadb 10.1.10 OR mysql 5.1

$ sh cwp-latest

或是 sh cwp-latest -d mariadb

 

接下來就是一連串的安裝設定,是學習 Linux 的人查看這類型的 script 編寫方式很有幫助!

 

安裝好之後,會直接在 apache 啟動一個 http://Server-IP:2030/

 

登入畫面

ScreenShot 2016-03-03 12.57.00

 

 

 

 

 

進入畫面

ScreenShot 2016-03-03 12.56.53

裡面有一個 httpd 的警告是因為 httpd 並沒有使用 CWP 內建安裝的 apache 服務。

 

這樣就安裝完成了,一切很無腦,但自動化就是這樣,也持續的向大師的路邁進吧!

 

 

 

 

 

給 Mr. 沙先生一點建議

彙整

分類

展開全部 | 收合全部

License

訂閱 Mr. 沙先生 的文章

輸入你的 email 用於訂閱