【問題】關於FreeBSD 4.6的疑問 - 第2頁 - PCZONE 討論區

返回   PCZONE 討論區 > ▲ -- 電 腦 軟 體 討 論 區 > -- FreeBSD & Linux 討 論 版


PCZONE 討論區



通知

-- FreeBSD & Linux 討 論 版 因為本站採用 FreeBSD 作業系統,所以自己本身也多學了一些技巧,希望各位在這裡互相討論 Unix 作業系統及程式等相關問題。

進階會員

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 [email protected]:/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]#

回覆
會員

阿阿?what this?
回覆
會員

引用:
最初由 Jose 發表
阿阿?what this?
在FreeBSD 4.6上用port的方式安裝snmp給你看啊...
你覺得難不難呢?.....
還是難在英文看不懂?
回覆
會員

其實感覺起來裝過一次應該就會了吧!
難是難在我不知道你那篇的意義...
不過現在知道了,謝啦!

回覆







 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。