- cp –var . /mnt/test/ ( Copy all folders & files to /mnt/test/ folder )
- chkconfig xxxx on ( xxxx = service like squid/httpd/netfs , only can type files in /etc/init.d/ )
- ntsysv ( setup service lists )
- ifdown eth2 ( Disable NIC 2 )
- ifup eth2 ( Enable NIC 2 )
- /etc/sysconfig/network-script/vi ifcfg-eth2 ( Address file for eth2 )
- :q! ( exit without save in VI editor )
- /acl ( find “ acl “ character in VI editor )
- service iptables save ( saving iptables rules )
- iptstate ( show iptables status )
- /etc/vi sysctl.conf -> net.ipv4.ip-forward = 0/1 ( 0 is disable NAT )
- dw01:home\root# scp – r * dw12:\home\kkk ( copy all files under dw01’s computer \home\root
folder to dw12:\home\kkk folder )
- :linux askmethod ( OS installation from Network, type when Bootup )
- cat /proc/cpuinfo ( Display CPU Information, Linux Show 1 processor as 2 Processor )
- free -m ( Display memory information with MB )
- fdisk -l ( Display Storage information )
- lspci (Display Drives Information)
- top (Display Running Task with CPU Utilization)
- df (Display disk Usage)
- scp -r LOCAL_FILE.txt YOUR_USERNAME@192.168.2.102:/folder/subfolder
- echo "1" > /proc/sys/net/ipv4/ip_forward ( Enable NAT , 0 = Disable )
- vi /etc/resolv.conf (DNS Server entry)
- vi /etc/fstat (mounting partition & volume in startup )
- rpm -qi squid ( show RPM version for squid )
- netstat -ntlp ( show current running service in network )
- yum erase squid ( Uninstall Squid, need already installed yum packet for yum command )
Friday, October 2, 2009
Subscribe to:
Post Comments (Atom)
-
ကကုသန္ဓော ကောဏဂမနော ကဿပေါ ဂေါတမော မုနိဆယ်ထား ဆယ်တော်မူမြတ်စွာဘုရား မေတ္တယျော ပဉ္စဗုဒ္ဓေါတေ သိသေမေသန္တ သဗ္ဗဒါ ဧတေသံ အာနုဘာဝေန ရက္ခဒေဝါ မဟိဒ္ဓ...
-
Linux, Create File With Content & Specified Size #dd if=/dev/urandom of=3MB bs=1 count=0 seek=3M #dd if=/dev/urandom of=5MB bs=1 count...
-
1. Go to http://www.vmware.com/patchmgr/download.portal and login with your VMWare account. Download following files. - upgrade-from-E...
No comments:
Post a Comment