HoSaNIC

# need file
http://www.fastmirrors.org/rrdtool/rrdtool-1.0.x/rrdtool-1.0.42.tar.gz
http://nchc.dl.sourceforge.net/sourceforge/hotsanic/HotSaNIC-0.4.0.tgz

This howto is old, it may not work. There are new versions of HotSaNIC and rrdtool available. You can use the newer versions and use this how as a guide, this howto is not 100% correct anymore.

From root

First, we will need to install RRDtool

wget http://www.fastmirrors.org/rrdtool/rrdtool-1.0.x/rrdtool-1.0.42.tar.gz
tar zxf rrdtool-1.0.42.tar.gz
cd rrdtool-1.0.42
./configure --prefix=/usr/local/rrdtool
make
make install
make site-perl-install
cd ..
rm -fr rrdtool-1.0.42*

Now we will install and configure HotSaNIC

cd /usr/local
wget http://nchc.dl.sourceforge.net/sourceforge/hotsanic/HotSaNIC-0.4.0.tgz
tar zxf HotSaNIC-0.4.0.tgz
rm -f HotSaNIC-0.4.0.tgz
cd HotSaNIC
./setup.pl

You will be asked a number of questions during the install script.

Module found: SENSORS Do you want to use this module?
Choose 'n'

Module found: DNET Do you want to use this module?
Choose 'n'

Module found: PART Do you want to use this module?
Choose 'y'

Do you want to show this module's graphs on the webpage?
Choose 'y'

Module found: PING Do you want to use this module?
Choose 'n'

Module found: TRAFFIC Do you want to use this module?
Choose 'y'

Do you want to show this module's graphs on the webpage?
Choose 'y'

Found: eth0 - (y)es or (n)o
Choose 'y' (If you are prompted for any other interfaces starting with 'eth0' choose 'n')

Found: lo - (y)es or (n)o
Choose 'n'

Module found: NETWORKS Do you want to use this module?
Choose 'n'

Module found: DISKIO Do you want to use this module?
Choose 'n'

Module found: SYSTEM Do you want to use this module?
Choose 'y'

Do you want this module's graphs on the webpage?
Choose 'y'

Module found: WORMS Do you want to use this module?
Choose 'n'

You are now back at the command prompt. (If it asks you more questions, just accept the default answers.. we are using these settings below....)

Let's configure HotSaNIC by entering the following.

cd settings.all
pico main

press [ctrl -w] then type 'binpath' then press [enter]. Find and change this line.

BINPATH="not configured"

change to

BINPATH="/usr/local/rrdtool/bin"

press [ctrl -w] again then type 'webdir' then press [enter]. Find and change this line.

WEBDIR="not configured"

change to

WEBDIR="/var/www/html/HotSaNIC"

press [ctrl -w] again then type 'ctime' then press [enter]. Find and change this line.

CTIME="24"

change to

CTIME="4"

press [ctrl -w] again then type 'convertpath' then press [enter]. Find and change this line.

CONVERTPATH="not configured"

change to

CONVERTPATH="/usr/bin/convert"

Finally, to save and exit press [ctrl -x] Y then [enter]. At the prompt type.

pico data-traffic

Find and change this line:

SWAPIO="no"

change to

SWAPIO="yes"

Again, to save and exit press [ctrl -x] Y then [enter]. At the prompt type.

cd ..
mkdir /var/www/html/HotSaNIC
./rrdgraph start
./makeindex.pl
./diagrams
./convert.pl

You now have HotSaNIC installed

To view HotSaNIC go to http://yourIPaddress/HotSaNIC/

(it will take a few mins for the graphs to generate data.

Now, Lets set HotSaNIC up so it will start when you reboot your server.

pico /etc/rc.local

Add this line:

/usr/local/HotSaNIC/./rrdgraph start

Then [ctrl -x] Y then [enter] to save

All Done!

基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目,个人经导师指导并认可通过的高分设计项目,评审分99分,代码完整确保可以运行,小白也可以亲自搞定,主要针对计算机相关专业的正在做大作业的学生和需要项目实战练习的学习者,可作为毕业设计、课程设计、期末大作业,代码资料完整,下载可用。 基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(含完整源码)高分项目基于C#与Unity3D的机械臂仿真系统实现(
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值