cPanel要錢,試試看用免費的ISPConfig
最近想來自架Web Hosting網站伺服器(可以讓您輕鬆的管理多個網站、經銷商和每一個獨立的虛擬主機),最熱門的是cPane但要錢,免費的首推ISPConfig
這兩個軟體都需要安裝在UNIX系統上,趕快翻出學生時期的課本複習一下^^
ISPConfig:https://www.ispconfig.org/
ISPConfig中文說明書:http://ispconfig.org/downloads/manual_big5/toc.html
ISPConfig論壇:https://www.howtoforge.com/community/
ISPConfig安裝方式:https://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3
安裝Ubuntu Server
下載頁:http://releases.ubuntu.com/releases/
安裝過程都是中文顯示,沒什麼難度
這裡我設定網卡ip為192.168.2.199,Host name為ispconfig.sample.com
安裝好後設定root密碼然後切換到root使用者
sudo su
sudo passwd root
安裝openssh-server,這樣就可以在windows用putty遠端連線操作
apt-get install openssh-server
安裝編輯器vim
apt-get install vim
/bin/sh is a symlink to /bin/dash, however we need /bin/bash, not /bin/dash
dpkg-reconfigure dash
Use dash as the default system shell (/bin/sh)?
NO
*安裝ISPConfig必須變更以上的路徑
更新程式
apt-get update
apt-get upgrade
Disable AppArmor
/etc/init.d/apparmor stop
update-rc.d -f apparmor remove
apt-get remove apparmor apparmor-utils
Synchronize the System Clock
apt-get install ntp ntpdate
設定語系
sudo locale-gen --lang zh_TW.UTF-8
一鍵安裝 ISPConfig
裝好了OS,我們還需要安裝一堆服務例如:資料庫、郵件伺服器、網站伺服器等等
但現在有懶人包^^哈哈哈
教學:https://www.freehao123.com/ispconfig/
ISPConfig 3.0.4.6 正體中文語言檔:http://bill.gates.tw/index.php/16-server/41-ispconfig-3-0-4-6-正體中文語言檔.html 下載
安裝完成即可選擇用IP或網址登入後台
http://192.168.2.199:8080
建立網站,建立資料庫,建立ftp,就可使用wordpress
開啟預設首頁
How to Update ISPConfig 3:https://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-update-ispconfig-3/
Linux指令複習:
du -sh 查詢所在目錄檔案大小
shutdown -r 重開機
發表評論
想要留言嗎?歡迎歡迎!