LAB
1.create accounts
for user in joshua alex dax
do
useradd $user
echo 'passowrd' |passwd --stdin $user
done
2. create groups
- Aug 09 Sun 2009 14:08
[雜記]RHCE筆記整理-RH133-Unit6(2)
- Aug 09 Sun 2009 13:39
[雜記]RHCE筆記整理-RH133-Unit6(1)
User Administration
%user's home directories get populated with the files from "/etc/skel/*"
1. Command:
(1)user administration
#useradd [options] username
- Aug 09 Sun 2009 12:34
[雜記]RHCE筆記整理-RH133-Unit9(5)
LAB
%add a new partion and set to LVM
1. create LVM (partition type: 8e)
[root@server1 ~]# pvcreate /dev/sdb8
Physical volume "/dev/sdb8" successfully created
[root@server1 ~]# vgcreate vg0 /dev/sdb8
- Aug 09 Sun 2009 12:01
[雜記]RHCE筆記整理-RH133-Unit9(4)
LAB
%Raid ( a disk fail)
1.create raid5
#mdadm -C /dev/md0 -l 5 -n 3 /dev/sdb{5,6,7}
#mkfs.ext3 /dev/md0
#cat /proc/mdstat
- Aug 09 Sun 2009 11:53
[雜記]RHCE筆記整理-RH133-Unit9(3)
LAB:
Raid
1. create raid1
Disk /dev/sdb: 3253 MB, 3253469184 bytes
101 heads, 62 sectors/track, 1014 cylinders
Units = cylinders of 6262 * 512 = 3206144 bytes