CentOS mail系統安裝設置YUM軟件
好使及其強大的CentOS mail系統有***相當豐富的知識和學習價值,這里我們主要介紹CentOS mail系統安裝,包括介紹CentOS mail系統等方面。CentOS是一個開源軟件貢獻者和用戶的社區。它對RHEL源代碼進行重新編譯,成為眾多發布新發行版本的社區當中的一個,并且在不斷的發展過程中,CentOS社區不斷與其他的同類社區合并,使CentOS Linux逐漸成為使用最廣泛的RHEL兼容版本。
1.CentOS mail系統安裝
CentOS mail系統安裝之前:因用戶數據都保存在/var目錄下,因此安裝系統時/var的空間應盡量大。系統的版本為最小化安裝,軟件包只安裝只裝開發包 (development)。在文檔中假設服務器的ip地址為192.168.0.2,域名為test.com,主機名為mail.test.com。所需的軟件包我都打包好了。
下載地址: http://www.toping.net/soft/src.tar.gz請兄弟們仔細一些,注意空格和TAB。祝兄弟們好運。本人水平有限。如果發現文章中有什么錯誤和不當的地方請發郵件:scyz at toping.net。我會在***時間給予答復。
2.CentOS mail系統關閉selinux
[root@mail]# vi /etc/selinux/configSELINUX=disable[root@mail]# reboot
3、CentOS mail系統設置YUM
[root@mail yum.repos.d] vi CentOS-Base.repo[base]name=CentOS-4.2 - Basebaseurl=http://mirror.be10.com/centos/4.2/os/$basearch/
gpgcheck=1gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4#released updates
[update]name=CentOS-4.2 -Updatesbaseurl=http://mirror.be10.com/centos/4.2/updates/$basearch/gpgcheck=1gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4#packages used/produced in the build but not released
[addons]name=CentOS-4.2 - Addonsbaseurl=http://mirror.be10.com/centos/4.2/addons/$basearch/gpgcheck=1gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4#additional packages that may be useful
[extras]name=CentOS-4.2 - Extrasbaseurl=http://mirror.be10.com/centos/4.2/extras/$basearch/gpgcheck=1gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4#additional packages that extend functionality of existing packages
[centosplus]name=CentOS-4.2 - Plusbaseurl=http://mirror.be10.com/centos/4.2/centosplus/$basearch/gpgcheck=1enabled=0gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4#contrib - packages by Centos Users
[contrib]name=CentOS-4.2 - Contribbaseurl=http://mirror.be10.com/centos/4.2/contrib/$basearch/gpgcheck=1enabled=0gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4#packages in testing
[testing]name=CentOS-4.2 - Testingbaseurl=http://mirror.be10.com/centos/4.2/testing/$basearch/gpgcheck=1enabled=0gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4[root@mail yum.repos.d]# vi dag.repo[dag]name=Dag RPM Repository for Red Hat Enterprise Linuxbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/daggpgcheck=1enabled=1[root@mail yum.repos.d]# yum update以上介紹CentOS mail系統安裝。
【編輯推薦】