【問題】關於FreeBSD 4.6的疑問



贊助商連結


頁 : 1 [2]

repsol
2002-07-26, 12:02 PM
repsol.home.com:repsol[/usr/ports]#uname -a
FreeBSD repsol.home.com 4.6-RELEASE FreeBSD 4.6-RELEASE #8: Fri Jul 11 23:44:23 CST 2002 repsol@repsol.home.com:/usr/src/sys/compile/repsol i386

repsol.home.com:repsol[/usr/ports]#cd /usr/ports/net/net-snmp4
repsol.home.com:repsol[/usr/ports/net/net-snmp4]#make install


過程中間省略


===> Generating temporary packing list
===> Compressing manual pages for ucd-snmp-4.2.5
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for ucd-snmp-4.2.5
===> SECURITY NOTE:
This port has installed the following startup scripts which may cause
network services to be started at boot time.
/usr/local/etc/rc.d/snmpd.sh ============================================> 這邊找找

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://net-snmp.sourceforge.net/

repsol.home.com:repsol[/usr/ports/net/net-snmp4]#which snmpd
/usr/local/sbin/snmpd
repsol.home.com:repsol[/usr/ports/net/net-snmp4]#whereis snmpd
/usr/local/sbin/snmpd

repsol.home.com:repsol[/usr/ports/net/net-snmp4]#more /usr/local/etc/rc.d/snmpd.sh
/usr/local/sbin/snmpd
repsol.home.com:repsol[/usr/ports/net/net-snmp4]#ls -l /usr/local/etc/rc.d/snmpd.sh
-rwxr-xr-x 1 root wheel 22 5 13 20:17 /usr/local/etc/rc.d/snmpd.sh ====> 確定是否可執行權限
repsol.home.com:repsol[/usr/ports/net/net-snmp4]#/usr/local/etc/rc.d/snmpd.sh ==>直接執行
repsol.home.com:repsol[/usr/ports/net/net-snmp4]#ps ax |grep snmpd
54235 p3 S 0:00.08 /usr/local/sbin/snmpd

一切都很正常


repsol.home.com:repsol[/usr/ports/net/net-snmp4]#make clean

===> Cleaning for autoconf213-2.13.000227_2
===> Cleaning for libtool-1.3.4_4
===> Cleaning for m4-1.4_1
===> Cleaning for ucd-snmp-4.2.5

repsol.home.com:repsol[/usr/ports/net/net-snmp4]#

贊助商連結


Jose
2002-07-26, 12:38 PM
阿阿?what this?

dkjfso
2002-07-26, 02:40 PM
最初由 Jose 發表
阿阿?what this?

在FreeBSD 4.6上用port的方式安裝snmp給你看啊...
你覺得難不難呢?.....
還是難在英文看不懂?

Jose
2002-07-26, 03:49 PM
其實感覺起來裝過一次應該就會了吧!
難是難在我不知道你那篇的意義...:)
不過現在知道了,謝啦!