全能服務(wù)器安裝手冊(cè)之基礎(chǔ)安裝篇模板_第1頁(yè)
全能服務(wù)器安裝手冊(cè)之基礎(chǔ)安裝篇模板_第2頁(yè)
全能服務(wù)器安裝手冊(cè)之基礎(chǔ)安裝篇模板_第3頁(yè)
全能服務(wù)器安裝手冊(cè)之基礎(chǔ)安裝篇模板_第4頁(yè)
全能服務(wù)器安裝手冊(cè)之基礎(chǔ)安裝篇模板_第5頁(yè)
已閱讀5頁(yè),還剩8頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

FreeBSD全能服務(wù)器安裝手冊(cè)之qmail基礎(chǔ)安裝篇###################################下載軟件包##################################Part1-DownloadtheSoftware()mkdir/downloadscd/downloadstarzxvfqmailrocks.tar.gz##################################安裝qmail主程序##############################Part2-InstallingQmailItself/downloads/qmailrocks/scripts/install/qmr_install_freebsd-s1.script腳本內(nèi)容請(qǐng)參考------qmail安裝腳本篇qmr_install_freebsd-s1.script###############################################################################/downloads/qmailrocks/scripts/util/qmail_patches.script腳本內(nèi)容請(qǐng)參考------qmail安裝腳本篇qmail_patches.scriptcd/usr/src/qmail/qmail-1.03makemanmakesetupcheck./config-fast/usr/ports/mail/qmail%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%cd/usr/src/qmail/ucspi-tcp-0.88/makemakesetupcheck/usr/ports/sysutils/ucspi-tcp%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%cd/package/admin/daemontools-0.76package/installreboot/usr/ports/sysutils/daemontools################################Part3-EZmlm##################################Part3-EZmlmcd/downloads/qmailrocks/tarzxvfezmlm-0.53-idx-0.41.tar.gzcdezmlm-0.53-idx-0.41makemakesetup/usr/ports/mail/ezmlm############################Part4-Qmail-Autoresponder##########################Part4-Qmail-Autoresponder#pkg_add-rqmail-autorespondercd/downloads/qmailrockspkg_addqmail-autoresponder-0.96.1.tbz/usr/ports/mail/qmail-autoresponder################################part5-Vpopmail################################Part5-Vpopmail(IwouldliketoinstallvpopmailwithMySQLintegration)mkdir-p~vpopmail/etcmysql-uroot-pCREATEDATABASEvpopmail;GRANTselect,insert,update,delete,create,dropONvpopmail.*TOvpopmailuser@localhostIDENTIFIEDBY'password';quitmysql-uvpopmailuser-pquituploadiGENUS.mysqlmysql-uroot-p</home/chb/iGENUS.mysql腳本內(nèi)容請(qǐng)參考------qmail安裝腳本篇iGENUS.mysql//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////cd/downloads/qmailrockstarzxvfvpopmail-5.4.9.tar.gzcdvpopmail-5.4.9./configure\--disable-roaming-users\--enable-logging=p\--disable-ip-alias-domains\--disable-passwd\--enable-clear-passwd\--disable-domain-quotas\--enable-auth-module=mysql\--enable-many-domains\--enable-auth-logging\--enable-sql-logging\--enable-valias\--disable-mysql-limitsmakemakeinstall-stripchownvpopmail:vchkpw~vpopmail/etcecho"localhost|0|vpopmailuser|password|vpopmail">~vpopmail/etc/vpopmail.mysqlchownvpopmail:vchkpw~vpopmail/etc/vpopmail.mysqlchmod640~vpopmail/etc/vpopmail.mysql/home/vpopmail/bin/vadddomain你域名以后回提醒輸入域管理員密碼/home/vpopmail/bin/vadduser郵件用戶@你域名以后回提醒輸入郵件用戶密碼/usr/ports/mail/vpopmail#############################Part6-Vqadmin###################################Part6-Vqadmincd/downloads/qmailrockstarzxvfvqadmin-2.3.6.tar.gzcdvqadmin-2.3.6./configure\--enable-cgibindir=/usr/local/www/cgi-bin\--enable-htmldir=/usr/local/www/htmlmakemakeinstall-stripNowyouwillneedtoaddthefollowingtoyourserver'sApacheconfigurationfile(usuallycalledhttpd.conf)ee/usr/local/etc/apache/httpd.conf在末尾添加<Directory"/usr/local/www/cgi-bin/vqadmin">denyfromallOptionsExecCGIAllowOverrideAuthConfigOrderdeny,allow</Directory>cd/usr/local/www/cgi-bin/vqadminee.htaccessAuthTypeBasicAuthUserFile/usr/local/etc/apache/conf/vqadmin.passwdAuthNamevQadminrequirevalid-usersatisfyanymkdir/usr/local/etc/apache/confchownwww.htaccesschmod644.htaccesshtpasswd-bc/usr/local/etc/apache/conf/vqadmin.passwdadminpasswordchmod644/usr/local/etc/apache/conf/vqadmin.passwdapachectlstopapachectlstart/usr/ports/mail/vqadmin##############################Part7-Maildrop###################################Part7-Maildropcd/downloads/qmailrockstarzxvfmaildrop-1.6.3.tar.gzcdmaildrop-1.6.3./configure\--prefix=/usr/local\--exec-prefix=/usr/local\--enable-maildrop-uid=root\--enable-maildrop-gid=vchkpw\--enable-maildirquotamakemakeinstall-stripmakeinstall-man/usr/ports/mail/maildrop##############################Part8-Qmailadmin#############################Part8-Qmailadmincd/downloads/qmailrockstarzxvfqmailadmin-1.2.3.tar.gzcdqmailadmin-1.2.3./configure\--enable-cgibindir=/usr/local/www/cgi-bin\--enable-htmldir=/usr/local/www/html/directory\--enable-autoresponder-path=/usr/local/bin/qmail-autorespondermakemakeinstall-strip/usr/ports/mail/qmailadmin####################################Part9-FinalizingQmail#######################Part9-FinalizingQmail/downloads/qmailrocks/scripts/finalize/freebsd/finalize_freebsd.script腳本內(nèi)容請(qǐng)參考------qmail安裝腳本篇finalize_freebsd.script//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ee/var/qmail/supervise/qmail-pop3d/runFind""andchangeittoyourserver'shostname.Forexample:.ee/var/qmail/supervise/qmail-smtpd/runFind""andchangeittoyourserver'shostname.Forexample:qmailctlstopecho'127.:allow,RELAYCLIENT=""'>>/etc/tcp.smtpqmailctlcdbecho>/var/qmail/alias/.qmail-rootwhere"some_address"isthesystemuseroremailaddressyouwanttheseaddressesaliasedto.echo>/var/qmail/alias/.qmail-postmasterwhere"some_address"isthesystemuseroremailaddressyouwanttheseaddressesaliasedto.echo>/var/qmail/alias/.qmail-mailer-daemonwhere"some_address"isthesystemuseroremailaddressyouwanttheseaddressesaliasedto.ln-s/var/qmail/alias/.qmail-root/var/qmail/alias/.qmail-anonymouschmod644/var/qmail/alias/.qmail*##########################Part10-UninstallingSendmail###########################Part10-UninstallingSendmailkillallsendmailmv/usr/sbin/sendmail/usr/sbin/sendmail.oldmv/usr/lib/sendmail/usr/lib/sendmail.old(thismaynotapplyifthereisnosendmaillinkorbinaryinthislocation)chmod0/usr/lib/sendmail.old/usr/sbin/sendmail.oldNowwewillneedtoinstructFreeBSDnottoattempttostartSendmailuponstartup.Thisisdonebymakethefollowingmodificationtothe/etc/rc.conffile:Changesendmail_enable="YES"tosendmail_enable="NONE"ln-s/var/qmail/bin/sendmail/usr/lib/sendmail#ln-s/var/qmail/bin/sendmail/usr/sbin/sendmail########################Part11-Startingupqmail#################################Part11-Startingupqmail/downloads/qmailrocks/scripts/util/qmr_inst_check腳本內(nèi)容請(qǐng)參考------qmail安裝腳本篇qmr_inst_check//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////qmailctlstopqmailctlstarttelnetlocalhost110youshouldseesomethinglikethis:Trying0...Connectedto0.Escapecharacteris'^]'.+OK<>user(enteryourusernamehere.remembertousethefulle-mailaddress)+OKpassyour_password+OKquit+OKConnectionclosedbyforeignhost.ThisisthesignofasuccessfullPOPconnectiontotheserver!Nowtrysendingmailtothatsameuserfromanotherlocation.Telnetto110againandrunthe"list"commandandyoushouldseethemessagethatyoursend...telnetlocalhost110Trying0...Connectedto0.Escapecharacteris'^]'.+OK<>user(again,remembertologinwiththefullemailaddressoftheuser)+OKpassyour_password+OKlist+OK1323(there'syourmessage!).quit+OKConnectionclosedbyforeignhost.########################Part12-InstallingCourierIMAP&IMAPSSL################Part12-InstallingCourierIMAP&IMAPSSLcd/downloads/qmailrocks//usr/bin/bunzip2courier-imap-3.0.8.tar.bz2(Note:somesystemsmayusebunzip2insteadofbunzip)#bunzipcourier-imap-3.0.8.tar.bz2tarxvfcourier-imap-3.0.8.tarcdcourier-imap-3.0.8./configure\--prefix=/usr/local\--exec-prefix=/usr/local\--without-authdaemon\--with-authvchkpw\--without-authldap\--disable-root-check\--with-sslmakemakeinstall-stripcd/usr/local/etccpimapd.distimapdcpimapd-ssl.distimapd-ssl/usr/local/sbin/mkimapdcerteeimapd-ssl#makesureIMAPDSSLSTART=YEScp/usr/local/libexec/imapd.rc/usr/local/etc/rc.d/imap.shcp/usr/local/libexec/imapd-ssl.rc/usr/local/etc/rc.d/imaps.sh/usr/local/etc/rc.d/imap.shstart/usr/local/etc/rc.d/imaps.shstarttelnetlocalhost143Trying0...Connectedto0.Escapecharacteris'^]'.*OK[CAPABILITYIMAP4rev1UIDPLUSCHILDRENNAMESPACETHREAD=ORDEREDSUBJECTTHREAD=REFERENCESSORTQUOTAIDLESTARTTLS]Courier-IMAPready.Copyright1998-DoublePrecision,Inc.SeeCOPYINGfordistributioninformation.aloginmy_passwordaOKLOGINOk.(successfullogin!)alogout(logsyouout)*BYECourier-IMAPservershuttingdownaOKLOGOUTcompletedConnectionclosedbyforeignhost.<!--cd/downloads/qmailrockstarzxvfcourierpassd-1.1.0-RC1.tar.gzcdcourierpassd-1.1.0-RC1./configure--with-couriersrc=/downloads/qmailrocks/courier-imap-3.0.8makemakeinstall-->############

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論