Lab1
1.安裝kernel-doc
2./usr/share/doc/$(uname-r)/Documentation/networking/ip-sysctl.txt
3.value : net.ipv4.icmp_echo_ignore_all
4.寫入/proc
5. 寫入/etc/sysctl.conf
6. load sysctl.conf
[root@server118 ~]# sysctl net.ipv4.icmp_echo_ignore_all
net.ipv4.icmp_echo_ignore_all = 0
[root@server118 ~]# sysctl -w net.ipv4.icmp_echo_ignore_all=1
net.ipv4.icmp_echo_ignore_all = 1
[root@server118 ~]# sysctl net.ipv4.icmp_echo_ignore_all
net.ipv4.icmp_echo_ignore_all = 1
由server測試
[root@server1 ~]# ping -c4 192.168.0.118
PING 192.168.0.118 (192.168.0.118) 56(84) bytes of data.
--- 192.168.0.118 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3002ms
%寫入/etc/sysctl.conf
% #sysctl -p
開機時就會自動套用設定
Lab2
#top
#vmstat -s
#cat /proc/meminfo
#lspci
#lsmod
#hal-device
Previous post in this category: [雜記]RHCE筆記整理-RH133-Unit3(1)
Next post in this category: [雜記]RHCE筆記整理-RH133-Unit4(1)
[雜記]RHCE筆記整理-RH133-Unit4(1) - 2009
[雜記]RHCE筆記整理-RH133-Unit3(1) - 2009
【雜記】時間這種東東 - 2007
學習(2)
[雜記]RHCE筆記整理-考試綱要(2)












Recommend to Front page
Comment Permissions: Only members may comment. If you are not a PIXNET member, click here to sign up.