發表文章

目前顯示的是 2007的文章

wordpress mu 教學

http://robbin.cc/vb/showthread.php?t=712 Powered by ScribeFire .

畫年表的網站

英、簡中: http://xtimeline.com 日文的: http://timeline.nifty.com/ Powered by ScribeFire .

web2.0在教學上的應用

http://blog.ilc.edu.tw/blog/blog/673/post/5617/23569 講義心智圖: http://fs.ilc.edu.tw/moodle/file.php/49/web2.0.htm http://fs.ilc.edu.tw/ http://computer.lotes.ilc.edu.tw/plog/ Powered by ScribeFire .

部落格讀者使用方式 (從數字來看網站經營系列

From: http://geneoralspeaking.blogspot.com/2007/12/ii.html 網頁/造訪 大於 2.0 代表您的部落格黏著度相當夠, 每一個人至少可以看個兩三頁 網頁/造訪 小於 1.5 代表您的部落格黏著度不夠, 大部份的人看一頁就走了 退回率 大於 75% 若新造訪小於 80%, 代表吸引力不夠 退回率 小於 60% 若新造訪大於 40%, 代表吸引力不夠 停留時間 大於 2 分鍾 若網頁/造訪小於 2.0, 代表單一文章須要閱讀較久 停留時間 小於 1 分鍾 若網頁/造訪大於 1.5, 代表單一文章不須要讀較久 新造訪 大於 80% 代表較多的搜尋引擎來的, 比較沒有固定讀者 新造訪 小於 40% 代表有固定的讀者 當然, 一個部落格最好是網頁/造訪大於2.0, 退回率小於60%,停留時間大於2 分鍾, 但新造訪到底是要 大於 80% 或 小於40% 都不見得好, 說不定要在其中代表成長性是最夠的, 但也有可能有些部落格已經穩定到一定程度時, 新造訪就會很小了... 而一個網站在經營的時候, 一開始要加強黏著度與停留時間, 而增加黏著度自然在於文章的質與量, 然後把退回率降低後, 一步步的提升新造訪, 此時就要靠宣傳與串連等等的方式, 或者是主題的訂定... Powered by ScribeFire .

雙核心CPU相關資源

AMD相關工具下載: http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_871_13118,00.html 微軟修正程式: http://support.microsoft.com/kb/896256 http://download.microsoft.com/download/e/2/7/e272bc39-2aca-4dcf-8bb2-22596f0d09f1/WindowsXP-KB896256-v4-x86-CHT.exe Powered by ScribeFire .

wordpress外掛-- WP Super Cache 0.5.1

http://wordpress.org/extend/plugins/wp-super-cache/ Powered by ScribeFire .

中文 WordPress 工具箱

桑林志─中文 WordPress 工具箱 安裝: 下載 mulberrykit.zip,將其上載到伺服器 /plugins/ 中,到後台啟動,就完成安裝了!接著我們必須要把參數加到我們所需要的頁面中,以下是各參數的介紹: 最新迴響: 使用參數:<?php get_recent_comments(); ?> 僅顯示留言:<?php get_recent_comments_only (); ?> 僅顯示引用:<?php get_recent_trackbacks(); ?> 最新文章: 使用參數:<?php get_recent_posts(); ?> 顯示評論最多文章: 使用參數:<?php get_mostcommented(); ?> 發表評論最多的網友: 使用參數:<?php get_commentmembersstats(); ?> 隨機文章: 使用參數:<?php random_posts(); ?> Powered by ScribeFire .

os tube

mencoder /home/csg/44.avi -o test.flv -ovc lavc -lavcopts vcodec=flv -oac copy /usr/local/bin/mencoder /home/csg/44.avi -o testx.flv -ovc lavc -lavcopts vcodec=ffvhuff -nosound -endpos 5 /usr/local/php524/bin/php -f convert.php convert /www/ostube/media/tmp/11.tmpvideo 11 http://www.mplayerhq.hu/design7/dload.html http://www.inlet-media.de/flvtool2 相關網站: 教你如何架設像YouTube的網站 ; http://www.j2h.tw/bbs/bbs16/285.html 類似OSTUBE的軟體:PHPmotion : http://phpmotion.com Powered by ScribeFire .

wordpress 外掛程式相關

官方外掛: http://wordpress.org/extend/plugins/ http://www.happinesz.cn/plugins 留言分頁: http://briian.com/?p=1501 文章分頁: http://briian.com/?p=1975 Powered by ScribeFire .

VHCS on CentOS 4.4

http://www.howforge.com/installing-vhcs-on-centos-4-4 Powered by ScribeFire .

vhcs 安裝問題

vhcs執行vhcs2_setup出錯 如果你執行完上面這一步,出現下面的提示 If specified by -literal_key, then the key length must be equal to the chosen cipher's key length of 56 bytes at /usr/local/www/vhcs2/engine/vhcs2_common_code.pl line 1376 或者 "If specified by -literal_key, then the key length must be equal to the chosen cipher's key length of 56 bytes at /usr/local/www/vhcs2/engine/vhcs2_common_code.pl line 1411" 請修改 /usr/local/www/vhcs2/engine/vhcs2_common_code.pl 在1376行和1411出現錯誤的地方改成如下形式: my $cipher = Crypt::CBC -> new( { 'key' => $main::db_pass_key, 'keysize' => 32, 'cipher' => 'Blowfish', 'iv' => $main::db_pass_iv, 'regenerate_key' => 0, 'padding' => 'space', 'prepend_iv' => 0 } ); 保存以後重新make setup,應該可以順利安裝了。 Powered by ScribeFire .

Linux 虛擬主機管理軟體

VHCS: vhcs.net http://blog.yam.com/tad0616/article/8620354 ISPCONFIG: http://ispconfig.org http://www.ispconfig.org/downloads/manual_big5/manual_admin_big5_src.htm Powered by ScribeFire .

os tube

mencoder /home/csg/44.avi -o test.flv -ovc lavc -lavcopts vcodec=flv -oac copy /usr/local/bin/mencoder /home/csg/44.avi -o testx.flv -ovc lavc -lavcopts vcodec=ffvhuff -nosound -endpos 5 /usr/local/php524/bin/php -f convert.php convert /www/ostube/media/tmp/11.tmpvideo 11 http://www.mplayerhq.hu/design7/dload.html http://www.inlet-media.de/flvtool2 Powered by ScribeFire .

CSS em vs px

http://www.bigbaer.com/css_tutorials/css_font_size.htm http://www.evance.name/forum/px_vs_em Powered by ScribeFire .

新軟體玩家部落格完成

網址: http://soft.idv.tw 備用:http://quicktop.wordpress.com/ Powered by ScribeFire .

CentOS 5 Server安裝步驟

先安裝 webmin 1.37 更新/etc/yum. 需要用yum 安裝的 gcc joe php-mysql mysql-server curl-devel libxml2-devel libjpeg-devel libpng-devel gettext-devel freetype-devel PHP編譯: ./configure --with-mysql --with-png --with-gd --with-ttf --enable-gd-native-ttf --enable-track-vars --with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/php524 --with-zlib-dir=/usr/lib --enable-sockets --with-freetype-dir=/usr/lib/ --with-jpeg-dir=/usr/lib/ --with-kerberos --with-imap-ssl --enable-mbstring --with-gettext --with-curl --with-libxml-dir=/usr/lib/ Powered by ScribeFire .

用Prism做公用電腦的管理

http://labs.mozilla.com/2007/10/prism http://mozlinks-zh.blogspot.com/2007/10/webrunner.html Powered by ScribeFire .

wetpaint.com

wetpaint: 教學: http://www.commoncraft.com/wetpaint 新的wetpaint: http://fyshcc.wetpaint.com BLOG,wiki系統的比較網站: http://www.weblogmatrix.org/ 樂業國小研習講義~LifeType-1.2.3的使用 http://140.128.180.21/lyesblog/index.php?op=ViewArticle&articleId=24&blogId=4 flash mp3 使用: http://nvoms123.blogspot.com/2007/08/httpwww.html Powered by ScribeFire .

新增awstats for Mail server & postfix summary

http://mail.fysh.tcc.edu.tw/awstats/awstats.pl?config=mail.fysh.tcc.edu.tw http://mail.fysh.tcc.edu.tw/log/ 安裝可參考: http://blog.gfchen.org/index.php?p=29 Powered by ScribeFire .

眾至機器安裝&機房整線

安裝 sharetech LB-2411 & ML-9260 x2 wan1 -> 204 wan2->205 wan3,4->PPPoE 原BM-188A wan1->205 , wan2 改為ADSL 監控主機改成 AC -> UPS -> 防雷擊插座 -> Server (本來是先防雷擊插座->UPS) 疑為突波讓主機板燒壞? DLINK DES-3526(原行政用,PORT 1-6故障) -> 左3機櫃(eHD,mail,edunt,hpnas,libnt...) 原DES-24+ 改成接行政樓3,4F 班級資訊插座 排插改用束帶固定 Powered by ScribeFire .

阻擋中國的ip

ip列表: http://www.blackholes.us/zones/country/china.txt http://www.blackholes.us/zones/country/china.classful http://www.twnic.net.tw/ipstats/ipv4net.php?ipv4_cc=CN&ipv4_country=CHINA (可能比較不準) 台灣的ip: http://www.blackholes.us/zones/country/taiwan.txt http://www.blackholes.us/zones/country/taiwan.classful http://www.twnic.net.tw/ipstats/ipv4net.php?ipv4_cc=TW&ipv4_country=TAIWAN (比較不準) Powered by ScribeFire .

AVG的免費掃毒/掃木馬軟體網站

http://free.grisoft.com/ 目前提供: AVG Anti-Virus Free Edition 7.5 AVG Anti-Spyware Free Edition 7.5 AVG Anti-Rootkit Free AVG Anti-Virus Free Edition 7.5 for Linux Powered by ScribeFire .

擋百度robot的作法

直接修改.htaccess SetEnvIfNoCase User-Agent "^Baidu" bad_bot SetEnvIfNoCase User-Agent "^sogou" bad_bot SetEnvIfNoCase User-Agent "^Bloghoo" bad_bot SetEnvIfNoCase User-Agent "^Scooter" bad_bot Deny from env=bad_bot 增加 /robot.txt User-agent: baiduspider Disallow: / User-agent: * Disallow: /php .... Powered by ScribeFire .

一個還不錯的掃毒教學網站

寶來的紅色天葵子 http://tw.myblog.yahoo.com/baolaibox/ System Repair Engineer 2.5 http://www.kztechs.com/sreng/index1.html Powered by ScribeFire .

test test

test test test test [@more@] 超連結

b2evolution測試

架了一台 10.2版的,但是好像沒有中文包.... 整個囧啊 http://w3.fysh.tcc.edu.tw/test/b2/blogs 自己架blog速度比blogspot快多了.... Powered by ScribeFire .

eHD1 更換s-ata排線

開機抓不到sata硬碟 更換一條排線 Powered by ScribeFire .

磁帶機安裝至www3失敗

scsi卡的bios抓得到 但是進入fedora 6 後抓不到裝置 /dev/st0 改裝至proxy2試試看 Powered by ScribeFire .

檢驗字串是否全為BIG5中文字

//函數名稱:boolean isBig5(string) //功能:檢驗字串是否全為BIG5中文字 //語法:isBig5(字串) //回傳:成功回傳true, 否則回傳false function isBig5($c="") { if($c=="")return false; //空字串 $len_of_c=strlen($c); if($len_of_c%2==1)return false; //長度非偶數 for($ii=0;$ii<$len_of_c;$ii+=2){ $chk_c=substr($c,$ii,2); $bc = hexdec(bin2hex($chk_c)); if(($bc>=0xa440 && $bc<= 0xc67e) || ($bc>=0xc940 && $bc<= 0xf9fe) || ($bc>=0xa140 && $bc<= 0xa3fe) || ($bc>=0xc6a1 && $bc<= 0xc8fe))$nothing=true; else return false; } return true; } Powered by ScribeFire .

身分證字號檢查PHP程式

非轉貼,自認很精簡的程式碼 //函數名稱:boolean check_nick(string) //功能:身分證字串檢查 //語法:check_pid(身分證字串) //回傳:成功回傳true, 否則回傳false function chk_pid($id) { if($id=="")return false; $id = strtoupper(trim($id)); //將英文字母全部轉成大寫,消除空白 //檢查第一個字母是否為英文字 //檢查第二個字元1 or 2 其餘為數字共十碼 $ereg_pattern= "^[A-Z]{1}[12]{1}[[:digit:]]{8}$"; if(!ereg($ereg_pattern, $id))return false; $wd_str="BAKJHGFEDCNMLVUTSRQPZWYX0000OI"; $d1=strpos($wd_str, $id[0])%10; $sum=0; for($ii=1;$ii<9;$ii++)$sum+= (int)$id[$ii]*(9-$ii); $sum += $d1 + (int)$id[9]; if($sum%10 != 0)return false; else return true; } Powered by ScribeFire .

申請使用Google Apps 教育版 (for FYSH)

https://www.google.com/a/s.fysh.tcc.edu.tw 網域認證尚未完成 Powered by ScribeFire .

CentOS 5.0

下載 CentOS 5.0 DVD ISO from isu ftp 學生用伺服器建置流程(CentOS 5 版) http://apt.nc.hcc.edu.tw/web/student_server_centos/student_server_centos.html htpp://centos.org http://centos.blogspot.com

安裝 學校整合模組

http://w3.fysh.tw/test/school/ 檔案來源: http://dyna.hcc.edu.tw/dyna/menu/index.php?account=dyna Powered by ScribeFire .

APACHE 使用 mod_bandwidth 做流量管制

LoadModule bandwidth_module modules/mod_bandwidth.so <IfModule mod_bandwidth.c> BandWidthModule Ob BandWidthDataDir C:/WWW BandWidthPulse 100000 # above 10MB, transfer drops to 5K/sec # above 1MB, transfer drops to 10K/sec LargeFileLimit 1024 10000 LargeFileLimit 10240 5000 <Directory "C:/WWW/BX2AA"> BandWidth all 4000 Order deny,allow Deny from all Allow from all </Directory> </IfModule> #在 C:\WWW 目錄 #1MBytes 以下不限速 #1MBytes 以上10MBytes 以下 限速 10KBytes #10MBytes 以上 限速 5KBytes # #在 C:\WWW\BX2AA 目錄 #全部限速 4KBytes Powered by ScribeFire .

apache2 流量限制

from: http://fjufirefox.blogspot.com/2007/01/apache2.html 1. 下載 Apache 2 Bandwidth Quota and Throttling cd /tmp sudo wget http://cband.linux.pl/download/mod-cband-0.9.7.5.tgz 2. 解壓縮 sudo tar zxvf mod-cband-0.9.7.5.tgz 3. 安裝 make 套件 sudo apt-get install make 4. 進行編譯 sudo ./configure sudo make sudo make install 5. 設定 scoreboard sudo mkdir /var/www/scoreboard sudo chown www-data.www-data /var/www/scoreboard/ 6. 設定檔 /etc/apache2/httpd.conf CBandScoreFlushPeriod 1 CBandRandomPulse On # # mod_cband # SetHandler cband-status CBandClassDst 127/8 CBandClassDst 192.168.10.0/24 ServerAdmin [email protected] DocumentRoot /var/www/ ServerName ubuntu.localdomain #ErrorLog logs/ubuntu.localdomain-error_log #CustomLog logs/ubuntu.localdomain-access_log common CBandSpeed 1024 200 200 CBandRemoteSpeed 1024kb/s 50 50 CBandClassRemoteSpeed local_class 1000Gbps 1000 1000 CBandLimit 10G CBandPeriod 1W CBandScoreboard /var/www/scoreboard Powered by ScribeFire .

2007/8/16 網管記事

webmin升級 1.36 www,www3安裝 bacula 備份系統: http://www.bacula.org/ Powered by ScribeFire .

blog搬移成功!

圖片
2007/3/18 把舊的blogger搬遷至新版blogger 測試中