Linux
wenchenzhao113
为今天比昨天进步一点而努力奋斗
展开
-
Setting of NIC bonding on RHEL4 and SLES9
e.g. Bonding eth1 and eth2 to bond0;On RHEL: 3 places need to be modified, reboot after modification1. Under dir /etc/sysconfig/network-scripts[root@china1 network-scripts]# cat ifcfg-bond0 DEVICE=bon原创 2008-04-17 18:11:00 · 391 阅读 · 0 评论 -
configure ssh on solaris/linux
Two systems named local and remote, build root ssh login between them without password assigned1. enable root login on both systems on solaris, no need to do it on linuxmodify "/etc/ssh/sshd_con原创 2008-04-29 16:17:00 · 469 阅读 · 0 评论 -
Oracle ASM
[RAW disks used for ASM]RHEL4U6:Modify "/etc/sysconfig/rawdevices", add raw disk binding information, which looks like: /dev/raw/raw1 /dev/sdb1Start raw devices[root@china1 ~]# /etc/init.d/rawdevic原创 2008-07-16 15:58:00 · 414 阅读 · 0 评论 -
Enable/disable nfs
Solaris:share -F nfs /dirunshare /dirLinux:modify /etc/exportsadd dirs you want to share/dir *(ro, no_root_squash)# there are more options for nfs, pls look into the nfs manual;原创 2008-07-22 15:13:00 · 643 阅读 · 0 评论 -
Disable dhcp
ifconfig nic_name dhcp drop原创 2009-09-03 10:53:00 · 781 阅读 · 0 评论