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)

Samstag, 27. August 2011

Arch Linux Setup - Step 000

Console:
[root@archiso ~]# km
Settings:
  • Select a keymap: i386/qwertz/de.map.gz
  • Select a console font: default8x16.psfu.gz
Console:
[root@archiso ~]# /arch/setup
Settings:
  • Select source
    • Mirror selection: ftp://ftp.hosteurope.de
    • Interface selection: eth0, DHCP
  • Set editor
    • Text editor selection: nano
  • Set clock
    • Select region and timezone: Europe/Berlin
    • Set time and date: UTC
  • Prepare hard drive(s)
    • Auto-Prepare: /dev/sda, 100, 5000, 50000, ext3
  • Select packages
    • Choose bootloader: grub
  • Install packages
    • Installation complete: Continue
  • Configure system
    • File: /etc/rc.conf
      • HOSTNAME="polaris"
  • Install bootloader
    • File: /boot/grub/menu.lst
      • timeout 1
      • hiddenmenu
    • Boot device selection: /dev/sda

Console:
[root@archiso ~]# reboot

Parted Magic:
  • Partition Editor
    • /dev/sda4 > Resize/Move > New size > 261059
    • /dev/sdb1 > Format to > ext3
  • Mount-gtk
    • /media/sdb1 > Mount
  • File Manager
    • /media/sdb1 > Create New > Folder > backup
  • Mount-gtk
    • /media/sdb1 > Unmount
  • Clonezilla
    • device-image > local_dev > sdb1 > backup
    • Beginner > savedisk > 001 > sda

Freitag, 17. Juni 2011

Arch Linux Setup - My Hardware

I will start the documentation of my Arch Linux setup with a short description of the computer hardware I'm going to use:

  • CPU: Intel Core 2 Quad 2.8 GHz Q9550
  • RAM: 4096MB DDR2 800 MHz
  • Mainboard: Asus P5Q PRO
  • Graphics Card: Zotac GeForce GTX 260
  • HDD: Western Digital 300GB WDC WD3000GLFS + Samsung 1TB HD103UJ
  • Monitors: 2x Iiyama ProLite 82409HDS
  • HID: Logitech Anywhere Mouse MX + Wireless Illuminated Keyboard K800

Arch Linux Blog

This is my Arch Linux Blog. I'm going document my experiences with Arch Linux here. Feel free to leave comment.