2010年2月23日 星期二

在網頁管理介面下,選了強制ssl登入之後,就無法登入了。 想從ssh進去更改設定檔,但不知哪一個設定檔是在更改該設值的,以及如何更改?能否說明一下,

ssh admin帳號登入後,找到/etc/config/uLinux.conf這個設定檔裏的Force SSL =1,將1 改成0 就會變成非強制SSL 登入

Remote tool/Teamviewer , http://wiki.qnap.com/wiki/TeamViewer_setup_for_remote_desktop_connection

Download Teamviewer QS version HERE

Disclaimer:
Our advice is strictly limited to the question(s) asked and is based on the information provided to us. QNAP Systems Inc. does not assume any responsibility or liability for the advice given and shall not be liable for any direct, indirect, special, incidental or consequential damages in connection with the use of this information. Always back up your data. For more information, including technical information updates, please visit our website at http://www.qnap.com/

2010年2月20日 星期六

透過ssh定時自動備分。

在linux系統下。當要將a機的資料備份到b機時,首先將先在a機ssh模式下不用密碼能登入b機,做法要看http://yuhfa.blogspot.com/2009/12/ssh.html 這篇文章。
之後在a機的以vi編輯crontab:
打開後格式如下:

2010年2月17日 星期三

DM500S 檔案路徑說明

DM500帳號(CCcam.cfg)的上傳路徑:/var/etc/
衛星參數配置檔(Satellites.xml)的上傳路徑:/var/etc/
衛視節目台標文件(services)上傳路徑:/var/tuxbox/config/enigma/
上傳手動安裝檔路徑:/var/tmp- >tmp/
衛視節目破解文件(keys)上傳路徑:/var/keys/
PC硬碟內DM500檔夾上傳路徑:/var/mnt/hdd/或/hdd- >/var/mnt/hdd/
背景執行檔(尾碼分別為esml、info、png)上傳路徑:/var/tuxbox/config/enigma/skins/
DM500開機畫面圖片(easylogo.so和easylogo.cfg)文件存放位置:/var/tuxbox/plugin/
DM500協議插件(CCcam)存放位置:(1)/var/bin/;(2)/var/etc/(3)/var/script;(4)/var/tuxbox/plugins/(5)/var/uninstall/www.tvroe.com-

2009年12月30日 星期三

兩台linux主機以ssh自動登入,不用打入密碼的方法!

以下內容,擔心以後系統重建後,資料的重找麻煩,所以還是決定把它記錄下來,以備以後不時之需:
ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): /root/.ssh/id_rsa
Enter passphrase (empty for no passphrase):直接回車

2009年8月14日 星期五

Synology NAS是把crontab自動備分的另一個問題!

synology NAS使用crontab自動執行,一般都把問題注意到tab鍵與空白鍵的使用問題,但在更新韌體為DSM 2.1-0844版之後又遇到一個新的問題,那就是用root無法登入ssh只能以telnet登入,而ssh必須用admin才能登入,而因為root無法透過ssh登入,所以只好用admin登入,

2009年7月30日 星期四

Synology NAS是把crontab載入記憶體裡面,所以改完之後請重新啟動crond服務的語法

/usr/syno/etc/rc.d/S04crond.sh stop
/usr/syno/etc/rc.d/S04crond.sh start

linux查閱各目錄檔案大小的指令與參數

du -mhs *

QNAP 的 cron 排程檔位置與重新啟動指令語法

排程檔位置
/mnt/HDA_ROOT/.config/crontab
/etc/config/crontab
編輯它,然後執行
crontab /etc/config/crontab
重新啟動指令語法
/etc/init.d/crond.sh restart
目前試了上面的做法可以!
下面的做法重啟後,還是會回復到原來的設定!看來關鍵在/etc/config/crontab
總算找到好的改更crontab檔的方法了,那就是先將內容以vim這支程式寫完後,存成任意檔名,例如:newcrontab,然後輸入如下指令:
#crontab newcrontab
這樣就會直接更改系統內定的crontab內容,而不用再以crontab -e指令進入後一個一個改!

2009年6月8日 星期一

與好友分享關於健康的54項建議

 

關於健康的54項建議

01
、聰明地鍛煉
  
如果你在健身館裡只知道發狠用勁的話,最好不要浪費時間。
  
一般來講,十個人中只有一個人了解正確的健身方法,絕大多數人的鍛煉目的似乎只是讓自己疲勞,
  
這種方法很容易受傷,而且收穫甚微,最好是對自己的鍛煉方法進行一次正確的評估。

02
、多騎自行車
  
人們應該多騎自行車,以中速騎車,對心肺功能的提高很有幫助,對減肥也有特效。