RHCE6 Preperation (11) – Quota

Create quota for user alice and /home/alice, least/soft limit is 40K, when exceeding 80K, the system will display the exceeded the user quota. 1, check the kernel support the quota function, [root@server4 home]# grep CONFIG_QUOTA /boot/config-2.6.32-358.6.1.el6.x86_64 CONFIG_QUOTA=y CONFIG_QUOTA_NETLINK_INTERFACE=y # CONFIG_QUOTA_DEBUG is not set CONFIG_QUOTA_TREE=y CONFIG_QUOTACTL=y [root@server4 home]# 2, modify the /etc/fstab to activate the quota […]

RHCE6 Preperation (8) – http, virtual host, http limited access

1, Implement a web server for the site http://serverX.example.com,then perform the following steps:— Download ftp://instructor.example.com/pub/rhce/server.html— Rename the downloaded file to index.html— Copy this index.html to DocumountRoot of your web server — Do NOT make any modifications to the content of index.html Install the http, yum install http* start the service and make it auto start when […]