<   centos常用指令   >

免費免註冊,彰化一整天線上測驗:http://exam.bestdaylong.com/test1694.htm

【2】( )1. 用vi修改phpmyadmin允許連線ip指令(1)curl -u user:pwd -o ftp://10.0.0.1/a.txt (2)vi /etc/httpd/conf.d/phpmyadmin.conf (3)service httpd restart (4)yum install phpmyadmin
【1】( )2. 建立目錄d1的指令(1)mkdir d1 (2)yyp (3)/ (4)n
【3】( )3. 使用完整路徑將apache啟動(1)mkdir d1 (2)yyp (3)/usr/local/apache/bin/apachectl start (4)tar zxvf test.tgz
【3】( )4. vi儲存檔案並立即離開指令(1)vi /etc/ssh/sshd_config (2)vi /etc/init.d/mysqld (3)wq! (4)vi /etc/hosts.allow
【1】( )5. 使用tar解壓縮test.tgz檔案指令(1)tar zxvf test.tgz (2)mkdir d1 (3)yyp (4)/
【2】( )6. 利用yum安裝phpmyadmin的指令(1)yum install system-config-firewall-tui (2)yum install phpmyadmin (3)curl -u user:pwd -o ftp://10.0.0.1/a.txt (4)vi /etc/sysconfig/network-scripts/ifcfg-eth0
【1】( )7. 使用完整路徑將mysql啟動(1)/usr/local/mysql/share/mysql/mysql.server start (2)/usr/local/apache/bin/apachectl start (3)tar zxvf test.tgz (4)mkdir d1
【2】( )8. 用curl下載ftp://10.0.0.1/的a.txt使用者名稱user密碼為pwd同檔名下載指令(1)service iptables status (2)curl -u user:pwd -o ftp://10.0.0.1/a.txt (3)vi /etc/sysconfig/network-scripts/ifcfg-eth0 (4)yum install system-config-firewall-tui
【4】( )9. 設定root可不可以遠端連線要用vi修改那個檔案(1)vi /etc/init.d/mysqld (2)vi /etc/httpd/conf.d/phpmyadmin.conf (3)service httpd restart (4)vi /etc/ssh/sshd_config
【1】( )10. 將apache重新啟動的指令(1)service httpd restart (2)yum install phpmyadmin (3)curl -u user:pwd -o ftp://10.0.0.1/a.txt (4)vi /etc/sysconfig/network-scripts/ifcfg-eth0
【3】( )11. vi尋找字串指令找到要換下一個指令(1)wq! (2)vi /etc/hosts.allow (3)n (4)ll
【1】( )12. 修改第一張網路(eth0)設定的指令(1)vi /etc/sysconfig/network-scripts/ifcfg-eth0 (2)yum install system-config-firewall-tui (3)service iptables status (4)yum install system-config-network-tui
【3】( )13. vi複製同一行指令(1)n (2)ll (3)yyp (4)/
【3】( )14. 利用service查看目前防火牆的設定(1)/usr/local/mysql/share/mysql/mysql.server start (2)/usr/local/apache/bin/apachectl start (3)service iptables status (4)yum install system-config-network-tui
【4】( )15. 利用yum安裝文字介面網路設定(1)/usr/local/mysql/share/mysql/mysql.server start (2)/usr/local/apache/bin/apachectl start (3)tar zxvf test.tgz (4)yum install system-config-network-tui
【2】( )16. 用vi修改限制用戶端連線IP位址(1)vi /etc/httpd/conf.d/phpmyadmin.conf (2)vi /etc/hosts.allow (3)vi /etc/ssh/sshd_config (4)vi /etc/init.d/mysqld
【4】( )17. 利用yum安裝文字介面防火牆設定(1)service iptables status (2)yum install system-config-network-tui (3)/usr/local/mysql/share/mysql/mysql.server start (4)yum install system-config-firewall-tui
【4】( )18. vi尋找字串指令(1)n (2)ll (3)wq! (4)/
【4】( )19. 查看目前目錄檔案(有顯示檔案大小)(1)wq! (2)vi /etc/hosts.allow (3)vi /etc/ssh/sshd_config (4)ll
【2】( )20. 用vi指令查看那個檔案可以看到mysql的存放路徑(1)yum install phpmyadmin (2)vi /etc/init.d/mysqld (3)vi /etc/httpd/conf.d/phpmyadmin.conf (4)service httpd restart

解答:
001.【2】002.【1】003.【3】004.【3】005.【1】006.【2】007.【1】008.【2】009.【4】010.【1】
011.【3】012.【1】013.【3】014.【3】015.【4】016.【2】017.【4】018.【4】019.【4】020.【2】

詳解: