Configure

From ZENotes
Revision as of 23:59, 14 October 2011 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

All Config Files Pertinent to Arch 05/2010

(as of september 2010, that is)

base

/etc/rc.conf

LOCALE="en_GB.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Brussels"
KEYMAP="be-latin1"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

MOD_AUTOLOAD="yes"
MODULES=(!net-pf-10 !snd_pcsp !pcspkr loop nfs nfsd)
USELVM="no"

HOSTNAME="yourhostnamehere"
eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
DAEMONS=(syslog-ng network portmap rpcbind nfs-common netfs crond sshd @gpm)

/etc/hosts

127.0.0.1               localhost.localdomain   localhost DC266
192.168.1.1     WRT54   wrt54
192.168.1.96    DC266   dc266
192.168.1.99    ASUS    asus
192.168.1.100   ACER    acer
192.168.1.249   NASPAS  naspas

/etc/fstab

devpts                   /dev/pts      devpts    defaults            0      0
shm                      /dev/shm      tmpfs     nodev,nosuid        0      0
                         
#/dev/cdrom              /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd                /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0                /media/fl   auto    user,noauto             0      0
                         
/dev/sda3                /               ext4    defaults        0       1
                         
/dev/md0                 /media/raid     ext3    defaults        1       2
naspas:/mnt/md1/public   /media/naspas   nfs     defaults        1       2

/etc/hosts.allow

sshd: ALL
rpcbind: ALL

/etc/mdadm.conf

DEVICE /dev/sd[bc]1
MAILADDR root
ARRAY /dev/md0 level=raid1 num-devices=2 devices=/dev/sdb1,/dev/sdc1

RAID notes

/etc/resolv.conf

nameserver 208.67.220.220
nameserver 208.67.222.222

/etc/X11/xorg.conf/10-monitor.conf

Section "ServerLayout"
   Identifier     "DualSreen"
   Screen       0 "Screen0"
   Screen       1 "Screen1" RightOf "Screen0" #Screen1 at the right of Screen0
EndSection

Section "Monitor"
   Identifier     "Monitor0"
   Option         "Enable" "true" 
EndSection

Section "Monitor"
   Identifier     "Monitor1"
   Option         "Enable" "true"
EndSection

Section "Device"
   Identifier     "Device0"
   Driver         "nvidia"
   Screen         0
EndSection

Section "Device"
   Identifier     "Device1"
   Driver         "nvidia"
   Screen         1
EndSection

Section "Screen"
   Identifier     "Screen0"
   Device         "Device0"
   Monitor        "Monitor0"
   DefaultDepth    24
   Option         "TwinView" "1"
   SubSection "Display"
       Depth          24
       Modes          "1440x900_75.00"
   EndSubSection
EndSection

Section "Screen"
   Identifier     "Screen1"
   Device         "Device1"
   Monitor        "Monitor1"
   DefaultDepth   24
   Option         "TwinView" "1"
   SubSection "Display"
       Depth          24
   EndSubSection
EndSection

/etc/X11/xorg.conf.d/30-keyboard.conf

Section "InputClass"
       Identifier      "Keyboard Defaults"
       MatchIsKeyboard "yes"
       option          "Xkblayout"     "be"
       option          "Xkbmodel"      "logiex110"
EndSection

user

~/.bashrc

[ -z "$PS1" ] && return
export LANG=en_GB.UTF-8
alias xterm='xterm -u8'
alias mplayer='mplayer -nolirc'
alias nasmount='sudo mount naspas:/mnt/md1/public /media/naspas'
alias wget='wget -c'
alias e16='xinit /usr/bin/starte16 -nodaemon'
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '


back to Arch page

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox