跟註冊組詢問各年級男女生的人數後,就可以開始建立學生網頁用的帳號了。

不過因為主機才剛建好沒多久,很多設定都還沒去改,趁這個機會順便改改:


改 /etc/sysconfig/i18n

LANG="zh-TW.Big5 ←改變

SUPPORTED="zh-TW.Big5:.........." ←新加入

 

改 /etc/profile 加入

export LC_ALL=zh_TW.Big5

export LANG=zh_TW.Big5

 

改 /etc/gruop

在 wheel 中加入可以切換成 root 的帳號

 

改 /etc/ssh /sshd_config

PermitRootLogin yes --> no

Protocol 2

 

新增 /etc/sshusers 加入可使用 ssh 的使用者

設定磁碟配額:用 webmin 可以很方便的更改

新增目錄:在 /etc/skel 裏新增 www, homework

 

改 /etc/httpd/conf/httpd.conf 的設定

UserDir www

AddDefaultCharset UTF-8 --> Big5

LanguagePriority --> zh-TW 放在前面

改 DirectoryIndex

index.htm index.html index.php index.php3 index.cgi

KeepAlive Off --> On

KeepAliveTimeout 15 --> 120

MaxKeepAliveRequests 100 --> 300

Timeout 300

ServerName stu.csjh.kh.edu.tw

ServerSignature On --> Off

ServerTokens ProductOnly

 

改 /etc/proftpd.conf

改 ServerName

MaxInstances 150

Group nogroup --> nobody

Anonymous 全註解

MaxClients 150

AllowStoreRestart on

RequireValidShell off

TimeoutIdle 3000

TimeoutNoTransfer 600

 

新增學生用目錄 s92, s93, s94

用 webmin 建帳號 92:450,500;93:400,450;94:450,450

arrow
arrow
    全站熱搜

    bhnknu 發表在 痞客邦 留言(0) 人氣()