westos exam rhce

考試說明
yum服務器的位置:ftp://192.168.0.254/pub/rhel6/dvd
gpgkey的位置/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
DNS:192.168.0.254
網關:192.168.0.254
ipaddr:192.168.0.x
虛擬機主機名:serverX.example.com
iscsi 服務器: instructor.example.com

rhce測試題
1. SELinux 設置爲開機自動 enforcing
2. 啓用內核IP轉發
3. 禁用student用戶使用crontab
4. ftp服務器僅允許example.com域用戶匿名登錄
5. mail服務器可以接收本機和遠程郵件,student用戶可以從遠程接收郵件,郵件存放到指定目錄/var/spool/mail/username
6. 配置mail別名,使發送給admin的郵件發給student
7. 配置apache服務器,下載頁面:ftp://instructor.example.com/pub/materials/station.html 到 /var/www/html 作爲首頁,可以訪問http://serverX.example.com
8. 建立apache虛擬主機,下載頁面:ftp://instructor.example.com/pub/materials/www.html 到 /www/virtual 作爲首頁,可以訪問http://wwwX.example.com
9. 在/var/www/html 建一個 secret 目錄,並啓用身份驗證,僅允許本地用戶訪問
10. 下載文件ftp://instructor.example.com/materials/words,查找hr字符串行,並按順序複製到/root/lines.txt
11. 掛載 ISO 鏡像文件到/mnt/img,啓動時自動掛載 ftp://instructor.example.com/pub/materials/boot.iso
12. 編寫一個腳本 test.sh,當執行命令“sh test.sh cat”執行腳本時,輸出 dog
    執行”sh test.sh dog”執行腳本時 輸出 cat
    執行“sh test.sh 空格或其他字符“執行腳本時,屏幕輸出錯誤寫符串。
13. 開機後查看/proc/cmdline,其中包含max_loop=16
14. 禁止只允許 192.168.0.0/24 網段用戶訪問 ssh 服務
15. 配置iscsi 目標:iqn.2010-09.com.example:rdisks.serverX, 永久掛載到/mnt/data,下載文件到/mnt/data 權限爲0644,ftp://instructor.example.com/materials/iscsi.txt
16. nfs共享/common, 僅允許當前example.com域用戶訪問
17. Samba 共享/common,工作組名 STAFF,要求 browseable=yes ,harry用戶可以讀取密碼爲harry
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章