Fri, Mar 09, 2007
Acroread for Debian
Acroread is the linux branch of the Adobe Acrobat Reader. Anyone can
get the tar ball from Adobe. The deb package (current version: 7.08) can
be found here. The
additional font packages can be downloaded via this
page.
Category: /computer/debian
| Permalink
Thu, Feb 22, 2007
Timezone
1. Set "UTC=no" in "/etc/default/rcS".
2. Set as your own location in "/etc/timezone".
3. Load hardware clock to system. ("hwclock -s")
$ man date
$ man hwclock
Category: /computer/debian
| Permalink
Thu, Feb 22, 2007
硬盘安装 Debian
1. 下载安装文件
从 Debian 镜像列表
中选择镜像,下载以下三个文件,存放到 C:/debian/ 目录下:
- debian-31r4-i386-netinst.iso (112M)
- vmlinuz (798K)
- initrd.gz (2.9M)
第一个文件在镜像的 /debian-cd/3.1_r4/ 目录中;
后两个文件在
/debian/dists/Debian3.1r4/main/installer-i386/current/images/hd-media/
目录中。
2. 安装 Grub4DOS
下载 Grub for DOS,按提示安装到 Windows 的 C: 盘。实际上只需把二进制文件 grldr 拷贝到 C: 盘根目录。
编辑 C:/boot.ini ,添加:
C:\GRLDR="Start GRUB"
3. 安装基本系统
重启,进入 Grub 启动菜单,选择 Boot Grub,在 Grub 命令行依次输入以下三行:
grub> kernel (hd0,0)/debian/vmlinux root=/dev/ram \
> ramdisk_size=512000 devfs=mount,all
grub> initrd (hd0,0)/debian/initrd.gz
grub> boot
即开始安装基本系统。
注:
A. 分区基本原则:
- 必须有主分区 / 和 swap,用户目录 /home 最好单独分区,如果用来做数据库或服务器,分区应当更细;
- swap 分区的大小:当内存小于 256M 时,swap 分区大小为内存大小的二倍;当内存大于 512M 时,分给 swap 分区约 512M。
B. 桌面环境及其它软件包
在安装基本系统时,按提示设置好网络和 sources.list ,安装好基本系统以后,用 APT 安装桌面系统及其它软件包。
Category: /computer/debian
| Permalink
Thu, Feb 22, 2007
配置 SCIM
环境:Debian (3.1, sarge): Xorg (1:7.1.0-11); GNOME (1:2.14.3.5); SCIM (1.4.4-7)。
1. 设置 locale
# dpkg-reconfigure locales
选择 locales,如 en_US.UTF-8, zh_CN.UTF-8, zh_CN.GBK。
2. 安装 SCIM
# apt-get install scim scim-gtk2-immodule scim-modules-socket \
> scim-modules-table scim-pinyin scim-tables-zh
3. 修改 /etc/gtk-2.0/gtk.immodules
- "xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
+ "xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh:en"
- "scim" "SCIM Input Method" "scim" "/usr/share/locale" ""
+ "scim" "SCIM Input Method" "scim" "/usr/share/locale" "zh:en"
4. 重启 X
中、英文环境下都可以输入中文。
Category: /computer/debian
| Permalink