安装环境:
vista + virtualbox 2.1.2(audio: ICH AC97)
1.基本系统安装
加载启动光盘:archlinux-2008.10-archboot.iso,手工分区
/boot : 32M
swap: 512M
/: 剩余空间
使用 jp106 keymap, ext3 filesystem
参考 /cdrom/arch/archdoc.txt
2.从硬盘启动,更新软件包
编辑 /etc/pacman.conf,添加非官方源 http://mirror.lupaworld.com/archlinux/ 速度较快,adsl,大概 150K - 200K 左右。
参考:http://wiki.archlinux.org/index.php/Mirrors
#pacman -Syu
3.创建普通用户
#adduser
4.安装sudo
#pacman -S sudo
#visudo
(添加sudo用户列表)
参考:http://wiki.archlinux.org/index.php/Sudo
5.安装 Xorg
#pacman -S xorg
参考:http://wiki.archlinux.org/index.php/Xorg
#pacman -S hwd
#hwd -u
#hwd -xa
6.安装vbox-addition
在虚拟机菜单中,选择 Devices - Install Guest Additions
#mount /dev/cdrom
#cp /media/VBoxLinuxAdditions-x86.run ~/
#pacman -S gcc make
#~/VBoxLinuxAdditions-x86.run
#nano /etc/X11/xorg.conf
找到 ps/2 mouse,将 Driver 修改为 vboxmouse
7.安装 openbox
参考:http://wiki.archlinux.org/index.php/Openbox
1) #pacman -S openbox
2) 再按照安装提示,复制配置文件到 ~/.config/openbox
3) 编辑 .xinitrc ,添加 exec openbox-session
4) 可编辑 ./config/openbox/autostart.sh 添加自启动项,别忘了在每个命令后加 &
8.安装 fbpanel
#pacman -S fbpanel
添加到 ~/.config/openbox/autostart.sh
9.安装 yaourt
#pacman -U http://repo.archlinux.fr/i686/yaourt-0.9.2.4-1.pkg.tar.gz
10.安装 ibus 输入法
1) 安装 pkg-config,ibus 的 configure 需要它
下载: http://pkgconfig.freedesktop.org/releases/?C=M;O=D
#tar zxvf pkg*.tar.gz
#cd pkg-config...
#./configure --prefix /usr
#make
#make install
2) 安装 ibus-pinyin ibus-table ibus-anthy
3) 将 ibus 添加到 ~/.config/openbox/autostart.sh
4) 设置环境变量,修改文件 ~/.bashrc,添加:
export XMODIFIERS=@im=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
5) 重新登录
11.安装 firefox
1) #pacman -S firefox
2) 安装扩展 user agent switcher,添加 Firefox 3.0.5,设置内容,参考默认值,将 GranParadiso 修改为 Firefox,appName: Firefox/3.0.5
3) 安装 google toolbar
4) 安装 Torbutton
12.安装 flashplugin
#pacman -S flashplugin
13.安装 tor
参考:http://wiki.archlinux.org/index.php/Tor
别忘了 forward-socks4a / localhost:9050 . 最后的这个"."
14.安装文本编辑器 leafpad
#pacman -S leafpad
15.安装文件管理器 xfe
#pacman -S xfe
16.设置ALSA
参考:http://wiki.archlinux.org/index.php/ALSA
别忘了确认,最后加载 snd-pcsp。方法是在 /etc/modprobe.conf 中添加:
options snd-pcsp index=2
No comments:
Post a Comment