快速安裝openwebmail/webmin

因為一台主機跑的是CentOS 5.5 64位元的版本
之前在linux上裝openwebmail都要裝很多rpm今天在官網看到簡單的安裝方式
直接用yum就可以安裝openwebmail囉!
因為用的是RH EL5(CentOS),所以 perl-Text-Iconv要另外裝,Fedora就不必
wget http://packages.sw.be/perl-Text-Iconv/perl-Text-Iconv-1.7-1.el5.rf.x86_64.rpm
rpm -Uvh rpm -Uvh perl-Text-Iconv-1.7-1.el5.rf.x86_64.rpm

再來就是安裝yum的資料源
cd /etc/yum.repos.d
lftpget http://openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail.repo
yum install openwebmail
/var/www/cgi-bin/openwebmail/openwebmail-tool.pl –init

簡單快速安裝完openwebmail~省時省力多了

如果有用yum常常在更新漏洞的主機,可以把openwebmail.repo移掉
這樣更新的速度會快一點,但是如果是使用cron來做的話
那就沒有差囉!反正會設定在離峰時間才會做更新

10/10/11 快速安裝webmin 也寫一寫吧!當然資料也來自官網
cd /etc/yum.repos.d
vi webmin.repo
—貼上下面的資料–
[Webmin]
name=Webmin Distribution Neutral
baseurl=http://download.webmin.com/download/yum
enabled=1
—貼上結束–
匯入GPG Key
rpm --import http://www.webmin.com/jcameron-key.asc
進行安裝
yum install webmin

2 thoughts on “快速安裝openwebmail/webmin

  • 2011 年 05 月 13 日 at 15:09:38
    Permalink

    你好 安裝完之後 我的網頁都無法顯示圖檔
    images 路徑是否有誤?

    Reply
    • 2011 年 05 月 14 日 at 02:59:49
      Permalink

      圖檔預設安裝在/var/www/html/data下(如果我沒有記錯的話)
      如果不在下面
      copy過去一份即可

      Reply

發佈回覆給「ChihPing」的留言 取消回覆

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *