Archlinux安装配置指南

之前给自己安装过Archlinux,由于麻烦,就没有写教程,昨天升级到Gnome3.2的时候,黑屏了,无奈,我只好冲撞,直接上gnome3.2了,这下要记录一下,整过配置过程,以备日后使用。

参考资料:

http://my.oschina.net/u/188134/blog/32912

安装过程不再重复,参考过程点击这里查看

安装好系统后,接下来开始配置系统。

1、更新系统,安装Gnome环境

pacman -Syu
pacman-db-upgrade
pacman -Syu gnome
pacman -Syu gnome-extra (可选,因为我不用一些不必要的东西)

2、安装显卡驱动,安装GDM登陆器

pacman -S xorg-xinit xorg-server
#ATI显卡
pacman -S xf86-video-ati
#Nvidia显卡
pacman -S xf86-video-nouveau nouveau-dri
#登陆器
pacman -S gdm

3、修改登陆启动

vi /etc/inittab

#改动1:
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

#改动2
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1 
vi /etc/rc.conf

#将开机加载的模块添加到MODULES的模块中。
MODULES=(fuse ) 

#开机启动服务。@代表在后台(background)运行。
DAEMONS=(hwclock syslog-ng dbus network netfs crond gdm @networkmanager )

之前安装,单独在 vi /etc/rc.conf 中添加gdm可启动,vi /etc/inittab 可省略,只是上篇文章提到,我就照做了,暂时还未明白什么意思。

4、添加账户,重启登陆

#添加账户,按照提示输入更多信息,****为你的账户名
adduser ****

#切换至新增账户
su – ****

#选择窗口管理器为gnome
echo 'exec gnome-session'>>~/.xinitrc

选择窗口管理器这一段,好像无用,因为我把ibus写到上面,也无法在登陆的时候启动。

接下啦,重启使用登陆器登陆您的新增账户吧。

reboot

5、添加 aur 支持库

#切换root用户su

vi /etc/pacman.conf
#在最底下添加如下代码
[archlinuxfr]
Server = http://repo.archlinux.fr/i686

#同步并安装yaourt:pacman -Syu yaourt

6、安装个性配置软件

#浏览器
yaourt -S firefox firefox-i18n-zh-cn#安装归档管理器及压缩解压包yaourt -S file-rolleryaourt -S unrar zip unzip p7zip xz arj unace#安装网络工具(ifconfig)yaourt -S net-tools#安装flash
yaourt -S flashplugin
#视频播放
yaourt -S vlc gstreamer0.10-plugins
#音频播放
yaourt -S deadbeef
#右键打开终端
yaourt -S nautilus-open-terminal#安装sudo支持yaourt -S sudo#桌面高级设置
yaourt -S gnome-tweak-tool
#安装libreoffice办公软件,语言包选101)中文包。
yaourt -S libreoffice
#安装邮件收发软件thunderbird
yaourt -S thunderbird thunderbird-i18n-zh-cn
#安装中文字体
yaourt -S ttf-dejavu wqy-zenhei
#安装ibus输入平台以及中文输入法
yaourt -S ibus ibus-pinyin ibus-sunpinyin
#安装聊天软件empathy,及聊天主题
yaourt -S empathy empathy-theme-ubuntu-adium-bzr#安装empathy聊天协议
yaourt -S telepathy-gabble telepathy-butterfly telepathy-idle telepathy-salut telepathy-sofiasip telepathy-haze

7、安装个性配置软件

vi ~/.profile
#输入以下内容
ibus-daemon -d -x

#配置sudovi /etc/sudoers#加入如下内容(****为你的用户名)**** ALL=(ALL) ALL

#Nautilus显示文本路径
gsettings set org.gnome.nautilus.preferences always-use-location-entry true

 

{ 发表评论? }

  1. Mucid

    Arch的wiki是我见过写的最好的了 :gl:

  2. 松鼠男

    啊,linux在大学嵌入式的时候玩过,现在忘光啦,哈哈~~~

  3. 果酱

    看过,记下,留名,支持

  4. yetone

    我觉得archlinx完全不需要指南,用wiki即可搞定一切

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>