The operation system is CentOS.
1. Disable/turn off linux firewall on the headnode before installation
#/etc/init.d/iptables save
#/etc/init.d/iptables stop
Turn on Linux firewall on the headnode after installation
#/etc/init.d/iptables start
#bash ./iprules ;define iptables rules.
2. PXE boot
default root password: PASSWORD
3. check files:
/etc/resolv.conf
search headnode
nameserver xx.xx.xx.xx
/etc/sysconfig/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
DHCPCLASS=
HWADDR=XX:XX:XX:XX:XX:XX
ONBOOT=yes
/etc/hosts
/etc/fstab ; add the following line
XX.XX.XX.XX:/home /home nfs rw,sync 0 0
3. install NIS(YP) service
yum install ypserv
4. disable SELinux
/etc/selinux/config ;change "enforcing" into "disabled"
SELINUX=disabled
5. add/change lines in files:
/etc/nsswitch.conf
passwd: files nis nisplus
shadow: files nis nisplus
group: files nis nisplus
hosts: files nis dns
/etc/password ;add the following line at the end of this file
+======
6. restart node
7. modify the following files:
/etc/rc.d/rc.local ;add the following line to the end of the file
/bin/nisdomainname DOMAIN
/etc/yp.conf ; add the following line to the end of the file
ypserver headnode
/etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=host
NIDDOMAIN=DOMAIN
/etc/sysconfig/authconfig
USENIS =no -> USENIS=yes
/etc/pam.d/system-auth
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok ->
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok nis
8. Activate NIS
#/etc/init.d/portmap start
#chkconfig --level 35 portmap on
#/etc/rc.d/ypbind start ; if some error, check /etc/yp.conf, and rerun "/etc/init.d/portmap start"
#chkconfig --level 35 ypbind on
#ypcat passwd
9. Install software:
#yum groupinstall "Development Tools"
#yum groupinstall "X Window System" "GNOME Desktop Environment"
2010年8月11日星期三
2010年7月14日星期三
Activate partition under Windows 7
DISKPART
LIST DISK
SELECT DISK # (for Windows 7 disk)
LIST PARTITION
select partition # (for Windows 7 partition)
active
exit
LIST DISK
SELECT DISK # (for Windows 7 disk)
LIST PARTITION
select partition # (for Windows 7 partition)
active
exit
订阅:
博文 (Atom)