Please input the directory to install panabit [/usr/panabit]缺省直接回车,可以更换目录)
Please input the directory to store log [/usr/panalog]缺省直接回车,可以更换目录)
Please input the directory to store configuration [/usr/panaetc]缺省直接回车,可以更换目录)
The last time to verify your choice:
(1) The directory that you want to install is "/usr/panabit"
(2) The directory that the log to be stored is "/usr/panalog"
(3) The directory that the configuration to be stored is "/usr/panaetc"
Above are right(y/n[y])?(回车"y"表示确认)
Initializing configurations ...ok
Saving configuration to /etc/PG.conf ...
****** Congratulations ******!
You have successfully installed Panabit on your system:
(1) The installed path is: /usr/panabit
(2) The log path is: /usr/panalog
(3) The configuration path is: /usr/panaetc
To make your system more sutiable for panabit running, it's recomended of tuning your system according your system memory size and cpu frequence.
Do you want to tune your system(y/n)y(此处询问是否调节内核优化参数,系统自动检测)
Your kernel configuration has been tuned as the followings:
#console="comconsole"
autoboot_delay="2"
beastie_disable="YES"
kern.ipc.nmbclusters=10240
kern.maxdsiz=2000000000
(上面5行,后2行为安装脚本自动增加,前3行是系统原有的)
Warning: your em driver has been compiled into kernel.
To optimize panabit performance, we recommend you use the optimized driver panaos provides.
To use the optimized driver, please remove em driver from your kernel.
(此处为一般性提示,仅作为参考,标准版用户忽略此项)
You should restart your system to make they take effects.
(需要重启系统,调整参数才会生效。注意安装完毕,reboot系统)
Following interfaces are installed in your system:
em0 em1 em2(这是系统识别的3块网卡列表,供下面选择指定使用)
Please choose one of above as your admin interface: em0(选择em0作为管理端口)
Please input ip address of admin interface: 192.168.0.18
Please input network mask of admin interface: 255.255.255.0
Please input default gateway: 192.168.0.1(这3行的网路参数根据实际情况给定)
The following interfaces are left for your data processing:
em1 em2
Please select data interfaces: em1 em2(指定两个网卡时,用空格隔开,一般选择性能好的网卡作为数据网卡)
Your interface configurations are:
Admin interface : em0
Admin ip address : 192.168.0.8
Admin netmask : 255.255.255.0
Default gateway : 192.168.0.1
Data interfaces : em1 em2
(再次显示管理口参数、数据网路接口)
Thank you for using panabit!
You can issue "/usr/panabit/bin/ipectrl start" to start panabit!
And you can also add the above command to /etc/rc.local file to let the system automaticly start panabit at system startup!
(启动Panabit进程命令:/usr/panabit/bin/ipectrl start,如果安装目录费缺省目录,则需要根据实际情况改变路径;为了能开机自动启动,可以将启动进程命令行加入: /etc/rc.local文件)
If you want to stop the currently running panabit, you can issue
"/usr/panabit/bin/ipectrl stop" to stop it!
(停止Panabit进程命令:/usr/panabit/bin/ipectrl stop)