arch linux 安装笔记(part1)
[intall base system]
1.Download the iso file , put it in h**5 (**T32)
2.Get the initrd.img from the iso file
3.Get the linux kernel and the loadlin.exe from magiclinux install CD,
put them in hda5 (Useing the kernel from magiclinux install CD just
for vfat filesystem )
4.Boot from CD into DOS7(Win98 install CD)
5.Run loadlin.exe vmlinuz root=/dev/ram0 initrd=initrd.img ramdisk_size
=56000
6. mkdir /cd
mount /dev/hda5 /cd
cd /cd
mount the iso file at /src
7. Run the setup program and flow it (Just a base system,and base config)
8. Reboot into linux
[install xorg , a base wm and xterm]
9. pppoe-setup then pppoe-start,ping the sina,it work!
10.vi /etc/pacman.conf, upgrad hold system
11.install xorg and my vidio car drive nv (pacman -S xorg , pacman -Ss nv
then .......)
12.xorgcfg , kill the X , cp ~/xorg.conf.new /etc/X11/xorg.conf , vi xorg.conf
13.pacman -Ss xterm and install xterm
14.startx , it work!
15.pacman -Ss twm and install twm
16.Restart X
[install firefox , get help from web]
17.pacman -Ss firefox and install it,ln ./firefox /bin/firefox
18.Run firefox ,go to the , now I can get help from web but just
in english
[install chinese fonts]
19.mount hda1 , copy windows fonts sim* into /usr/share/fonts
20.[root@206studio fonts]# fc-cache
21.restart firefox but now
[root@206studio ~]# firefox
(firefox-bin:3336): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on
22.OK using man, but
[root@206studio fonts]# man fontconfig
No manual entry for fontconfig
23.mv /etc/fonts/fonts.conf /etc/fonts/fonts.conf.bak
24.run firefox it come bake
25.Add FontPath "/usr/share/fonts" into xorg.conf
26.restart X , run firefox , goto , can read chinese now.
[install medit]
27.pacman -S medit
[try a fonts.conf from Internet]
28.add a /etc/fonts/fonts.conf
SimSun
瀹浣
Verdana
29.restart firefox,it don't work!
30.cd /usr/share/fonts,mkfontdir
31.run firefox,stil don't work!,mv /etc/fonts/fonts.conf ~/fonts.conf.try1
[install blackbox]
32. pacman -S blackbox
33.pacman -S bbtime
34.creat /root/.xinitrc
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# start some nice programs
blackbox &
bbtime &
# xclock -geometry 50x50-1+1 &
# xterm -geometry 80x50+494+51 &
# xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
but can't work the Error mesage is:
blackbox: couldn't load font '-*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*'
... reverting to default font.blackbox: couldn't load default font. please check to
make sure the necessary font is installed '-*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*'
阅读(2002) | 评论(0) | 转发(0) |