大家现在都知道大名鼎鼎的ispCP,或许有一些老人对VHCS记忆犹新,但是很长一段时间有消息说不更新了,但是今天访问其官方网站,发现又有更新了,但是其官方又没有安装教程,特在此写一篇安装教程,供大家参考!
在你安装VHCS2前请确认你注意到以下问题:
(1)如果你使用的是Debian Sarge,请升级到Lenny。
(2)你的服务器必须配置有完全合法的域名,或者这个域名可以被网络上的其他计算机识别。
(3)服务器的安装,请见教程:Debian 5.0.1图文安装教程!
(4)服务器的IP、子网掩码等设置,以(3)中的教程设置为范例,您可以自行修改成你的设置。
一、修改更新源
编辑更新源,将更新源中的光盘源取消掉
| host:~# vi /etc/apt/sources.list |
| host:~# apt-get install ssh openssh-server |
| host:~# vi /etc/hosts |
| 127.0.0.1 localhost.localdomain localhost 192.168.0.100 host.ispcpcn.com host # The following lines are desirable for IPv6 capable hosts |
| host:~# echo host.ispcpcn.com > /etc/hostname host:~# /etc/init.d/hostname.sh start |
| host:~# aptitude update host:~# aptitude upgrade host:~# aptitude install tar bzip2 wget lsb-release |
| host:~# mkdir downloads host:~# cd downloads host:~# wget http://server5.moll-newmedia.de/vhcs-2.4.8.tar.bz2 host:~# tar -xjvf vhcs-2.4.8.tar.bz2 |
| host:~# cd vhcs* host:~# cd docs host:~# vi debian5-packages.txt |
| apache2 apache2.2-common apache2-mpm-prefork bind9 bzip2 courier-authdaemon courier-base courier-imap courier-maildrop courier-pop diff dnsutils gcc gzip iptables libapache2-mod-php5 libberkeleydb-perl libc6-dev libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl libmailtools-perl libmcrypt4 libmd5-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl libperl5.10 libsasl2-2 libsasl2-modules libsnmp-session-perl libterm-readkey-perl libterm-readpassword-perl libtimedate-perl make mysql-client mysql-common mysql-server original-awk patch perl perl-base perl-modules php5 php5-gd php5-mcrypt php5-mysql php-pear postfix postfix-tls procmail proftpd sasl2-bin ssh tar wget |
| host:~# aptitude install $(cat ./debian5-packages.txt) |
| host:~# vi /etc/default/saslauthd |
| [......] START=yes [......] |
| host:~# cd .. host:~# make -f Makefile install |
| host:~# cp -R /tmp/vhcs-2.4.8/* / |
| host:~# cd /var/www/vhcs2/engine/setup/ host:~# ./vhcs2-setup |
| host:~# vi /etc/proftpd/proftpd.conf |
| [......] include /etc/proftpd/modules.conf [......] DisplayChdir .message [......] |
[......] |
| host:~# /etc/init.d/proftpd start |
| host:~# a2enmod ssl host:~# /etc/init.d/apache2 restart |
本日志由 斯文书生 于 2010-01-21 20:35:37 发表,目前已经被浏览 3004 次,评论 5 次;
引用通告:http://www.ispcpcn.com/Article/27/Trackback.ashx
Doudoune Abercrombie Femme,Doudoune Armani Pas Cher,Doudoune
给您带来的不便,深表歉意
Doudoune Sans Capuche,Doudoune Longue Femme,Doudoune Moncler
Tiffany Outlet Tiffany Co Outlet Discount Tiffany Jewelle
Tiffany UK Tiffany and Co UK Tiffany Outlet Tiffany Hea
Bijoux Tiffany,Tiffany Pas Cher,Collier Tiffany,Bracelet Tif
Louboutin pas cher Chaussures christian louboutin Loubou
Mulberry Sac Mulberry Sac à main Mulberry Sac Mulberr
Karen Millen,Robe Karen Millen,Manteau Karen Millen,Karen Mi
Powered by ISPCPCN.COM, Designed by Loveyuki, Icon by Led Icon Set. 渝ICP备09011073号