mentohust

Install
本文详细介绍了安装MentoHUST的方法,以及设置开机运行的方法。
本文介绍两种安装MentoHUST的方法:
?依据平台来安装MentoHUST:
?手动编译安装MentoHUST:
另外,也提供一些设置开启启动的方法。
二进制软件包?
Fedora发行版?
请下载最新的RPM软件包,然后切换至对应目录,在命令行中输入以下命令:
rpm -ivh "rpm包文件名"Ubuntu发行版?
请下载最新的DEB软件包,双击deb包即可安装。
ArchLinux发行版?
目前,ArchLinux发行版的用户可以在AUR中搜索mentohust软件包来进行安装。或者点击以下下链接直接查 看: AUR上mentohust包
对于安装了 yaourt 软件的用户,可以直接运行以下命令安装:
yaourt -S mentohust另外,你也可以直接下载已经编译好的软件包(x86_64平台或i686平台 )。
手动编译?
准备好源代码?
您可以直接下载源代码包或者运行以下命令从svn仓库取出最新版代码并生成对应的configure文件:
svn checkout https://www.360docs.net/doc/0518991309.html,/svn/trunk/ mentohust cd mentohust sh autogen.sh配置MentoHUST?
目前您可以根据自己的需求启动或禁止以下特性:
--enable-debug Build a debug version --disable-encodepass Don't encode password --disable-arp Don't care ARP info --disable-notify Don't show notification对于普通PC用户,一般运行这个命令配置即可:
./configure --prefix=/usr对于交叉编译的用户,建议只保留ARP特性:
./configure --host=arm-linux --disable-encodepass --disable-notify编译并安装?
make && make install给程序授予超级用户权限(可选)?
sudo chmod a+s /usr/bin/mentohust如果您不运行这个命令,那么以后启动mentohust,均需要注意以root权限运行(例如,sudo mentohust)
开机运行?
Ubuntu、Fedora用户?
选择菜单“系统->首选项->启动应用程序”,点击“添加”,输入名称MentoHUST,命令sudo mentohust,点击“添加”即可。
ArchLinux用户?
AUR中的mentoHUST软件包提供了一个rc脚本,因此直接在系统配置文件/etc/rc.conf中的DAEMONS节添加'mentohust' 即可:
DAEMONS=(syslog-ng network ... @mentohust ...)rc.local方式?
对于没有修改/etc/sudoers文件使得sudo无需密码的用户,使用“在桌面环境中添加自动启动”的方法也许不能实现mentohust开机自动运行的,可通过修改/etc/rc.local*或者/etc/gdm/Init/Default*等文件来实现,例如:
sudo gedit /etc/gdm/Init/Default然后在exit 0(最后一行)前面加入以下内容:
if [ -x /usr/bin/mentohust ]; then /usr/bin/mentohust fiMacOS用户?
待编辑。
小技巧?
?建议需要开机运行的用户使用以下命令将MentoHUST设置为daemon运行并保存输出到/tmp/mentohust.log,开启消息通知。
sudo mentohust -b3 -y5 -w



Comment by winnieks7, May 20, 2010
为什么

不写MacOS用户怎么用呢?

Comment by winnieks7, Jun 12, 2010
喂!摆脱回答一下我的问题好不好~

Comment by project member www.eh...@https://www.360docs.net/doc/0518991309.html,, Jun 12, 2010
MacOS下使用方法与Linux下使用方法基本相同。 区别是没有安装包,需要手动复制mentohust和dhcping到/usr/bin目录

Comment by gfreezy, Jul 22, 2010
0.3.4版有没有archlinux版的 源码也可以。。

相关文档
最新文档