[Q] 如何移除godaddy.com中 到期/過期的網域(expired domains )?
[sol] 登入後 點選 'My Account'
選擇到期/過期的domains
按下delete(就是像'禁止進入'的那個圖案)
//===
[Q] 如何取消網域自動續租(auto-renew)?
[sol]
仔細尋找 account summary 中的 'Manage auto-renew'
讓auto-renew 變成 off
//===
[建議]
取消網域的 自動續租功能.
(特別是那些頭一年2塊美金 特價買來學習試用的網域)
確定不會再用到的網域 最好刪除.
免得像某家雲端服務的'免費'試用帳戶
超過試用quota時 沒有事先通知
就直接從信用卡扣錢 ...
2012年1月29日 星期日
2012年1月21日 星期六
Linux-like 檔案權限
在安裝 drupal 的過程中
需要將 sites/default/目錄下的
預設組態檔 default.settings.php
複製成 settings.php
在隨後的安裝過程中 將新增/更改的設定值寫入 settings.php
因為一般drupal的安裝是透過瀏覽器連入http伺服器
執行php script , 此時執行者的身分一般並非
sites/default的使用者帳戶 , 而是www 或 apache ...
所以就有權限上的問題
此時須先放寬sites/default, sites/default/settings.php的權限,
等到安裝完成再改回來 :
//=== 安裝前
chmod a+w sites/default
chmod a+w sites/default/settings.php
//=== 安裝後
chmod go-w sites/default/settings.php
chmod go-w sites/default
//=== linux-like 的檔案權限
rwx 對應 3-bit
rwx=100 = 3 -> read only
rwx=110 = 6 -> read + write
rwx=111 = 7 -> read + write+ execute
那 ago, +, - 又表示什麼呢?
u: user (owner) 檔案或目錄的使用者(擁有者)
g: group
o: other
a: all = ugo
+ : 增加某些權限
- : 移除某些權限
[ref]
http://en.wikipedia.org/wiki/Chmod
http://en.wikipedia.org/wiki/Filesystem_permissions
http://www.drupal.org/
需要將 sites/default/目錄下的
預設組態檔 default.settings.php
複製成 settings.php
在隨後的安裝過程中 將新增/更改的設定值寫入 settings.php
因為一般drupal的安裝是透過瀏覽器連入http伺服器
執行php script , 此時執行者的身分一般並非
sites/default的使用者帳戶 , 而是www 或 apache ...
所以就有權限上的問題
此時須先放寬sites/default, sites/default/settings.php的權限,
等到安裝完成再改回來 :
//=== 安裝前
chmod a+w sites/default
chmod a+w sites/default/settings.php
//=== 安裝後
chmod go-w sites/default/settings.php
chmod go-w sites/default
//=== linux-like 的檔案權限
rwx 對應 3-bit
rwx=100 = 3 -> read only
rwx=110 = 6 -> read + write
rwx=111 = 7 -> read + write+ execute
那 ago, +, - 又表示什麼呢?
u: user (owner) 檔案或目錄的使用者(擁有者)
g: group
o: other
a: all = ugo
+ : 增加某些權限
- : 移除某些權限
[ref]
http://en.wikipedia.org/wiki/Chmod
http://en.wikipedia.org/wiki/Filesystem_permissions
http://www.drupal.org/
訂閱:
文章 (Atom)