- 论坛徽章:
- 0
|
目的,避免刻盘,desktop硬盘安装,安装一个英文环境可以中文显示的edgy
1.资源准备
edgy安装iso:http://cdimage.ubuntu.com/xubuntu/releases/6.10/release/
desktop硬盘安装kernel和initrd: http://ftp.ubuntu.org.cn/gnix_oag/boot_livecd_from_hd/edgy/xubuntu/bhd_i386_2.6.17-10g.tar.gz
一张有grub的引导光盘
2.安装
用fdisk分区,40G硬盘:
mount Device Start End Blocks Id System
/ /dev/hda1 1 1825 14659281 83 Linux
/dev/hda4 1826 4863 24402735 5 Extended
swap /dev/hda5 1826 1948 987966 82 Linux swap / Solaris
/home/ /dev/hda6 1949 4381 19543041 83 Linux
/var /dev/hda7 4382 4863 3871633+ 83 Linux
格式化 /dev/hda6
mkfs.ext3 /dev/hda6
把下载的iso, vmlinuz, initrd拷贝到/dev/hda6/x_edgy/目录下
用带有grub的光盘启动,按c进入commond模式,输入下面内容
kernel (hd0,5/)/x_edgy/vmlinuz boot=gnix_oag ramdisk_size=1048576 root=/dev/ram rw quiet splash debian-installer/locale=en_US
initrd (hd0,5)/x_edgy/initrd.gz
boot
引导进入edgy桌面环境
直接安装,安装过程中不要格式化 /dev/hda6
安装完毕重启进入edgy 桌面环境
2.初始化配置
添加源:
修改 /etc/apt/sources.list
deb http://cn.archive.ubuntu.com/ubuntu/ edgy main restricted multiverse universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ edgy main restricted
multiverse
universe
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ edgy-updates main restricted multiverse universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ edgy-updates main restricted multiverse universe
deb http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe
## PLF fallback repository - edgy
deb http://mrpouit.free.fr/plf-fallback edgy-plf free non-free
deb-src http://mrpouit.free.fr/plf-fallback edgy-plf free non-free
运行sudo apt-get update
sudo apt-get upgrade
3.中文化
locale设置:
删除多余的语言支持,在菜单中选system->Language support 删除多余的语言,只保留chinese和english
删除多余的英文和中文,
在/var/lib/locales/supported.d目录下编辑en,zh
其中en只保留:en_US.UTF-8
zh只保留:zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN.GB2312 GB2312
编辑/etc/belocs/locale-gen.conf
PURGE=yes
运行 sudo locale-gen
字体美化:
苹果的黑体:在http://ftp.ubuntu.org.cn/fonts/VeraSansYuanTi.tar.gz下载
解压到/usr/share/fonts/truetype/
运行 sudo fc-cache -vf
微软雅黑:http://ftp.ubuntu.org.cn/fonts/yahei.tar.gz
解压到/usr/share/fonts/truetype/
运行 sudo fc-cache -vf
文泉驿: sudo apt-get xfonts-wqy
修改 /etc/fonts/目录下的 fonts.conf 和 language-selector.conf
fonts.conf:
/usr/share/fonts
/usr/share/X11/fonts /usr/local/share/fonts
~/.fonts
mono
monospace
sans serif
sans-serif
sans
sans-serif
DejaVu Serif
Bitstream Vera Serif
DejaVu Serif
Times New Roman
Thorndale AMT
Times
Nimbus Roman No9 L
Luxi Serif
Microsoft YaHei
Vera Sans YuanTi
Kochi Mincho
AR PL SungtiL GB
AR PL Mingti2L Big5
MS 明朝
Baekmuk Batang
FreeSerif
MgOpen Canonica
serif
DejaVu Sans
Bitstream Vera Sans
DejaVu Sans
Helvetica
Arial
Verdana
Albany AMT
Nimbus Sans L
Luxi Sans
Microsoft YaHei
Vera Sans YuanTi
Kochi Gothic
AR PL KaitiM GB
AR PL KaitiM Big5
MS ゴシック
Baekmuk Dotum
SimSun
FreeSans
MgOpen Moderna
sans-serif
DejaVu Sans Mono
Bitstream Vera Sans Mono
DejaVu Sans Mono
Courier
Courier New
Andale Mono
Luxi Mono
Cumberland AMT
Nimbus Mono L
Vera Sans YuanTi Mono
NSimSun
FreeMono
monospace
sans-serif
serif
monospace
sans-serif
Symbol
Standard Symbols L
Times
Nimbus Roman No9 L
Helvetica
Nimbus Sans L
Courier
Nimbus Mono L
-->
Times New Roman
Thorndale AMT
Arial
Albany AMT
Courier New
Cumberland AMT
ZapfDingbats
Dingbats
Symbol
Open Symbols L
Times
true
Nimbus Roman No9 L
Helvetica
true
Nimbus Sans L
Courier
true
Nimbus Mono L
Times New Roman
Thorndale AMT
Thorndale
true
Times New Roman
Nimbus Roman No9 L
Arial
Albany AMT
Albany
Verdana
true
Arial
Nimbus Sans L
Courier New
Cumberland AMT
Cumberland
true
Courier New
Nimbus Mono L
GulimChe
false
DotumChe
false
BatangChe
false
GungsuhChe
false
Bitstream Vera Sans
7.5
false
Bitstream Vera Serif
7.5
false
Bitstream Vera Sans Mono
7.5
false
~/.fonts.conf
conf.d
local.conf
language-selector.conf
serif
DejaVu Serif
Bitstream Vera Serif
DejaVu Serif
Times New Roman
Thorndale AMT
Luxi Serif
Nimbus Roman No9 L
Times
Frank Ruehl
FreeSerif
MgOpen Canonica
Microsoft YaHei
Vera Sans YuanTi
Kochi Mincho
AR PL SungtiL GB
AR PL Mingti2L Big5
MS 明朝
Baekmuk Batang
sans-serif
DejaVu Sans
Bitstream Vera Sans
DejaVu Sans
Verdana
Arial
Albany AMT
Luxi Sans
Nimbus Sans L
Helvetica
Nachlieli
Microsoft YaHei
Vera Sans YuanTi
FreeSans
MgOpen Moderna
Kochi Gothic
AR PL KaitiM GB
AR PL KaitiM Big5
MS ゴシック
Baekmuk Dotum
SimSun
monospace
DejaVu Sans Mono
Bitstream Vera Sans Mono
DejaVu Sans Mono
Andale Mono
Courier New
Cumberland AMT
Luxi Mono
Nimbus Mono L
Courier
Miriam Mono
FreeMono
Vera Sans YuanTi Mono
Kochi Gothic
AR PL KaitiM GB
Baekmuk Dotum
roman
roman
matrix
10.2
01
oblique
100
200
true
0x0020
0x00A0
0x00AD
0x034F
0x0600
0x0601
0x0602
0x0603
0x06DD
0x070F
0x115F
0x1160
0x1680
0x17B4
0x17B5
0x180E
0x2000
0x2001
0x2002
0x2003
0x2004
0x2005
0x2006
0x2007
0x2008
0x2009
0x200A
0x200B
0x200C
0x200D
0x200E
0x200F
0x2028
0x2029
0x202A
0x202B
0x202C
0x202D
0x202E
0x202F
0x205F
0x2060
0x2061
0x2062
0x2063
0x206A
0x206B
0x206C
0x206D
0x206E
0x206F
0x3000
0x3164
0xFEFF
0xFFA0
0xFFF9
0xFFFA
0xFFFB
30
SimSun
bold
VeraSansYuanTi-Bold
SimSun
false
VeraSansYuanTi-Bold
false
Vera Sans YuanTi
false
Vera Sans YuanTi Mono
false
true
false
false
hintnone
false
-->
Vera Sans YuanTi
false
Vera Sans YuanTi Mono
false
Vera Sans YuanTi
true
false
false
hintnone
false
Vera Sans YuanTi
12
16
false
true
false
hintfull
true
Vera Sans YuanTi Mono
true
false
false
hintnone
false
Vera Sans YuanTi Mono
12
16
false
true
false
hintfull
true
Microsoft YaHei
false
Microsoft YaHei
true
false
false
hintnone
false
Microsoft YaHei
12
16
false
true
false
hintfull
true
-->
language-selector.conf:
serif
DejaVu Serif
Bitstream Vera Serif
Microsoft YaHei
Vera Sans YuanTi
AR PL ShanHeiSun Uni
WenQuanYi Bitmap Song
AR PL ZenKai Uni
sans-serif
DejaVu Sans
Bitstream Vera Sans
Microsoft YaHei
Vera Sans YuanTi
AR PL ShanHeiSun Uni
WenQuanYi Bitmap Song
AR PL ZenKai Uni
monospace
DejaVu Sans Mono
Bitstream Vera Sans Mono
Microsoft YaHei
Vera Sans YuanTi Mono
AR PL ShanHeiSun Uni
WenQuanYi Bitmap Song
AR PL ZenKai Uni
Microsoft YaHei
rgb
true
true
true
hintmedium
Bitstream Vera Sans Mono
rgb
true
false
true
hintmedium
Song
Sun
Kai
Ming
100
180
true
Song
Sun
Kai
Ming
false
0
true
false
true
18
false
85
重启x就能看到漂亮的黑体字了
sudo /etc/init.d/gdm restart
输入法
im-switch -s scim
效果图:
![]()
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13673/showart_199011.html |
|