替代役不平等待遇?替代役長官 (黃秘書)
Posted on May 6, 2007
| 1 minutes
| 7 words
| appleboy
替代役其實是一個蠻好的職位,可以不必去軍隊裏面,又可以貢獻給國家,可是很多單位申請替代役,好像都搞錯方向,把我們當勞工在操,什麼事情都叫替代役做,然後正職公務人員很涼,天天沒事做,看報紙,泡茶?說實在替代役的義務是輔助性質,也就是說幫正職公務人員處理一些雜事,可是好像本單位『國史館台灣文獻館』不是這樣認為,單位主管除了平實請替代役幫忙修電腦之外,下班之後還叫替代役去單位主管家裡修電腦,甚至幫忙下載東西,我想這是不太對的吧?
[Read More][FreeBSD] Smokeping 安裝 架設
Posted on April 28, 2007
| 1 minutes
| 156 words
| appleboy
昨天看到 sayya 的 firedragen 個人版,看到 smokeping 的一些圖片,還蠻帥的,就想到要架設來玩看看 安裝方式如下:
[FreeBSD][root][ ~ ]# cd /usr/ports/net/smokeping/ 進去之後
make install clean 然後底下是安裝好之後的訊息
NOTE: A set of sample configuration files have been installed: /usr/local/etc/smokeping/config /usr/local/etc/smokeping/smokemail /usr/local/etc/smokeping/basepage.html /usr/local/etc/smokeping/tmail You *MUST* edit these to suit your requirements. Please read the manpages ‘smokeping_install’ and ‘smokeping_config’ for further details on installation and configuration. If you are upgrading from a previous version of Smokeping, the manpage ‘smokeping_upgrade’ may be of help.
[Read More]WordPress plugin fckeditor
Posted on April 18, 2007
| 1 minutes
| 14 words
| appleboy
[DNS] Domain Name transfer From DreamHost to Godaddy 教學
Posted on April 16, 2007
| 1 minutes
| 60 words
| appleboy
目前我自己的Domain : wu-boy.com,已經快過期了,到2007.04.30就到了,在網路上常常看到一堆文章寫 dreamhost 的不好,底下列了幾篇 DreamHost Sucks ! 搶救 xdite.net 所用的奇技淫巧
[Read More][Mysql] 資料庫備份[big5]utf8轉換成utf-8
Posted on April 8, 2007
| 1 minutes
| 77 words
| appleboy
其實在很多opensource底下的套裝軟體,資料庫預設都是用 utf8,我想這會造成在 phpMyAdmin 底下看到亂碼,然後自己之前也有遇到問題,然後又在網路上看到這篇 搶救 xdite.net 所用的奇技淫巧 裡面所寫的備份方式跟我在轉換 phpBB2 跟自己的 wordpress 一樣 大同小異,我還在想說有更好的解法說,看來是沒有,在 wordpress 底下,只能利用後台的資料庫備份,不然用phpMyAdmin的話,我想你備份出來也是沒用。
[Read More][SQL] SQL 進階搜尋寫法~ 一個很簡單的問題
Posted on April 6, 2007
| 1 minutes
| 144 words
| appleboy
最近在幫 國史館台灣文獻館 寫館內搜尋系統,然後遇到一個問題,晚上跟 sayya裡的大大 ghost 搞了很久,也佔用 ghost 大大很多時間,在這裡先感謝他大力相助~,他還說 這是他解決最久的問題,哈哈,問題如下
我先列出3個表格的欄位跟一些值 table1 class_id, class_title 1 name1 2 name2 table2 class_id, series_name 1 000001 1 000002 1 000003 2 001001 2 001002 2 001003 table3 group_id, group_name 1 000001 1 000002 1 000003 1 000004 2 001001 2 001002 2 001003 如果想要 table1 跟 table2 結合 只要下 sql語法一
############
ex: Select * From table1 as t1, table2 as t2 where t1.class_id = t2.
[Read More]使用 cwRsync 差異性備份 Windows 2003 伺服器
Posted on April 4, 2007
| 1 minutes
| 167 words
| appleboy
最近正在弄Windows的機器怎麼跟Windows的機器互相備份,linux跟windows之間怎麼備份已經搞定了,其實我差不會利用windows的每天固定跑程式,在linux底下可以使用cron的方式來用,可是winodws底下就要使用批次檔。 再來就是安裝步驟,請把2台windows的機器都裝上 cwRsync 參考文章 [Linux] cwRsync [rsync for windows] SSH 加密異地備份 假設已經安裝好 cwrsync 之後,在系統服務那邊 把他啟動之後,就可以開始使用了 底下是網路上抓好的 清除你系統中沒必要的垃圾檔案
[Read More]Lftp 使用FXP以及使用implicit mode加密傳輸
Posted on April 2, 2007
| 1 minutes
| 149 words
| appleboy
其實 lftp 是一個相當好用的文字介面ftp軟體,目前我在玩 linux,就是搭配這套軟體,這套軟體可以搭配shell script,來做到備份的工作,相當不錯,之前在網路上看到 segaa大大寫的一篇 [freebsd] lftp安裝與應用 使用起來很方便,不過我遇到的server都是利用 explicit mode 方式加密,如果利用 implicit mode方式連接,指令可能有些不同,底下來介紹一下
如果你的server端用 explicit 方式來連接,你可使用
1
| lftp -d -u appleboy -p PORT url
|
如果你用 implicit 方式的話,就用下面
1
2
3
4
5
| [appleboy@appleboy-dorm][~][20:23:03]$ lftp
lftp :~> open -d ftps://username:password@url:port
#
# 注意 是 ftps://
#
|
[Read More][mysql] mysqlbinlog 資料庫處理二進制日誌檔案的實用工具
Posted on March 29, 2007
| 1 minutes
| 196 words
| appleboy
當初 國史館台灣文獻館 數位點藏計劃派我去台北 中研院 參加 dor系統計劃的時候,當時有介紹此指令,不過那時候聽不是很清楚,後來在我開發的系統上面惡搞了一下,早上玩自己的資料庫,不小心把他crash掉囉,所以趕緊用 mysqlbinlog 恢復了一堆資料,真是好顯,也虧自己有備份一周的資料庫。 當然,系統剛弄好是沒有開啟 mysqlbinlog 的功能,至少在 CentOS4.4 上面我還要去開啟,不過 ubuntu 系統預設就已經開啟了,不過沒關係,只要利用下面方法就可以達到了 修改 my.cnf [ CentOS: /etc/my.cnf Ubuntu: /etc/mysql/my.cnf ],加入下面語法 # Replication Master Server (default) # binary logging is required for replication log-bin=mysql-bin
[Read More]鳥哥的新書-伺服器架站第二版
Posted on March 28, 2007
| 1 minutes
| 127 words
| appleboy
最近剛買的,在 天瓏網路書局 買的,當時特價的,我看鳥哥的網站公告寫說 天瓏網路書局 有在特價如下 預購 鳥哥的 Linux 私房菜伺服器架設篇 2/e(2007-03-08)
 |
| 活動內容 | <td style="width: 430px">
凡預購 <font color="#660000"><strong>鳥哥的 Linux 私房菜伺服器架設篇 2/e</strong></font>,只需要<strong><font color="#ff0000"> 550元</font></strong>,並額外享有該筆訂單 <font color="#ff0000"><strong>免運費</strong></font> 。如果加購<strong><font color="#0033cc"> </font><font color="#660000">鳥哥的 Linux 私房菜基礎學習篇 2/e</font></strong>,只需要另加<strong><font color="#ff0000"> 550元</font></strong>,合計 <strong> <font color="#ff0000">1100元</font></strong> 就可以把入門與進階一次帶回家。<strong><font color="#0033cc">鳥哥的 Linux 私房菜伺服器架設篇 2/e</font></strong> ISBN:9789866884146<strong><a href="http://tlsj.tenlong.com.tw/WebModule/BookSearch/bookSearchViewAction.do?isbn=9867199553&sid=29946"><font color="#0033cc">鳥哥的 Linux 私房菜基礎學習篇 2/e</font></a></strong> ISBN:9867199553
</td>
| 活動對象 | <td>
網路讀者、門市讀者。
</td>
| 活動日期 | <td>
即日期 ~ 2007/03/16 止
</td>
| 預定到貨 | <td>
<font color="#006600"><strong>2007/03/16</strong></font> 預計到貨。
</td>
| 預購價格 | <td>
書籍定價 <strong>NT 780 元</strong> 預購價格 <font color="#ff0000"><strong>NT 550 元</strong></font> (立即替您省下<font color="#ff0000"><strong> 230 元</strong></font>喔) 加購 <font color="#993300">基礎學習篇 2/e</font> 合計<strong> <font color="#ff0000">NT 1100 元</font></strong>
</td>
| 預購名額 | <td>
網路讀者 <font color="#ff0000"><strong>50</strong></font> 名 (網路讀者請按我要預購) 門市讀者 <font color="#ff0000"><strong>50</strong></font> 名 (門市讀者請洽門市 <font color="#993300">TEL : 02-2371-7725</font>)
</td>
| 取貨期限 | <td>
到貨後,請於2007/3/23 PM6:00前,完成下訂單手續,逾期無效!
</td>
[Read More]