2010年6月30日 星期三
2010年6月24日 星期四
ubuntu 8.04 AMD64 安裝flash player 10.1
最近開始使用64bit的ubuntu當桌機使用,
發現flash怪怪的,
會導致瀏覽器當機,
想跟換一下flash player看看,
發現adobe flash 10.1 沒有64位元版本的deb,
只好手動安裝了。
過程如下:
#Downloading and instaling Getlibs for required libraries
$wget -O getlibs-all.deb http://frozenfox.freehostia.com/cappy/getlibs-all.deb
$sudo dpkg -i getlibs-all.deb
#Removing previous installs of flash
$sudo rm -f /usr/lib/mozilla/plugins/*flash*
$sudo rm -f ~/.mozilla/plugins/*flash*
$sudo rm -f /usr/lib/firefox/plugins/*flash*
$sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
$sudo rm -rfd /usr/lib/nspluginwrapper
#Installing ia32-libs and nspluginwrapper
$sudo apt-get install ia32-libs nspluginwrapper
#echo "Getting libs"
$sudo getlibs -p libcurl3
$sudo getlibs -p libnss3-1d
$sudo getlibs -p libnspr4-0d
#echo "Installing Flash Player 10"
$wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
$tar zxvf install_flash_player_10_linux.tar.gz
$sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
$rm -rf ~/install_flash_player_10_linux/
$sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
#Linking the libraries so that firefox can see them
$sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
$sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
發現flash怪怪的,
會導致瀏覽器當機,
想跟換一下flash player看看,
發現adobe flash 10.1 沒有64位元版本的deb,
只好手動安裝了。
過程如下:
#Downloading and instaling Getlibs for required libraries
$wget -O getlibs-all.deb http://frozenfox.freehostia.com/cappy/getlibs-all.deb
$sudo dpkg -i getlibs-all.deb
#Removing previous installs of flash
$sudo rm -f /usr/lib/mozilla/plugins/*flash*
$sudo rm -f ~/.mozilla/plugins/*flash*
$sudo rm -f /usr/lib/firefox/plugins/*flash*
$sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
$sudo rm -rfd /usr/lib/nspluginwrapper
#Installing ia32-libs and nspluginwrapper
$sudo apt-get install ia32-libs nspluginwrapper
#echo "Getting libs"
$sudo getlibs -p libcurl3
$sudo getlibs -p libnss3-1d
$sudo getlibs -p libnspr4-0d
#echo "Installing Flash Player 10"
$wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
$tar zxvf install_flash_player_10_linux.tar.gz
$sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
$rm -rf ~/install_flash_player_10_linux/
$sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
#Linking the libraries so that firefox can see them
$sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
$sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
2010年6月21日 星期一
2010年6月9日 星期三
SNMP設定
開啟防火牆 port 161
iptables -I INPUT -p udp --dport 161 -j ACCEPT
檢查SNMP服務是否有正確開啟
snmpwalk -v 2c -c public localhost
iptables -I INPUT -p udp --dport 161 -j ACCEPT
檢查SNMP服務是否有正確開啟
snmpwalk -v 2c -c public localhost
2010年6月3日 星期四
Bandwidth Monitoring Tools for Ubuntu Users
http://www.ubuntugeek.com/bandwidth-monitoring-tools-for-ubuntu-users.html
文章中介紹了下面幾個頻寬監控軟體
bmon
bwbar
bwm
bwm-ng
iftop
iperf
ipfm
speedometer
cbm
ibmonitor
pktstat
mactrack
MRTG
Cacti
文章中介紹了下面幾個頻寬監控軟體
bmon
bwbar
bwm
bwm-ng
iftop
iperf
ipfm
speedometer
cbm
ibmonitor
pktstat
mactrack
MRTG
Cacti
2010年6月1日 星期二
流量監控軟體 vnstat安裝與設定
安裝
#sudo apt-get install vnstat
設定一下權限
#sudo chmod o+x /usr/bin/vnstat
#sudo chmod o+wx /var/lib/vnstat/
啟動監控
#sudo vnstat -u -i eth0
備註 : eth0請自行修改成主機網卡
以下為vmstat指令參考
vnstat : 單純啟動
vnstat -h 過去24hr的流量統計
vnstat -d 過去30天的每日的流量統計
vnstat -m 過去12個月的每月的流量統計
vnstat -t Top 10 的流量統計
vnstat -w 過去七天、上週與本週的流量統計
vnstat -tr Traffic average
vnstat -l traffic statistics
#sudo apt-get install vnstat
設定一下權限
#sudo chmod o+x /usr/bin/vnstat
#sudo chmod o+wx /var/lib/vnstat/
啟動監控
#sudo vnstat -u -i eth0
備註 : eth0請自行修改成主機網卡
以下為vmstat指令參考
vnstat : 單純啟動
vnstat -h 過去24hr的流量統計
vnstat -d 過去30天的每日的流量統計
vnstat -m 過去12個月的每月的流量統計
vnstat -t Top 10 的流量統計
vnstat -w 過去七天、上週與本週的流量統計
vnstat -tr Traffic average
vnstat -l traffic statistics
流量監控軟體
研究了一下流量監控軟體
目前看了這幾個軟體的網站,做個筆記
* ntop
* darkstat
* MRTG
* bwm-ng
* iftop
* IPTraf
* vnstat
ntop:有網路圖形介面,統計資料,可以知道連線ip。內容很詳細,但是感覺起來會吃資源
darkstat:有網路圖形介面,統計資料,可以知道連線ip (network traffic, calculates statistics about usage)
MRTG:很老牌了,應該不用介紹
bwm-ng:文字介面,即時的流量監控(Bandwidth Monitor)
iftop:文字介面,有即時流量顯示跟顯示連線裝況 (bandwidth usage, traffic monitor)
IPtraf:文字介面,可以用網路卡、TCP/UDP、Port來分類,也有連線ip顯示(network statistics,traffic monitor)
vnstat:文字介面traffic monitor,使用kernel上面的資訊來顯示統計資料(這樣應該比較不吃資源),可顯示即時流量,時、日、週的流量統計。
只能大致寫一下,詳細說明就看上面的Link吧
目前看了這幾個軟體的網站,做個筆記
* ntop
* darkstat
* MRTG
* bwm-ng
* iftop
* IPTraf
* vnstat
ntop:有網路圖形介面,統計資料,可以知道連線ip。內容很詳細,但是感覺起來會吃資源
darkstat:有網路圖形介面,統計資料,可以知道連線ip (network traffic, calculates statistics about usage)
MRTG:很老牌了,應該不用介紹
bwm-ng:文字介面,即時的流量監控(Bandwidth Monitor)
iftop:文字介面,有即時流量顯示跟顯示連線裝況 (bandwidth usage, traffic monitor)
IPtraf:文字介面,可以用網路卡、TCP/UDP、Port來分類,也有連線ip顯示(network statistics,traffic monitor)
vnstat:文字介面traffic monitor,使用kernel上面的資訊來顯示統計資料(這樣應該比較不吃資源),可顯示即時流量,時、日、週的流量統計。
只能大致寫一下,詳細說明就看上面的Link吧
訂閱:
文章 (Atom)