2014年11月28日 星期五

firefox 使用者設定檔

Firefox使用者設定檔中儲存了哪些資訊?

請注意:這裡只列出有助於資料還原的重要資訊。
  • 書籤與瀏覽紀錄:places.sqlite 這個檔案包含您在Firefox 的所有書籤以及拜訪過的網站清單;bookmarkbackups 目錄儲存了書籤的備份檔案,可用於回復您的書籤。詳細資訊請參閱如何使用書籤儲存與組織您喜愛的網站
  • CookieCookie 是你去過的網站存放在你電腦中的一些資訊,通常是一些關於網站的偏好設定或登入狀態。所有的 Cookie 都儲存在 cookies.sqlite 這個檔案。
  • DOM 存儲: DOM 存儲設計的目的是提供一種比 Cookie 更大、更安全,而且易於使用的資訊存儲替代方案。關於網頁的資訊存放在 webappsstore.sqlite,而 chromeappsstore.sqlite 則存放各種 about:* 頁面。
  • 安全憑證設定:cert8.db 儲存你所有的安全憑證設定及匯入 Firefox 的 SSL 憑證。
  • 安全裝置設定:secmod.db 這個檔案是安全性模組資料庫。
  • 下載動作:mimeTypes.rdf 儲存你對於 Firefox 應如何處理特定格式檔案的偏好設定,例如你點選 PDF 檔時,直接以 Acrobat Reader 開啟它。相關資訊請參閱在 Firefox 下載檔案時決定你的動作
  • 外掛程式 MIME 類型:pluginreg.dat 儲存關於你所安裝外掛程式的 網際網路媒體型式。相關說明請參閱使用外掛程式播放聲音、影片、遊戲或其他內容
  • 瀏覽狀態:sessionstore.js 會儲存目前開啟中的分頁和視窗。相關說明請參閱回復瀏覽狀態 - 設定 Firefox 何時顯示你的近期分頁與視窗
  • 自訂工具列:localstore.rdf 儲存了工具列及視窗的大小、位置等設定。相關說明請參閱自訂 Firefox 的控制項、按鈕以及工具列
  • 個人偏好設定:prefs.js 儲存了使用者自訂的偏好設定,例如你在 Firefox 偏好設定 對話方塊中修改的設定。另一非必要的相關檔案是 user.js,如果有的話,裡面的設定會優先取代任何修改過的偏好設定。
  • 個人樣式:如果有的話,\chrome\userChrome.css 以及 \chrome\userContent.css 儲存著你自定義的 Firefox 外觀,或者某些網站或 HTML 元素的呈現方式。 

資料來源:
https://support.mozilla.org/zh-TW/kb/Profiles#w_finding-your-profile-without-opening-firefox

2014年11月26日 星期三

103上W13工作記錄

20141128
調整交換器線路 將DGS3224-TGR變更為第一層交換器
麟瑞工程師前來 更換 cisco 3750 路由器  新路由器型號: Cisco 3560X
port 1 23 對外
port 2 24 對內

嘗試更改Hgiga防火牆設定


20141127
嘗試使用LDAP認證


20141126
B301 廣播系統 網路接收盒 電源鬆脫 接觸不良 導致無法撥放鐘聲

B104-1 無法使用IE撥放 youtube影片
嘗試將youtube網站加入IE相容性設定後 即可撥放

協助604班老師 熟悉魅力四射軟體介面

ad server lookup
dsquery user   dc=xxxx,dc=tp,dc=edu,dc=tw -name "username"



20141125
在win7上嘗試安裝namo 6失敗
舉辦校內資訊競賽: 網路閱讀心得、查資料

2014年11月17日 星期一

xoop 2.5.7 疑難雜症

tinyD模組修改

編輯 tinyd*/class/tinyd.textsanitizer.php

將原來的
function TinyDTextSanitizer() { parent::MyTextSanitizer() ; }

改為 
function TinyDTextSanitizer() { parent::__construct(); }

參考資料
http://waterlily-lsl.com/modules/newbb/viewtopic.php?post_id=1463

---------------------------------------------------
將 網頁轉碼為 utf8
iconv -c -f big5 -t UTF-8 sitemap.ph > sitemap.php

