中文字幕理论片,69视频免费在线观看,亚洲成人app,国产1级毛片,刘涛最大尺度戏视频,欧美亚洲美女视频,2021韩国美女仙女屋vip视频

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
Centos5.4安裝ispCP官方指導(dǎo) | 愛思特

From: http://www.isp-control.net/documentation/doku.php?id=start:installation:centos

1.安裝前準(zhǔn)備

1.1確保Centos是最新的

以超級(jí)用戶登路,先關(guān)閉fastestmirror
[root@server ~]# vi /etc/yum/pluginconf.d/fastestmirror.conf
設(shè)置 “enable=0”

[root@server ~]# cd /etc/yum.repos.d/
[root@server yum.repos.d]# wget http://mirrors.163.com/.help/CentOS-Base-163.repo
[root@server yum.repos.d]# yum makecache
[root@server yum.repos.d]# yum update

1.2 添加額外的軟件源

Epel源(Extra Packages for Enterprise Linux)

[root@server yum.repos.d]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
[root@server yum.repos.d]# yum install foo

對(duì)于x86_64 位系統(tǒng)可以執(zhí)行以下命令:
[root@server yum.repos.d]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
[root@server yum.repos.d]# yum install foo

Les RPM de Remi源

[root@server yum.repos.d]# cd /etc/yum.repos.d
[root@server yum.repos.d]# wget http://rpms.famillecollet.com/remi-enterprise.repo

這個(gè)源里包含一些不需要的軟件包,通過以下命令去掉它們
[root@server yum.repos.d]# vi /etc/yum.repos.d/remi-enterprise.repo
在[remi]段結(jié)尾,[remi-test]段之上添加一句
includepkgs=mysql* php* sqlite*

RPMForge 源

[root@server yum.repos.d]# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

x86_64系統(tǒng)可用下面命令
[root@server yum.repos.d]# rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
[root@server yum.repos.d]# yum install foo

我們并不需要所有的RPMForge軟件包,因?yàn)樗鼤?huì)替換許多系統(tǒng)文件,故通過
[root@server yum.repos.d]# vi /etc/yum.repos.d/rpmforge.repo
在末尾加一句
includepkgs=postgrey

1.3 下載非庫軟件

先建立一個(gè)目錄
[root@server yum.repos.d]# mkdir /root/tmp
[root@server yum.repos.d]# cd /root/tmp

Courier-IMAP

i386 (32-bit):
[root@server tmp]# wget http://www.thatfleminggent.com/packages/centos/5/i386/courier-imap-4.6.0-1.el5.mf.i386.rpm
[root@server tmp]# wget http://www.thatfleminggent.com/packages/centos/5/i386/courier-authlib-0.62.4-1.el5.mf.i386.rpm
[root@server tmp]# wget http://www.thatfleminggent.com/packages/centos/5/i386/courier-authlib-userdb-0.62.4-1.el5.mf.i386.rpm

x86_64 (64-bit):  
[root@server tmp]# wget http://www.thatfleminggent.com/packages/centos/5/x86_64/courier-imap-4.6.0-1.el5.mf.x86_64.rpm
[root@server tmp]# wget http://www.thatfleminggent.com/packages/centos/5/x86_64/courier-authlib-0.62.4-1.el5.mf.x86_64.rpm
[root@server tmp]# wget http://www.thatfleminggent.com/packages/centos/5/x86_64/courier-authlib-userdb-0.62.4-1.el5.mf.x86_64.rpm

policyd-weight
[root@server tmp]# wget http://downloads.sourceforge.net/project/policyd-weight/policyd-weight/0.1.15%20beta-3/policyd-weight-0.1.15dev3-1.noarch.rpm?use_mirror=ncu

1.4 禁用SELinux

[root@server tmp]# setenforce 0

1.5 下載并解壓ispCp

