Vhcs installation

Aus Cryptronic
Wechseln zu: Navigation, Suche

Sources holen:

http://sourceforge.net/project/showfiles.php?group_id=124980&package_id=145842

Danach braucht man als erstes mal ein sauberes System.

Ich empfehele einen Debian vServer

http://vhcs.net/new/modules/newbb/viewtopic.php?topic_id=5766&forum=7&post_id=27127#forumpost27127

Gentoo

Nach diesem Tut:http://vhcs.net/new/modules/newbb/viewtopic.php?topic_id=2026&forum=23

todo: http://vhcs.net/new/modules/newbb/viewtopic.php?topic_id=3988&forum=23&post_id=18984#forumpost18984

Bevor man mit den eigentlichen paketen anfängt:

emerge -pv emerge -v locale-maketext locale-maketext-lexicon g-cpan
g-cpan -i DBI::DBD

Die Packete:

emerge -av postfix apache Authen-DigestMD5 BerkeleyDB bind Class-DBI-mysql expect courier-imap Crypt-Blowfish crypt-cbc cyrus-sasl Date-Calc DateManip DBD-mysql perl-core/libnet gawk gzip IO-stringy iptables libmcrypt libperl MailTools MD5 MIME-Base64 MIME-tools mysql Net-DNS Net-Netmask perl php procmail proftpd SNMP_Session tar TermReadKey TimeDate fcron

danach alles zum runlevel hinzufügen:

for x in apache2 courier-imapd courier-pop3d courier-authlib mysql named postfix proftpd saslauthd fcron ; do rc-update add $x default ; done
etc-update
/usr/bin/mysql_install_db ; /etc/init.d/mysql start
mysqladmin password [newpass]
cp /etc/proftpd/proftpd.conf.distrib /etc/proftpd/proftpd.conf
nano -w /etc/apache2/conf/apache2.conf | ServerName setzen
g-cpan -i MIME::Entity MIME::Parser MIME::Base64 Crypt::CBC Crypt::Blowfish Term::ReadPassword
nano -w /usr/sbin/makeuserdb | and change any lines that say "/etc/courier" to "/etc/courier-imap". ie:
cd root
wget http://gensys.net.au/files/vhcs2/vhcs-2.4-gentoo-2005041801.tar.bz2
tar -xjvf vhcs-2.4-gentoo-2005041801.tar.bz2
cd /root/vhcs-gentoo-2.4/configs ; nano -w vhcs2.conf
cd /root/vhcs-gentoo-2.4/tools/daemon
rm *.o
rm vhcs2_daemon
rm vhcs_daemon.c ; wget http://gensys.net.au/files/vhcs2/vhcs_daemon.c
make
mkdir ~/vhcs2.backup ; cp -R /root/vhcs-gentoo-2.4/* ~/vhcs2.backup/
cd /root/vhcs-gentoo-2.4 ; make install ; cd /tmp/vhcs2
cp -R /tmp/vhcs2/* /
cd /var/www/localhost/htdocs/vhcs2/engine/setup/ ; ./vhcs2-setup
g-cpan -i DBI DBD::mysql Term::ReadPassword
echo "Include /etc/apache2/vhcs2.conf" >> /etc/apache2/conf/commonapache.conf

für vserver müssen die IPtables deaktiviert werden:

http://www.vhcs.net/new/modules/phpwiki/index.php/VHCS%20Install%20ohne%20IPTables%20Support%20(vServer%20Install%20HowTo)
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Tipps
Werkzeuge