2014年8月30日 星期六

建立 Apache 使用者家目錄範本


  1. 到使用者範本目錄
    cd /etc/skel/
  2. 建立 Apache 使用者家目錄 (配合 Apache 設定)
    mkdir www
  3. 建立預設目錄、檔案
    cd www
    mkdir images
    mkdir midi
    vi index.htm


參考網頁:鳥哥的 Linux 私房菜 -- WWW 伺服器 Apache
http://vbird.dic.ksu.edu.tw/linux_server/0360apache_3.php#www_adv

2014年8月23日 星期六

2014年7月27日 星期日

Windows 電源效率報告

  1. 以系統管理員身分執行 CMD 
  2. powercfg /energy
  3. 複製 C:\WINDOWS\system32\energy-report.html 到其他資料夾,點兩下即可看報告。

在 Windows 8 桌面建立 CMD 捷徑

  1. 在桌面按右鍵 → 新增 → 捷徑

2014年5月22日 星期四

2014年5月10日 星期六

學務系統啟用SSL(https)連線

參考網頁:http://www.sfs.project.edu.tw/modules/news/article.php?storyid=163
系統:CentOS

2014年4月23日 星期三

CentOS 使用 yum 更新 kernel

CentOS 使用 yum 更新 kernel 時顯示 /boot 空間不足
Error Summary
-------------
Disk Requirements:
  At least 2MB more space needed on the /boot filesystem.

2014年4月21日 星期一

Chrome 的 Flash 無法顯示

啟用或停用 Adobe Flash Player

在網址列輸入 chrome:plugins 即可開啟「外掛程式」網頁。
在顯示的外掛程式網頁中,找到 [Flash] 清單。
如要啟用 Adobe Flash Player,請按一下 Adobe Flash Player 名稱底下的 [啟用] 連結。
如要完全停用 Adobe Flash Player,請按一下 Adobe Flash Player 名稱底下的 [停用] 連結。

取自:
https://support.google.com/chrome/answer/108086?hl=zh-Hant

2014年4月16日 星期三

CentOS 設定磁碟配額 quota

CentOS 設定磁碟配額 quota

# cat /etc/redhat-release
CentOS release 6.5 (Final)


將設定寫入 fstab
# vi /etc/fstab
在需要做磁碟配額的磁碟機加入設定
defaults 後面加 ,usrquota,grpquota
如
UUID=1a180a75-2b14-479d-ba16-f25ad85dcf81 /home                   ext4    defaults,usrquota,grpquota        1 2


2014年4月15日 星期二

電腦時間錯誤造成 KMS 認證失敗

因故調整電腦時間
剛好 Office 2010 認證到期
認證時出現錯誤訊息