---------------------------------------------------
略過 xoops/uploads 目錄 
tar --exclude=xoops/uploads -zcvf  xoops-up-257-no-upload.tar  xoops

103上W12工作記錄

20141122
運動會 整理照片 上傳至學校首頁 照片區

20141121
嘗試設定有線與無線間某些網段 能夠互通


20141120
安裝 DGS-3120-24TC switch 
協同廠商更換C202接觸不良滑鼠
查看圖書室列印問題

20141119
整理汰換下的Ruckus AP與switch


20141118
設定閱讀教室印表機連線
設定 xoops 站長工具箱


20141117
C202滑鼠接觸不良 已報修請廠商維修
C203社會教室電腦會不定時重開機  需再觀察
B202-1需要使用JAVA程式大量上傳圖片至優學網 協助設定B202-1 JAVA程式

安裝閱讀教室 財產物品管理系統(單機板) 需要virtual fox pro runtime dll
http://www.foxpert.com/runtime.htm

D-E-2F AP 線頭接錯 重新打造網路線頭


20141116
復電後到校將主機開啟
檢視所有主機狀態

設定web-test 主機IP位址為 x.x.1.15

2014年11月14日 星期五

winsxs 資料夾占用容量太大

解決 windows winsxs 資料夾容量太大的問題

WinSxS 這個資料夾中, 包含了重要的系統元件,有許多檔案是使用 Hardlink 的方式跟其他位置的檔案連結,避免自行手動刪除任何檔案,以免造成系統毀損。

如果要移除安裝 Service Pack 時的備份檔,可以透過下面兩種方式的其中一種來清除與縮小 WinSxS占用的容量。

打開【磁碟清理】,然後點選【清理系統檔】,然後勾選【Service Pack 備份檔案】,就可以清出一部分的硬碟空間。

您也可以透過指令行的方式來清除 Service Pack 備份檔。首先以系統管理員權限打開命令提示字元,然後輸入指令:
DISM.exe /Online /Cleanup-Image /SPSuperseded


參考資料:
http://ithelp.ithome.com.tw/question/10143753

2014年11月12日 星期三

103上W11工作記錄

20141114
於D-E棟間2F走廊安裝AP
重新布線 直接將AP連至E202機櫃
UniFi AP adapter 網路接孔易鬆脫!!!


20141113
安裝tad theme模組 需要tad tool工具包 模組

修正XOOPS 製作PDF 中文亂碼問題
FPDF中文編碼


20141112
更新 xoops 根目錄 底下所有的php檔(除mainfile.php)
並設定  mainfile.php 中    define('XOOPS_URL', '...' );
//it's constants !!! Can't be overridden !!!! 不能寫兩次...=.=

修改tinyd模組 for 2.5.7

更新使用者區塊內容
UPDATE `xoops`.`xoops_tplsource` SET `tpl_source` =
...
      <a href="<{$xoops_url}>/modules/system/admin.php?fct=blocksadmin&op=edit&bid=51">影音區塊修改</a>
      <a href="<{$xoops_url}>/admin.php"><{$block.lang_adminmenu}></a>
...
WHERE `xoops_tplsource`.`tpl_id` = 153


20141111
設定D301 503班電腦印表機連線


20141110
嘗試升級 xoops版本
安裝平板電腦保護殼 保護貼
協助處理衛生組 公文系統問題 GDlib.dll 有問題

2014年11月7日 星期五

103上W10工作記錄

20141107
調查cms主機 moodle平台效能不佳原因
先停止不必要服務

stop lxdm: /etc/init.d/lxdm stop
stop nmbd: sudo service nmbd stop
stop tomcat6: sudo service tomcat6 stop


修改 apache2.conf   mpm_prefork_module組態:
MaxRequestsPerChild 4000


查詢記憶體使用量
free -m
ps -eo user,pid,%cpu,%mem,vsz,rsz,comm --sort -vsz  (單位:kb)
ps -ylC apache2 --sort:rss


----------- %mem  RSS VSZ 意義解釋 -----------
%mem %MEM ratio of process's resident set size to physical memory on the machine, expressed as a percentage(alias pmem).

