2)安装 Panabit
步骤如下:
Panabit#cd /usr/local
Panabit#tar zxvf Panabitxxxx.tar.gz (xxxx 需要换成对应版本数字编号)
Panabit#cd Panabitxxxx
Panabit#./ ipeinstall
根据脚本提示,可以按照缺省的安装目录,1-2 分钟,即可安装完毕。下面是脚本运行过程:
Welcome installing panabit!
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"表示确认)
Creating directory "/usr/panabit" ...ok
Creating directory "/usr/panalog" ...ok
Installing Panabit to "/usr/panabit" ...ok
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])(回车"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 行是系统原有的,这 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: