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 (10) – SMTP,NFS, boot parameter

1, Configure smtp service, reject the mail from remote.test install postfix, installed before. copy from access, cd /etc/postfix/ vim access copy following lines, # /etc/postfix/main.cf: # smtpd_client_restrictions = # check_client_access hash: /etc/postfix/access copy to /etc/postfix/main.cf, and switch on, /etc/postfix/main.cf: smtpd_client_restrictions = check_client_access hash: /etc/postfix/access modify the access document, add one line, 192.168.0.254 REJECT 2, Configure […]

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 […]