Our mission is "Unite all Debian users in Hong Kong, dominate the Greater China Linux market, conquer all servers in the world!"

[分享] 以下是小弟家的 UBUNTU 字體環境設置,請多多指教

/etc/environment =-=-=-=-=-=-=-=-=-
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
LANGUAGE="en_HK:en"
LANG="en_HK.UTF-8"
~
~
/etc/fonts/fonts.conf =-=-=-=-=-=-=-=-=-=- [code] serif

[知識] Ubuntu 6.10 (Edgy Eft) 安裝手冊

Step-by-step教你安裝Ubuntu 6.10 (Edgy Eft)

FontConfig 2.4+

Debian sid 最近把 FontConfig upgrade 到 2.4.x
很多人會發現不能 update font cache
而且 load Desktop Environment 很慢

因為由 2.4.0 起 font cache system 改了
大家只要改一下 /etc/fonts/fonts.conf 就可以 fix 了

加上:

<cachedir>/var/cache/fontconfig</cachedir>
<cachedir>~/.fontconfig</cachedir>

然後 run:
# fc-cache -f

请教openwebmail问题

我的系统是debian-3.1,mail服务器是exim4,pop3 server是dovecot-pop.
在openwebmail登录页面,输入一般系统用户名和密码后,...等待载入...,又
返回到登录页面,不知何因?我选择使用auth_unix.
本人对mail服务不太熟悉,此问题困扰本人很长时间。
请各位朋友帮忙指教。
多谢!

Blocking Skype with IPtables

I really hate to post this , but some of you guys will probably need it one day.

Block the hard coded nodes IPs for Skype : (this must be done on the gateway or the firewall)

66.235.180.9
66.235.181.9
80.160.91.12
80.161.91.25
212.72.49.141
212.72.49.142
212.72.49.143
195.215.8.141
195.215.8.145
64.246.49.61
64.246.49.60
64.246.48.23

I used iptables to block them from my linux gateway:

iptables -A FORWARD -p udp -i eth1 -d 66.235.180.9 -j DROP
.........
.....
....
iptables -A FORWARD -p udp -i eth1 -d 64.246.48.23 -j DROP

that was to UDP packets , repeat the same for TCP :

Can't install postfix

唔知點解一裝就出呢句, 用apt-get -f install postfix 都解決唔到.

# apt-get install postfix
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-config: Conflicts: postfix but 2.2.10-2 is to be installed
exim4-daemon-light: Conflicts: mail-transport-agent
linux-image-2.6.12-1-386: Depends: initrd-tools (>= 0.1.78) but it is not going to be installed
postfix: Depends: libc6 (>= 2.3.6-6) but 2.3.5-6 is to be installed
Depends: libsasl2 (>= 2.1.19.dfsg1) but 2.1.19-1.7 is to be installed

Samba安装

Hello eveyone!Apt-get install samba 安装的过程出现以下提示:
TDBSAM version too old (0), trying to convert it.
TDBSAM converted successfully.
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0

[問題]在debian上如果可以執行opengl的program

如題!
請各位多多幫手!謝謝!

[問]xserver-xorg 7.0 中文 encoding

最近升級至 xorg 7.0 , 不能顯示所有傳統中文字體 (fontconfig 以外)
是 freetype 認不到 arphic fonts 的 big5-0 encoding
大家有沒有這個問題?

Openssh 4.x hash known hosts key 管理

用OpenSSH的人都知ssh會把你每個你訪問過電腦的公鑰(public key)都記錄在~/.ssh/known_hosts。當下次訪問相同電腦時,OpenSSH會核對公鑰。如果公鑰不同,OpenSSH會發出警告,避免你受到DNS Hijack之類的攻擊。

不過known_hosts的內容一些只是以純文本方式存放。如果你的帳號被人成功入侵,他可以由known_hosts直接得知你到訪過的電腦列表。為減低出現類似情況的機會。OpenSSH在4.0p1引入了
Hash Known Hosts功能,在known_hosts中把訪問過的電腦名稱或IP地址以hash方式存放,令入侵都不能直接知道你到訪過那些電腦。這項新項功能預設是關閉的,要你手動地在ssh_config加上"HashKnownHosts yes"才會被開啟。不過Debian Testing就預設開啟了個功能。

HP1410 on CUPS

I've a newly installed printer HP1410 (all-in one scanner, copier and printer). I tried to installed it on linux and hopefully can share it with CUPS + SAMBA, but it doesn't work as expected.

My linux machine has a HP2200 laser printer installed and working without problem. I just follow the same instruction to install HP1410. It looked good during the install progress. I can see status on CUPS which is idle and accepting jobs., however, I can't print anything with it even the test page.

anyone have similar experience?
is there any package I should install for the HP1410 on linux?

/****** message from CUPS ******/

"apt-get install" error, no public key

Hi all,

I got a problem while I was trying to update the package database.

When I ran the command apt-get update, I got something like error the public key is not available. the suggestion from the system was running a command "apt-get -f install". I found that there is no difference after performing the suggested command.

Can anyone help on this?
Below is the output message from my system.

dfserver:~# apt-get update
下載:1 ftp://ftp.hk.debian.org testing Release.gpg [189B]
下載:2 http://security.debian.org testing/updates Release.gpg [189B]
已有 ftp://ftp.hk.debian.org testing Release

[問]How to load GNOME in command-line interface

Hello. I am new to Debian 3.1. I tried Ubuntu Linux, I found that Debian-based Linux is a nice OS, so I installed Debian on my computer.

I installed Debian by "Network version", so I need to install everything I need via FTP. I typed:

apt-get install gnome

to install GNOME desktop environment.
The installation was success, but, I don't know what should be done to load GNOME.
I tried:

gnome

but this command seems not to exist. Sticking out tongue
What should be typed so that I can load GNOME? And load it by default?

Oh, I want to install Xfce, what should be typed?

apt-get install ?????

問 :Gaim 用倉頡輸入法輸入中文時,立即會關閉Gaim

我現在用的是 Testing版本
以SCIM 輸入中文,在兩台電腦上試過都是一樣
在Google search 了,但沒有相關result

我在Stable 版本時,是沒有問題的
請問是不是有什麽需要設定嗎?

[問] How to install mingLiu.ttc

Dear All,

I'm a novice at Debian and I would like to know how we can install the mingLiu.ttu font onto Debian(Sarge v.3.01r). I've installed Perl by running "#apt-get install libft-perl".

However, when I tried to run "#defoma-hints truetype mingliu.ttc > ttf-mingliu.hints", I got error message "Segmentation fault".

Could somebody give me a hand?

Thank you very much in advance.
Best regards,
Eric

訂閱文章