最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

RHCE真题

来源:动视网 责编:小OO 时间:2025-09-29 23:26:45
文档

RHCE真题

一partitionthediskaccordingtothefollowingtable:/boot100MSwap512MRAID4096MRAID4096MLVMPV8192M1CombinethetwoRAIDpartiongsintoaRAID0devicewith“ext3”asthefilesystemtypeandmountdas“/”2Createavolumegroupnamed“vol0”withthefollowinglogicalvolumes:NameSizeFil
推荐度:
导读一partitionthediskaccordingtothefollowingtable:/boot100MSwap512MRAID4096MRAID4096MLVMPV8192M1CombinethetwoRAIDpartiongsintoaRAID0devicewith“ext3”asthefilesystemtypeandmountdas“/”2Createavolumegroupnamed“vol0”withthefollowinglogicalvolumes:NameSizeFil
一 partition the disk according to the following table:

/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:

NameSizeFilesystemMount Point
lv.home512MBExt3/home
lv.srv2000MBExt3/usr
lv.tmp256MBExt3/tmp
3 use the default bootloader and network settings.choose the appropriate locality settings and “redhat” as root password.

二 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.

文档

RHCE真题

一partitionthediskaccordingtothefollowingtable:/boot100MSwap512MRAID4096MRAID4096MLVMPV8192M1CombinethetwoRAIDpartiongsintoaRAID0devicewith“ext3”asthefilesystemtypeandmountdas“/”2Createavolumegroupnamed“vol0”withthefollowinglogicalvolumes:NameSizeFil
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top