Arch

From ZENotes
Revision as of 23:59, 14 October 2011 by Admin (Talk | contribs)
Jump to: navigation, search

http://wiki.archlinux.org/index.php/Beginners'_Guide

History: Now at Install #3: sound OK, network OK, RAID ok; no nfs automount

Contents

Intro

At the prompt from the live disc: To change GRUB boot options, press [Tab]. Many users may wish to change the resolution of the framebuffer, append:

vga=792

to the kernel line, followed by <ENTER>, for a better framebuffer.

If you have a non-US keyboard layout you can interactively choose your keymap/console font with the command:

# km 

when the live arch is booted up. Then do:

/arch/setup


Install

"3" Disks

1. Choose '2' to select partition(s)
2. choose dev for tradition's sake :)
3. Choose filesystem type
4. Choose / on your choosen partition
5. Intput label for partition
Hit DONE


Always hit Done when possible. Creating only / and no other or even swap worked here (with 3 gigs of Ram)


"4+5" Packages

select Devel
(I did remove Grub, lilo, if you have other bootloader)
select any other useful: sudo ssh & so on. I took all but obvious Firmware (FW).


"6" Configure

Recommended use of nano; the original, basic v' is a pain.

/etc/hosts
/etc/hosts.allow: ssh and nfs
/etc/rc.conf: modules yes and no, network, daemons
/resolv.conf: openDNS
&& mirrorlist (do a backup!!)

later create/edit this if you have RAID

/etc/mdadm.conf

note on nfs:

http://wiki.archlinux.org/index.php/NFS#Daemons_2

Update and Add stuff

Update

pacman -Syy
pacman -Syu


[reboot]

Think about: drives, incl net drives; Graphic Env + locales, sound... And their config files!

http://wiki.archlinux.org/index.php/Beginners'_Guide#.2Fetc.2Fmkinitcpio.conf http://wiki.archlinux.org/index.php/Xorg#TwinView http://wiki.archlinux.org/index.php/Xorg#Setting_Keyboard_Layout_With_Hot-Plugging http://wiki.archlinux.org/index.php/Beginners'_Guide#Step_1:_Configure_sound_with_alsamixer


RAID and nfs

Local RAID howto

archwiki NFS: http://wiki.archlinux.org/index.php/Nfs

Side note on samba:

Doesn't work in Konqueror; works manually if:

load fuse module
start smbnetfs daemon

http://wiki.archlinux.org/index.php/Samba#Adding_network_shares_using_KDE4_GUI

Sound

pacman -S alsa-utils mplayer smplayer
aplay /usr/share/sounds/alsa/Front_Center.wav

Numlock

http://wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup

X

pacman -S xorg xf86-input-evdev 
pacman -S mesa
pacman -S enlightenment epplet-base

http://wiki.archlinux.org/index.php/Xorg

start X manually with xinit /usr/bin/starte16 -nodaemon

You may think of making an alias in ~/.bashrc for that: alias e16='xinit /usr/bin/starte16 -nodaemons'


Keyboard

setxkbmap -layout be
setxkbmap -model logiex110
setxkbmap -print -verbose 10


To permanently change your keyboard layout, add the following to, for example, 30-keyboard.conf:

Section "InputClass"
   Identifier             "Keyboard Defaults"
   MatchIsKeyboard	   "yes"
   Option	           "XkbLayout" "be"
EndSection

Note that this is in an InputClass Section and not the InputDevice section for the keyboard.


Enlightenment DR16

pacman -S enlightenment epplet-base

you have to retrieve e16 keyedit from sourceforge, tough, it's not in the repos.


Flash Plugin for Firefox

pacman -S flashplayer
sudo chmod 755 /usr/lib/mozilla
sudo chmod 755 /usr/lib/mozilla/extensions

printer & scanner

installed cups, hpoj, hplip, sane

note from output of install see Discussion

running daemons

At bottom of "/etc/rc.conf":

DAEMONS=(@syslog-ng network portmap rpcbind nfs-common @netfs @crond sshd @gpm avahi-daemon avahi-dnsconfd alsa)


Installed Softs

was there

wget
xterm
find


added

vim
rsync
enlightenment
tightvnc

hplib
cups	

firefox
chromium
openoffice
gimp
geany

works

scanner
webcam
dual screen with nvidia only
printer

What doesn't work

design

Some specifics of Arch may please or not; nevertheless, some aspects of it are downright bugs in my book.

* pacman: no summary of Download size
* pacman; no summary of added dependencies
* pacman: no suggested packages before install of package finished	
* pacman: no option to pull --suggested too
* pacman: no summary of logs - each note is spitted as it gets installed, impossible to review on-the-fly
* rc.conf: so unusual, you have to edit all the time (for modules, services)


software

So far, anything pulled from AUR wasn't working; AUR isn't quite like SlackBuilds I mustt say: buggy scripts, concurrent versions... And just soft that doesn't run. I've never had a SlackBuild to fail on me but for the Version number, tops

google-earth edit works somewhat if no pop-up window pops... Or dies, crashing badly.
google-talkplugin



Now have a look at the configure repos

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox