05 五月, 2006 16:21
用smb://協定無法解決遠端分享是big5編碼的問題
只有用smb4k可以,但要做以下設定
1.在smb4k的設定選單中的"設定smb4k"-->"samba"-->"mount"-->"字符集編碼"中"linux語言字符集"選utf8,"伺服器編碼"選cp950。
2.sudo chmod +s /usr/bin/smbmnt
3.sudo chmod +s /usr/bin/smbumount
This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please visit upgrade to a browser that supports web standards. It's free and painless.
05 五月, 2006 16:21
用smb://協定無法解決遠端分享是big5編碼的問題
只有用smb4k可以,但要做以下設定
1.在smb4k的設定選單中的"設定smb4k"-->"samba"-->"mount"-->"字符集編碼"中"linux語言字符集"選utf8,"伺服器編碼"選cp950。
2.sudo chmod +s /usr/bin/smbmnt
3.sudo chmod +s /usr/bin/smbumount
04 五月, 2006 17:23
1.下載新版的firefox
2.解壓至/opt中
3.cd /opt/firefox/plugins/
4.sudo ln -s /usr/lib/mozilla-firefox/plugins/* .
5.cd
6. mv ~/.mozilla/firefox ~/.mozilla/firefox1.0.x.ubuntu
7.sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
8.sudo ln -s /opt/firefox/firefox /usr/bin/firefox
04 五月, 2006 17:20
sudo vi ~.mplayer/config
# Write your default config options here!
subcp=cp950
unicode=yes
font=/usr/share/fonts/truetype/fireflysung.ttf
subfont-text-scale=3
vo=xv
25 四月, 2006 15:02
1.kde可以用kde的控制中心來改。
2.gnome的程式可以安裝
sudo apt-get install gnome-control-center
用
gnome-control-center 來修改
25 四月, 2006 11:36
1.在 /etc/apt/sources.list 加入:
#oxim
deb http://www.calno.com unstable main
deb-src http://www.calno.com unstable main
然後執行 apt-get update ; apt-get install oxim oxim-bimsphone oxim-chewing oxim-gtk2-immodule
2.vi /etc/X11/Xsession.d/99xorg-common_start
改成
export LANG=zh_TW.UTF-8
export LC_CTYPE=zh_TW.UTF-8
export GTK_IM_MODULE=oxim
export XMODIFIERS="@im=oxim"
oxim &
exec $STARTUP
3.重啟xwindow
21 四月, 2006 14:29
1. 到https://sdlc3e.sun.com/ECom/EComActionServlet;jsessionid=479E5F62E0DFD65A2386884E23268732中下載
"JDK 5.0", 只可以下載 "Linux self-extracting file"
(jdk-1_5_0_06-linux-i586.bin) (不可以用RPM version)
2. 安裝 fakeroot, java-package 及 java-common 套件 指令:
sudo apt-get install fakeroot java-package java-common
3. 製作 JDK 1.5 套件
指令: fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin
4. 安裝 JDK 1.5 套件 指令:
sudo dpkg -i sun-j2dk1.5_1.5.0+update06_i386.deb
5. 選擇 Sun JDK 為預設 Java VM
指令:
sudo update-alternatives --config java
選擇/usr/lib/j2sdk1.5-sun/bin/java
6.增加firefox的java plugin
ln -s /usr/lib/j2sdk1.5-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /home/userhomedir/.mozilla/plugins
7.在/usr/lib/j2sdk1.5-sun/jre/lib中新增一檔案名叫fontconfig.properties
http://blog.ilc.edu.tw/blog/blog/673/resource/5210/40587
chmod 644 fontconfig.properties
8.測試java中文顯示網頁
http://gis.nat.gov.tw/
https://postserv.prsb.gov.tw/Trade/01.htm
20 四月, 2006 17:31
1.將ubuntu-tw加入 sources.list
2.安裝,並且連結到 local.conf 檔案:
sudo apt-get install ttf-arphic-newsung
sudo fc-cache -f -v
cd /etc/fonts
sudo ln -s conf.d/ttf-arphic-newsung.conf local.conf
3.restart kdm
13 四月, 2006 16:13
13 四月, 2006 16:07
1.參考
http://kubuntu.org/announcements/kde-35.php
wget http://people.ubuntu.com/~jriddell/kubuntu-packages-jriddell-key.gpg
sudo apt-key add kubuntu-packages-jriddell-key.gpg
2.deb http://kubuntu.org/packages/kde35 breezy main
加上sources.list
sudo apt-get install kde-i18n-zhtw
3.下載ftp://140.111.66.34/files/deb/kde-l10n-zh-tw_3.5.2-2_all.deb
4.# dpkg-deb -x kde-l10n-zh-tw_3.5.2-2_all.deb kde-l10n-zhtw
# cd kde-l10n-zhtw
# cp -r usr/share/locale/zh_TW/LC_MESSAGES /usr/share/locale/zh_TW/
或用以下方法處理sudp apt-get install language-pack-kde-zh-base language-pack-zh-base language-support-zh
13 四月, 2006 15:51
1.在 /etc/apt/sources.list 加入:
deb http://apt.debian.org.tw unstable main
deb http://chuany.net/~asho/debian unstable main
然後執行 apt-get update ; apt-get install gcin
2.vi /etc/X11/Xsession.d/99xorg-common_start
改成
export LANG=zh_TW.UTF-8
export LC_CTYPE=zh_TW.UTF-8
export GTK_IM_MODULE=gcin
export XMODIFIERS="@im=gcin"
gcin &
exec $STARTUP
3.重啟xwindow
21 三月, 2006 17:18
1.先下載kernel source
wget ftp://ftp3.tnc.edu.tw/KNOPPIX/health/kernel_source/linux-2.6.13.1-b2d.tgz
2.cd /usr/src
3.tar zxvf linux-2.6.13.1-b2d.tgz
4.ln -snf kernel--2.6.13.1 linux
5.apt-get install module-assistant ndiswrapper-source
6.tar jxvf ndiswrapper-source.tar.bz2
7.module-assistant auto-install ndiswrapper
8.dpkg -i ndiswrapper-modules-2.6.13.1_1.1-4+10.00.Custom_i386.deb
9.modprobe ndiswrapper
10.ndiswrapper -i windows-net-card-driver.INF
17 二月, 2006 09:53
1.先安裝debian系統
2.更改系統編碼
dpkg-reconfigure locales
改為utf8編碼
3.安裝apache、mysql、php
apt-get install apache mysql-server php4 php4-mysql libapache-mod-php4 phpmyadmin
4.修改/etc/apache/httpd.conf
將以下兩行前的#取消
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
5.下載xoops-2.2.3a-tw-utf8.tgz,解壓縮後將html目錄內的所有檔案copy至/var/www內
6.修改mysql root的passwd
下指令 mysqladmin -u root password new_password
7.利用phpmyadmin進入mysql,建立一個資料庫
8.用瀏覽器連結伺服器進行xoops安裝
9.如果伺服器改ip的話,要改/var/www/mainfile.php裏的
define('XOOPS_URL', 'http://server ip');設定
13 元月, 2006 08:57
一、先到knoppix.tnc.edu.tw下載20051208的purekde安裝
二、安裝klik的java(路徑為/opt)及freemind 、ooopd OpenOffice.org2 Writer 的符號表列工具
三、安裝firefox的flash plugin
四、vi /etc/apt/sources.list
加入deb ftp://ftp.nerim.net/debian-marillat/ sarge main
五、apt-get install mplayer-586 w32codecs
六、設定eth0、eth1(對內網卡不要設gateway)
七、執行 "apt-get update"
八、執行 "apt-get install drbl"來安裝
drbl程式
九、 B2D預設會把TCPwrapper開啟,所以你必須注意要記得改/etc/hosts.allow。要不然後面第三步驟執行完後client會開不了 機。
十、 B2D中的kdm似乎在DRBL client環境下,非常不穩定,有時候啟動時,會發現已經有kdm了,然後就不跑了,造成用戶端沒有圖形登入畫面。解決的方法就是在執行步驟2b的 drblsrv之前,先安裝gdm (apt-get install gdm),然後把gdm設為預設的dm。
十一、讓cdrom可以自動mount
將使用者加入teacher群組,再讓他們有sudo權限,再copy給client
visudo加入
%teacher ALL=NOPASSWD: ALL
十二、音效問題
執行
十三、印表機設定
在server上設定好printer再copy /etc/cups/printers.conf給client
在server上執行/opt/drbl/sbin/drbl-client-service cupsys on
十四、增加字型
在server上的
/opt/OpenOffice.org/share/fonts/truetype中加入字型,所有的client在openoffice就可以用了
11 十二月, 2005 16:26
10 十二月, 2005 12:13