Posts
安裝MRTG 主機流量分析
SNMP Simple Network Management Protocol 使用 PORTS 安裝: cd /usr/ports/net-mgmt/net-snmp ; make install ; rehash 設定 /etc/rc.conf 加入下列設定內容: snmpd_enable=”YES” snmpd_flags=”-p /var/run/snmpd.pid” /etc/hosts.allow 在第一行加入下列設定內容: snmpd : localhost : allow /usr/local/share/snmp/snmpd.conf 新建此檔案,內容如下: rocommunity mrtgmgr syslocation FreeBSD syscontact Maintainer
Posts
FreeBSD 安裝nvidia-driver顯卡驅動程式
/usr/ports/x11/nvidia-driver make install To use these drivers, make sure that you have loaded the nvidia kernel module, by doing # kldload nvidia or adding nvidia_load=”YES” to your /boot/loader.conf
Posts
SSH-keygen SSH加密KEY
/usr/bin/ssh-keygen -t rsa1 -b 1024 -f /etc/ssh/ssh_host_key /usr/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key /usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key