出现提示,根据提示输入你的相关信息:
输入服务器的hostname:
Please enter system hostname (Enter for defaults) (tangra):
输入服务器的ip地址,建议用内网的ip,比较安全:
Please enter system network address (Enter for defaults) (192.168.0.1):
输入mysql服务器地址,默认是本机:
Please enter SQL server host (Enter for defaults) (localhost):
输入用于vhcs2系统的msyql数据库的名字,默认是vhcs2:
Please enter system SQL database (Enter for defaults) (vhcs2):
输入访问mysql数据库的用户名:
Please enter system SQL user (Enter for defaults) (root):
输入访问mysql数据库用户名对应的密码:
Please enter system SQL password (Enter for defaults) (none):
输入登陆vhcs2系统的管理员用户名:
Please enter administrator login name (Enter for defaults) (admin):
输入登陆vhcs2系统的管理员密码:
Please enter administrator password:
输入管理员的email地址:
Please enter admininistrator email address:
--------------------------------------------------------------------------------
WARNING - WARNING - WARNING!!!
Please, DO NOT USE IN PRODUCTION SERVERS!!!
This code is an initial release, and it needs a deep-in testing.
Use it at your OWN risk.
--------------------------------------------------------------------------------
1) pkg_add -r cvsup-without-gui
2) cvsup ports tree with the latest tree.
3) Install perl 5.6 or later. Skip this step if you have freebsd 5.3 or newer.
4) cd /usr/ports/ftp ; tar xvfz <src path>/proftpd-vhcs2.tar.gz
5) cd /usr/ports/mail; tar xvfz <src path>/courier-imap-vhcs2.tar.gz
6) cd /usr/ports/mail; tar xvfz <src path>/postfix-vhcs2.tar.gz
7) cd /usr/ports/www; tar xvfz <src path>/vhcs.tar.gz
8) cd vhcs
9) make && make install