Samstag, 3. März 2012

Arch Linux Setup - Step 001

Console:
[root@polaris ~]# pacman-db-upgrade
[root@polaris ~]# pacman -Syu


Console:
[root@polaris ~]# pacman -S abs
[root@polaris ~]# pacman -S base-devel
[root@polaris ~]# pacman -S consolekit
[root@polaris ~]# pacman -S dbus


Console:
[root@polaris ~]# abs
[root@polaris ~]# useradd -g users -G audio,lp,optical,power,scanner,storage,video,wheel -m user
[root@polaris ~]# passwd user
> Enter new UNIX password > user
[root@polaris ~]# chown user /var/abs/local
[root@polaris ~]# nano -w /etc/inittab
* c1:2345:respawn:/sbin/agetty -a user -8 -s 38400 tty1 linux
[root@polaris ~]# nano -w /etc/rc.conf
* DAEMONS=(... dbus)


Console:
[root@polaris ~]# pacman -S nvidia
[root@polaris ~]# pacman -S openbox
[root@polaris ~]# pacman -S xorg-server
[root@polaris ~]# pacman -S xorg-xinit


Console:
[root@polaris ~]# nano -w /etc/X11/xorg.conf.d/10-evdev.conf
* Option "XkbLayout" "de"
[root@polaris ~]# nvidia-xconfig
[user@polaris ~]# mkdir ~/.config
[user@polaris ~]# cp -r /etc/xdg/openbox ~/.config
[user@polaris ~]# nano -w ~/.bash_profile
* if [[ -z $DISPLAY && $(tty) = /dev/tty1 ]]; then
* exec startx
* fi
[user@polaris ~]# nano -w ~/.xinitrc
* exec ck-launch-session dbus-launch openbox-session

Arch Linux Setup - Step 002

Console:
[root@polaris ~]# pacman -S acpid
[root@polaris ~]# pacman -S alsa-utils
[root@polaris ~]# pacman -S chromium
[root@polaris ~]# pacman -S flashplugin
[root@polaris ~]# pacman -S gamin
[root@polaris ~]# pacman -S gnome-icon-theme
[root@polaris ~]# pacman -S gnome-menus
[root@polaris ~]# pacman -S gvfs
[root@polaris ~]# pacman -S leafpad
[root@polaris ~]# pacman -S nitrogen
[root@polaris ~]# pacman -S pcmanfm
[root@polaris ~]# pacman -S pm-utils
[root@polaris ~]# pacman -S python2
[root@polaris ~]# pacman -S sudo
[root@polaris ~]# pacman -S ttf-dejavu
[root@polaris ~]# pacman -S xterm


Console:
[root@polaris ~]# nano -w /boot/grup/menu.lst
* kernel /vmlinuz26 ... resume=/dev/sda2 ...
[root@polaris ~]# nano -w /etc/acpi/handler.sh
* PBTN|PWRF) sudo /usr/sbin/pm-hibernate ;;
[root@polaris ~]# nano -w /etc/mkinitcpio.conf
* HOOKS="... sata resume filesystems"
[root@polaris ~]# mkinitcpio -p linux
[root@polaris ~]# nano -w /etc/rc.conf
* DAEMONS=(hwclock syslog-ng network netfs crond dbus acpid)