(1)安裝RedHat 7.2 Linux時(shí)選擇"服務(wù)器"或者定制安裝服務(wù)器軟件; (2)修改/etc/httpd/conf/httpd.conf文件中下面關(guān)于個(gè)人空間設(shè)置的一段。(//后是具體說(shuō)明) UserDir public_Html //此處修改默認(rèn)目錄,可修改,應(yīng)該與下面的 //相對(duì)應(yīng) # # Control access to UserDir Directories. The following is an example # for a site where these directories are restricted to read-only. # # // # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # //.....行之間的所有#去掉,使得個(gè)人主頁(yè)用戶(hù)的設(shè)置生效.并且""中的 "/home/*/public_html"是個(gè)人主頁(yè)服務(wù)在Linux中存放位置的設(shè)置 *代表用戶(hù)名生成的目錄名。 重新啟動(dòng)httpd服務(wù):httpd stop / httpd start 或者h(yuǎn)ttpd restart