
/boot 100M
Swap 512M
RAID 4096M
RAID 4096M
LVM PV 8192M
1 Combine the two RAID partiongs into a RAID 0 device with “ext3” as the filesystem type and mountd as “/”
2 Create a volume group named “vol0” with the following logical volumes:
| Name | Size | Filesystem | Mount Point |
| lv.home | 512MB | Ext3 | /home |
| lv.srv | 2000MB | Ext3 | /usr |
| lv.tmp | 256MB | Ext3 | /tmp |
二 create a new filesystem
1 use fdisk –l to locate information about your hard disk .depending on hardware you will see either a /dev/sda or /dev/hda disk.add a new partition that is 256MB in size.create an ext3 filesystem on the new partition and assign the label opt.make sure that the system persistently mounts the filesystem to /opt after reboot.
三 creating the groups and users.setting up shared directories.working with ACLs
1 add accounts for the following seven users to your system:Joshua,alex,dax,bryan,zak,ed,and manager.assign each user this password:password.add the following groups to the system: sales(GID:200),hr(GID:201),web(GID:202).add Joshua and alex to the sales auxiliary group,dax and bryan to the hr auxiliary group,add zak and ed to the web auxiliary group.add manager to all of there auxiliary groups.add the web group to be one of dax’s auxiliary groups(ensure the dax keeps his existing auxiliary groups).
2 create a directory called /depts with sales,hr,and web subdirectories.set ghe group ownership of each directory to the group with the matching name.check the perminssions on the /depts directory to verify that everyone can access,but not write to the directory.change the permissions on each each subdirectory to grant full permissions(rwx) to the group and deny access to others.files created within those directories should be owned by the appropriate group.
3 add an acct group.add four user accounts for amy,arthur,ann,andaustin.place all users in the “secondary” acct group.the users need not have passwords.as root,create /acct as a directory in the root filesystem.the directory should be owned by amy,assigned to the acct group,with permissions of 755.set the permissions for /opt to 1777.as amy,use ACLs to grant read,write,and execute access to the /acct directory to arthur and ann.investigate write privileges.as amy,create two files in /acct:cayman and swiss.allow arthur to write to cayman and ann to write to swiss.create a subdirectory called banks.set the ACL such that all files created in banks are writable by amy,arthur,and ann,but not austin.
四 implementing quotas
1 create a user diskhog.activate user quotas for /home. Set the soft block quota of user diskhog to 512 1k blocks and the hard limit to 1024 1k blocks.
五 creating logical volumes with LVM
1 add two new partition that is 512MB in size.and created the physical volume .create a volume group named volgroup with the default extent size,whith users the physical volume that was just created.create a logical volume named all available extents. Create a filesystem on it and make sure that this is mounted to /data during boot.
2 in an emergency,create a new partition fo 512MB and be sure to set the partition type to “linux”.Tag the new partition as an LVM Physical Volume.add the new partition to your volume group.increate the data logical volume and filesystem by 40MB .
六 CUPS printer administration.
1 add a printer to your system named using the generic,text-only,print driver . make this an “internet printing protocol” device.For Hostname,use the IPaddress of a classmates system.for Printername,use the name they specified.Print to the remote printer,and have a classmate print to your printer.
Note:Replace Ywith the station number of a classmate who is also doing this exam.
七 client-side NIS account management
1 configure your client to use NIS for authentication.use notexample as the domain and 192.168.0.254 as the server.you can test NIS with the user guest20XX(where XX is a two-digit version of your station number),and a password of password .use the automounter to mount the home directories for your NIS users for 192.168.0.254.
八 updating and installing software using yum
1 configure your system to connect to the repositories available on 192.168.0.254 by downloading a repository configuration from the URL ftp://192.168.0.254/pub/errata. check to see if there are any updates for your system.specifically update the kernel or kernel-PAE package on your system.
RHCE
一 implementing file transport protocol (FTP) services
1 configure vsftpd to permit uploads by anonymous users.prepare a directory named /var/ftp for incoming files.make the group ownership ftp,and make the permissions 730.
2 make vsftpd available from the local network .no available from other hosts.
二 implementing network file sharing services
1 create a user named nfstest with the user ID 1000 and configure NFS to share the user’s home directory to example.com with read/write privileges.
