文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>arch linux 0.8 voodoo安装设置笔记

arch linux 0.8 voodoo安装设置笔记

时间:2007-02-13  来源:merino

Arch linux发行版是基于i686的简洁快速而又富有内涵的发行版,适合具有一定linux基础的用户,她符合kiss的原则,没有很多非标准的东西,同时她拥有pacman这个强大的包管理系统,可处理依赖关系,当然了,arch的软件往往是最新的,也让你的系统随时保持最新。更多信息请访问http://www.archlinux.org 目前最新版是0.8 voodoo.

我的安装简要:

分区的时候我的/分区是bootable的,方便我把grub安装在这个分区的superblock而不是MBR,这样的好处是不怕mbr被改而失去grub启动; 分好了区别忘了点那个done哦(在分区的列表最下面而不是按钮里,这点arch一直没做到人性化)

我是选择定制的软件包(我用的是完整的current CD),base要选好,该选的就选,不清楚就要选:),其他的包则不清楚就不选,比如lib我一个都没选,因为arch能自动处理依赖关系,把相应的包装上,所以不用担心;

安装好包arch会提示你马上配置系统,需要编辑文件的(arch的kiss原则...也是新手所畏惧的,不过多读读官方的howto就没什么难的了)

1) /etc/rc.conf

#

# /etc/rc.conf - Main Configuration for Arch Linux

#


#

# -----------------------------------------------------------------------

# LOCALIZATION

# -----------------------------------------------------------------------

#

# LOCALE: available languages can be listed with the 'locale -a' command

# HARDWARECLOCK: set to "UTC" or "localtime"

# TIMEZONE: timezones are found in /usr/share/zoneinfo

# KEYMAP: keymaps are found in /usr/share/kbd/keymaps

# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)

# CONSOLEMAP: found in /usr/share/kbd/consoletrans

# USECOLOR: use ANSI color sequences in startup messages

#

LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Asia/Beijing"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#

# -----------------------------------------------------------------------

# HARDWARE

# -----------------------------------------------------------------------

#

# Scan hardware and load required modules at bootup

MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev

MOD_BLACKLIST=()
#

# Modules to load at boot-up (in this order)

# - prefix a module with a ! to blacklist it

#

MODULES=(8139too mii)
# Scan for LVM volume groups at startup, required if you use LVM

USELVM="no"

#

# -----------------------------------------------------------------------

# NETWORKING

# -----------------------------------------------------------------------

#

HOSTNAME="dreamland"
#

# Interfaces to start at boot-up (in this order)

# Declare each interface then list in INTERFACES

# - prefix an entry in INTERFACES with a ! to disable it

# - no hyphens in your interface names - Bash doesn't like it

#

# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")

#

lo="lo 127.0.0.1"
eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0)
#

# Routes to start at boot-up (in this order)

# Declare each route then list in ROUTES

# - prefix an entry in ROUTES with a ! to disable it

#

gateway="default gw 192.168.1.1"
ROUTES=(gateway)
#

# Enable these network profiles at boot-up. These are only useful

# if you happen to need multiple network configurations (ie, laptop users)

# - set to 'menu' to present a menu during boot-up (dialog package required)

# - prefix an entry with a ! to disable it

#

# Network profiles are found in /etc/network-profiles

#

#NET_PROFILES=(main)


#

# -----------------------------------------------------------------------

# DAEMONS

# -----------------------------------------------------------------------

#

# Daemons to start at boot-up (in this order)

# - prefix a daemon with a ! to disable it

# - prefix a daemon with a @ to start it up in the background

#

DAEMONS=(syslog-ng network !netfs hal alsa crond)


注意红色的更改地方,特别注意的是如果你改了hostname,后面要相应修改hosts这个文件!
 网络设置那里注意我是固定ip,要把打开gateway那个选项!(去掉gateway前的!)
最后是后台进程,禁用了netfs,同时添加了alsa,是为了能开关机自动读取和保存alsa的设置(尤其是音量);还添加了hal, 这其实是后来装了xfce才加进去的,hal对桌面系统来说很必要的,可以动态自动加载移动储存设备。

/etc/hosts加入(对应前面HOSTNAME="dreamland"的修改):

127.0.0.1 diyer.dreamland.org diyer


固定IP需要自己填写dns服务器,编辑/etc/resolv.conf,加入:

nameserver 202.96.128.166
nameserver 202.96.128.68


--待续
相关阅读 更多 +
排行榜 更多 +
泽塔奥特曼变身器模拟器手机版下载

泽塔奥特曼变身器模拟器手机版下载

角色扮演 下载
假面骑士ZZZ模拟器SWF下载

假面骑士ZZZ模拟器SWF下载

角色扮演 下载
军团再临安卓版下载

军团再临安卓版下载

策略塔防 下载