[root@server tmp]# wget http://downloads.sourceforge.net/project/ispcp/ispCP%20Omega/ispCP%20Omega%201.0.3-1/ispcp-omega-1.0.3-1.tar.bz2?use_mirror=ncu
[root@server tmp]# tar jxvf ispcp-omega-1.0.3-1.tar.bz2
[root@server tmp]# cd ispcp-omega-1.0.3

安裝ispCP-omega-1.0.3
[root@server ispcp-omega-1.0.3]# yum install `cat ./docs/CentOS/centos-packages` (x86_64位要排除32位的軟件包vi /etc/yum.conf 在末尾加一句 exclude=*.i386 *.i586 *.i686 )

之后還必須要裝Perl包
[root@server ispcp-omega-1.0.3]# perl -MCPAN -e ‘install Term::ReadPassword’      (提示是否要手動(dòng)配置時(shí)輸入no)

安裝之前下載的Courier-IMAP、policyd-weight RPM包
[root@server ispcp-omega-1.0.3]# cd ..
[root@server tmp]# rpm -Uvh courier-*
[root@server tmp]# rpm -Uvh policyd-weight-*

1.6 移除不需要的軟件包

[root@server tmp]# yum remove sendmail/

1.7 配置服務(wù)

[root@server tmp]# groupadd -g 3000 courier
[root@server tmp]# useradd -u 3000 -c ‘Courier Mail Server’ -d /dev/null -g courier -d /bin/false courier

開啟mySQL服務(wù)
[root@server tmp]# service mysqld start

配置mySQL,并且設(shè)置mySQL root用戶的密碼,注意這里配置了的話之后會(huì)用到
[root@server tmp]# mysql_secure_installation

清理Apache配置環(huán)境并且備份
[root@server tmp]# mv /etc/httpd/conf.d /etc/httpd/conf.d-disabled

1.8 BIND DNS配置

[root@server tmp]# mv /var/named/data /var/named/data-disabled
[root@server tmp]# ln -s /var/named/chroot/var/named/data /var/named/data
[root@server tmp]# echo ‘include “/etc/named-ispcp.conf”;’ >> /var/named/chroot/etc/named.conf

2. 安裝

2.1 確認(rèn)設(shè)置

[root@server tmp]# cat /root/tmp/ispcp-omega-1.0.3/configs/centos/ispcp.conf

2.2 建立軟件和安裝到臨時(shí)區(qū)域

[root@server tmp]# cd ispcp-omega-1.0.3
[root@server ispcp-omega-1.0.3]# make -f Makefile.centos

2.3 安裝icpCP ω

[root@server ispcp-omega-1.0.3]# cp -RLf /tmp/ispcp/* /
[root@server ispcp-omega-1.0.3]# cd /var/www/ispcp/engine/setup
[root@server setup]# perl ispcp-setup

3. 安裝后配置

3.1 Postfix and SASL Authentication

建立SASL 數(shù)據(jù)庫
[root@server setup]# touch /etc/sasldb2
[root@server setup]# mkdir -p /var/spool/postfix/etc
[root@server setup]# cp /etc/sasldb2 /var/spool/postfix/etc

[root@server setup]# vi /usr/lib/sasl2/smtpd.conf
把下面文本寫入smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5

3.2 配置 Apache HTTPd

[root@server setup]# echo ‘include vhosts/*.conf’ >> /etc/httpd/conf/httpd.conf

3.3 配置 Postgrey

[root@server setup]#vi /etc/init.d/postgrey
把這一行  OPTIONS=”–unix=$SOCKET”
改為        OPTIONS=”–unix=$SOCKET –inet=60000″

3.4 設(shè)置服務(wù)為自啟動(dòng)

chkconfig –level 345 httpd on
chkconfig –level 345 mysqld on
chkconfig –level 345 ispcp_network on
chkconfig –level 345 ispcp_daemon on
chkconfig –level 345 amavisd on
chkconfig –level 345 named on
chkconfig –level 345 proftpd on
chkconfig –level 345 postgrey on
chkconfig –level 345 spamassassin on

如果想不重啟就啟動(dòng)服務(wù)輸入以下命令

service httpd
startservice mysqld start
service ispcp_network start
service ispcp_daemon start
service amavisd start
service named start
service proftpd start
service postgrey start
service spamassassin start

3.5 清理權(quán)限

[root@server setup]# chmod 775 /var/www/ispcp/gui/phptmp
3.6 刪除icpCPω臨時(shí)環(huán)境

[root@server setup]# rm -R /tmp/ispcp

附:

安裝過程會(huì)提一些問題,由你進(jìn)行選擇或者輸入,以下是輸入詳解:

Please enter a fully qualified hostname. [server.astesys.com]:         //這里直接回車就可以了
Please enter system network address.[192.168.1.150]:                    //這里也直接回車就可以了
Please enter SQL server host. [localhost]:                                       //直接回車
Please enter system SQL database. [ispcp]:                                    //直接回車
Please enter system SQL user. [root]:                                             //直接回車
Please enter system SQL password. [none]:                              //這里輸入mysql數(shù)據(jù)庫root賬號(hào)的密碼
Please repeat system SQL password:                                        //再次輸入密碼確認(rèn)
Please enter ispCP ftp SQL user. [vftp]:                            //直接回車
Please enter ispCP ftp SQL user password. [auto generate]:    //這里是設(shè)置數(shù)據(jù)庫用戶vftp的密碼的,可以采用自動(dòng)生成,但是不建議,最好你自己建立密碼,所以在這里輸入一個(gè)密碼。
Please repeat ispCP ftp SQL user password:    //確認(rèn)密碼,再次輸入你剛才輸入的密碼
Please enter administrator login name. [admin]:   //超級(jí)管理員用戶名,你可以直接回車默認(rèn)成admin,也可以自己輸入
Please enter administrator password:         //確認(rèn)超級(jí)管理員密碼,再次輸入密碼
Please enter administrator e-mail address:   //輸入管理員郵箱地址,也可以直接回車忽略。
Please enter the domain name where ispCP OMEGA will run on [admin.server.astesys.com]:   //輸入ispCP控制面板的域名,這里隨意,只要是能使用的域名都可以,不必按照他提示的進(jìn)行,比如我這里輸入host.astesys.com,以后 登錄ispCP就可以使用[http://host.astesys.com]登錄了。 IP of Secondary DNS. (optional) []:    //輸入第二個(gè)DNS域名解析服務(wù)器的IP,這個(gè)一般沒用,除非你自己通過ispCP解析域名,所以直接回車。
Use MySQL Prefix.
Possible values: [i]nfront, [b]ehind, [n]one. [none]:  //使用數(shù)據(jù)庫前綴,[i]nfront:之前;[b]ehind:之后;[none]:不使用,這個(gè)回車就可以了,當(dāng)然你也可以選擇,一般是用用戶的 ID作為前綴的。
Please enter ispCP phpMyAdmin Control user. [pam]:         //這里直接回車
Please enter ispCP phpMyAdmin Control user password. [auto generate]: //輸入phpmyadmin控制用戶密碼,這里建議自己輸入,不建議生成。
Please repeat ispCP phpMyAdmin Control user password: //確認(rèn)密碼,再次輸入
FastCGI Version: [f]cgid or fast[c]gi. [fcgid]: //直接回車
Activate AWStats. [no]  //直接回車





  • 本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
    打開APP,閱讀全文并永久保存 查看更多類似文章
    猜你喜歡
    類似文章
    Install PostgreSQL 9 on CentOS : David Ghedin...
    Centos6.4建立本地yum源
    rpm局域網(wǎng)軟件安裝
    CentOS更改yum源與更新系統(tǒng)
    No package **** available
    使用ambari搭建hadoop集群(local)
    更多類似文章 >>
    生活服務(wù)
    熱點(diǎn)新聞
    分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
    綁定賬號(hào)成功
    后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
    如果VIP功能使用有故障,
    可點(diǎn)擊這里聯(lián)系客服!

    聯(lián)系客服