免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 863 | 回复: 0
打印 上一主题 下一主题

arch linux 0.8 voodoo安装设置笔记 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-02-13 22:30 |只看该作者 |倒序浏览

                                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
--待续


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/24647/showart_247029.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP