[OS][Linux] Fedora upgrade from 12 to 16

No Comments

http://blog.yp312.twbbs.org/2011/05/fedora-12-to-13.html

 

yum remove system-config-display-2.2-1.fc12.i686 rhpl-0.221-2.i686 kudzu-1.2.86-2.i686

rpm –import https://fedoraproject.org/static/E8E40FDE.txt yum update yum yum clean all yum –releasever=13 distro-sync

yum remove transcode-1.1.5-4.fc13.i686 alchemist-1.0.37-8.fc12.i686 python-psyco-1.6-4.fc12.i686 rpm –import https://fedoraproject.org/static/97A1071F.txt yum update yum yum clean all yum –releasever=14 distro-sync

yum remove tsclient-2.0.2-7.fc13.i686 gnotime rpm –import https://fedoraproject.org/static/069C8460.txt yum update yum yum clean all yum –releasever=15 distro-sync

rpm –import https://fedoraproject.org/static/A82BA4B7.txt yum update yum yum clean all yum –releasever=16 –disableplugin=presto distro-sync

[刷機] hTC Sensation (XE) 刷機教學

2 Comments

來源出處:
http://disp.cc/b/25-2B3s

※ 本文為 cuteman0725 轉寄自 ptt.cc 時間: 2011-11-12 02:32:15
看板 Android
作者 KenzaV (當個奶油犬好嗎?)
標題

[韌體] Sensation (XE) 刷機教學

時間 Wed Nov 9 12:03:31 2011

一、前文———————————————————

本文適用於 Sensation 與 Sensation XE

有關專有名詞 置底文都有解釋請爬文

請注意 刷機必然有風險

若因本文刷機造成手機變磚頭 小弟概不負責

More

Install SquirrelMail on CentOS 6.x

No Comments

http://pkgs.org/centos-6-rhel-6/epel-i386/squirrelmail-1.4.22-2.el6.noarch.rpm.html

squirrelmail Install Howto

 

  1. Download the latest epel-release rpm from
    http://download.fedora.redhat.com/pub/epel/6/i386/
  2. Install epel-release rpm:
    # rpm -Uvh epel-release*rpm
  3. Install squirrelmail rpm package:
    # yum install squirrelmail

 

 

[研究][模擬] NS2

No Comments

學習連結, 柯志亨老師的網站
1. http://hpds.ee.ncku.edu.tw/~smallko/ns2/ns2.htm

模擬情境產生器 (pengjungwu)
1. http://sites.google.com/site/pengjungwu/nsg

無線路由研究 (Wess2000)
1. http://wess2000.blogspot.com/2009/10/ns2-aodvdsrtora.html

NS2 新增模組
1. http://140.116.72.80/~smallko/ns2/module.htm

NS2 新增功能
1. http://140.116.72.80/~smallko/ns2/poisson_ch.htm

 

Fountain Code for NS2
1. http://www-mobile.ecs.soton.ac.uk/scripts/viewvc.cgi/ns2.32/alfec/?sortby=rev

get  ITPP (IT++) , LaPACK, FFTW
1. http://starshine.pixnet.net/blog/post/23040073

安裝 LaPack 要另外安裝 apt-get install gfortran

 

VMware Workstation 6.x 底下的 guest OS 不能經由 bridge 取得

No Comments

最近, 碰到IPv6, 一直在裝軟體

原本我誤會了 CentOS, 以為他不能正常抓到RA
原來原因是, VMware Workstation 6.x 底下的 guest OS 不能經由 bridge 取得

Smoekping 限定語系

No Comments

找到basepage.html 後,

在 <head></head> 中間, 加入下面這行即可。

<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>

資料來源:

http://plog.longwin.com.tw/my_note-programming/2009/07/14/html-utf8-browser-encoding-solution-2009

正確解法有下面幾種:

  1. 於 HTML head 指定此頁編碼為 UTF-8

    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>
    </head>

  2. PHP 送 Header 告訴瀏覽器這頁是 UTF-8 編碼

    <?php
    header(“Content-Type:text/html; charset=utf-8”);
    ?>

  3. 設定 Apache 送出頁面預設語系 UTF-8 (比較不建議用此方法)

    addDefaultCharset UTF-8

    # 不過建議這行要包在 Directory 或 VirtualHost 內, 才不會影響到其它網頁.
    <Directory “/var/*/blog”>
    addDefaultCharset UTF-8
    </Directory>

    <VirtualHost *>
    addDefaultCharset UTF-8
    </VirtualHost>

niusrv, snmp+mrtg 設定參考

No Comments

設定檔 /etc/snmp/snmpd.conf
</div>
<div>com2sec local localhost private</div>
<div id="_mcePaste">com2sec6 local localhost private</div>
<div id="_mcePaste">com2sec niusrv 120.101.5.41/24 public</div>
<div id="_mcePaste">com2sec6 niusrv 2001:288:a001:5::41/64 public</div>
<div id="_mcePaste">--</div>
<div>
<div>view    all           included   .1 80</div>
<div>view    systemview    included   .1.3.6.1.2.1.2</div>
<div>view    systemview    included   .1.3.6.1.2.1.1</div>
<div>view    systemview    included   .1.3.6.1.2.1.25.1.1</div>
<div>view    systemview    included   .1.3.6.1.2.1.2.2.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.5.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.6.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.11.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.10.1.3.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.10.1.3.2</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.10.1.3.3</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.3.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.4.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.5.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.6.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.11.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.13.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.14.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.4.15.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.9.1.2.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.9.1.3.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.9.1.6.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.9.1.7.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.9.1.8.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.9.1.9.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.9.1.10.1</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.11.9.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.11.50.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.11.10.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.11.52.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.11.11.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.11.53.0</div>
<div>view    systemview    included   .1.3.6.1.4.1.2021.11.51.0</div>
<div>-- 以上參考 --</div>
<div>-- 以下一定要設定, 找出網卡 --</div>
<div>
<div>view    systemview    included   .1.3.6.1.2.1.1</div>
<div>view    systemview    included   .1.3.6.1.2.1.25.1.1</div>
<div>view    systemview      included .1.3.6.1.2.1.2.2.1.10</div>
<div>view    systemview      included .1.3.6.1.2.1.2.2.1.16</div>
</div>
<div>-- 以上一定要設定, 找出網卡 --</div>
</div>
<div>
[檢查SNMP查詢內容]
# snmpwalk -c public -v 2c
建立 mrtg.cfg 檔案
cfgmaker –enable-ipv6 –global ‘HtmlDir: /var/www/mrtg’ –global ‘ImageDir: /var/www/mrtg’ –global ‘LogDir: /var/lib/mrtg’ –global ‘ThreshDir: /var/lib/mrtg’ –output /etc/mrtg/mrtg-temp.cfg public@niusrv.twbbs.org
建立 index.html for MRTG
/usr/bin/indexmaker –output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg

Older Entries Newer Entries