以Fedora5為例,其它諸如Ubuntu之類也類似。 目前使用者名為:test,為一普通使用者。在輸入關機命令會出現must be superuser,需要超級使用者來執行此命令。操作如下:[test@localhost ~]$ halthalt: must be superuser.經測試本人發現,可以使用umask命令來設定,如下:[test@localhost ~]$ su
Linux Deploy Rails3 with Ruby1.9.2(5)Fix the Error Messages1. Sprockets::Environment#path is deprecatedwe have 2 ways to solve this, it is harmless warning messageone way is to upgrade our rails from rc5 to rc8.>gem install rails
從開始學linux到現在已經有一個多星期了,對於shell指令碼的編輯也做了不少。很多的指令碼裡面都會有各種各樣的提示使用者輸入的各種內容的指令read,以及顯示指令echo。很多人為了變成的主體,都將他們簡寫了,比如提示:使用者輸入1~255的任意一個數則寫成:echo “Enter anumber between 1 to 255 :”這樣一來,在linux的命令列裡顯示則顯示為[root@linux ~]#Entera number between 1
linux--watch命令使用 1.watch命令簡介 www.2cto.com watch [options] commandThe watch program executes a given command at regular inter-vals; the default is every two seconds. The command is passed to the shell (so be sure to quote or escape
linux系統下xampp安裝zip擴充的時候注意事項有以下幾點: 1、安裝的時候報錯: grep: /opt/lampp/include/php/main/php.h: No such file or directory grep: /opt/lampp/include/php/Zend/zend_modules.h: No such file or directory grep:
apache提示DocumentRoot must be a directory的問題 將DocumentRoot改為/home/test/www後提示:Starting httpd: Syntax error on line 293 of /etc/httpd/conf/httpd.conf:DocumentRoot must be a directory www.2cto.com [root@sl ~]# getsebool -a |grep
查看Apache載入的模組 .apachectl -t -D DUMP_MODULES www.2cto.com apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerNameLoaded Modules: core_module