rss RSS
resident set size, the non-swapped physical memory that a task has used (in kiloBytes). (alias rssize, rsz)

vsz VSZ
virtual memory size of the process in KiB (1024-byte units). Device mappings are currently excluded; this is subject to change. (alias vsize)

- See more at: http://bobcares.com/blog/who-eats-all-your-ram/#sthash.mMlWAL6J.dpuf
------------%mem  RSS VSZ 意義解釋 -----------


查詢特定程式記憶體使用量
ps -eo user,pid,%cpu,%mem,vsz,rsz,comm --sort -vsz | egrep 'mysql|COMMAND'
pmap [-x | -d] [-q] [-A low,high] pid




參考資料:
https://docs.moodle.org/27/en/Performance_recommendations
http://www.fromdual.ch/sites/default/files/pt_presentation.pdf
http://bobcares.com/blog/who-eats-all-your-ram/



20141106
修復電腦教室B網路線 14 不通狀況
原因: 更換switch 後 14號網路線因左右網路線套頭過緊 無法卡緊接孔
將14號網路線套頭 後推 即可正確接入switch

更新 2F自然教室 學生主機電腦名稱

20141105
檢視DHCP主機
發現2F自然教室 學生主機電腦名稱不正確



20141104
設定  每10分鐘自動更新ipadmin系統狀態
*/10 * * * *  root /usr/bin/php /..path../functions/scripts/pingCheck.php

協助家長會 執行EQ好人氣軟體

在198上設定corntab 讓機器自動執行 pingcheck 去 update phpipam 的資料庫
擷取ipadmin資料庫  列出網路電話與 廣播器的狀態
http://x.x.100.198/phpipam/report.php



20141103
測試nexus 7 (4.4.4) 無線投影至 pushbox 與 Infocus電視盒

Infocus電視盒成功機率較高
普普盒 pushbox FW version: 1.1.1
很難投影成功

將FW版本更新至 2.0.8後 情況較穩定 但官網顯示 升上2.0版以後 無法使用AV端子
且更改裝置名稱后 似乎無法偵測該AP

更換電腦教室B switch 設定IP為 x.x.100.209

Stop synology internal fan fail error.

You need to login as root via telnet or ssh. Password is the same as admin and execute the following:

> echo 0 > /sys/module/ds211j_synobios/parameters/check_fan
> reboot

If you want to enable it back. Just execute the following

> echo 1 > /sys/module/ds211j_synobios/parameters/check_fan
> reboot

Stopping and Starting the Samba Daemons

Stopping and Starting the Samba Daemons

Checking if the Samba Daemons are Running

Samba runs a couple of processes in the background: notably the Samba and NetBIOS daemons.
You can check to see if the Samba daemon (smbd) is running using the ps command:
$ ps -ef | grep smbd
root      3869     1  0 16:41 ?        00:00:00 smbd -F
root      3881  3869  0 16:41 ?        00:00:00 smbd -F
fredb     3944  3052  0 16:47 pts/0    00:00:00 grep --color=auto smbd
$
You can also check to see if the NetBIOS name server daemon (nmbd) is running using the ps command:
$ ps -ef | grep nmbd
root      1964     1  0 08:59 ?        00:00:00 nmbd -D
fredb     8076  4453  0 18:09 pts/0    00:00:00 grep --color=auto nmbd
$
If any process (-apart from the grep command itself) is returned, then the process is running.

Stopping the Samba Daemons

If you need to stop the smbd or nmbd daemon, you can use the following commands:
$ sudo service smbd stop
$ sudo service nmbd stop
If you need to forcibly stop the smbd or nmbd daemon, you can use the following command (-you'll need to give them some time to shut down):
sudo kill -15 <smbd PID>
sudo kill -15 ><nmbd PID>
Note: only use sudo kill -9 as a last resort - as this may leave shared memory in an inconsistent state

Starting the Samba Daemons

If you need to start the smbd or nmbd daemon, you can use the following commands:
$ sudo service smbd start
$ sudo service nmbd start
Note: there is also a restart option if you need to restart the daemon after changing the Samba configuration files!


from:  http://www.linuceum.com/Server/srvSambaDaemons.php