| Arch Linux Installation Guide |
|
|
| Written by axel | ||||||||||||||||||||||
18. First Login
Now we are in our fresh Arch installation. cd / clear
19. Users and Groups ConfigurationFirst we create our user which we will normally use in our system. Use only small latin letters with no spaces. Let’s say it will be called nioubis. Type the following: useradd -m -G users,wheel,audio,video,optical,storage,camera,floppy -s /bin/bash nioubis
passwd nioubis
20. Testing Local RepositoryHere we are going to test if the local repository we previously created works fine. Type: pacman -Sy update-local-repo custom <αρχιτεκτονική> pacman -Sy If you will get a message that a new version of pacman has be found, when prompted answer YES to update pacman first. When it’s installed type: pacman -Su Hopefully you won't have done something wrong and everything should be ok. Then open: nano /etc/makepkg.conf And search for the line: export MAKEFLAGS="-j2"
MAKEOPTS="-j9"
Press Ctrl+Alt+F2. Now login again. Next type: cd ~ nano .bashrc
alias nicepac="nice -n 19 makepkg" alias manualpac="nice -n 19 makepkg -d"
Type: exit
If you want to use your Arch installation as a server you should also install the following applications. pacman -S nano screen openssh Go to: cd /etc/ssh cp sshd_config sshd-config-backup
And type: nano /etc/ssh/sshd_config
Here we are intrested in the following lines: PermitRootLogin yes RSAAuthentication yes PubkeyAuthentication yes #IgnoreRhosts yes RhostsRSAAuthentication no HostbasedAuthentication no #IgnoreUserKnownHosts no PermitEmptyPasswords no ChallengeResponseAuthentication no #PasswordAuthentication yes UsePAM no
Be careful here. Some lines may already exist, some others may have a
different value (yes or no) and others might be commented or not. cp sshd_config sshd-config-root-login cd /
Then: nano /etc/rc.conf
We are intrested for the line DEAMONS=: DAEMONS=(syslog-ng network netfs @crond)
We will make it like this: DAEMONS=(syslog-ng network netfs @crond @sshd)
/etc/rc.d/sshd start
Now go to your other pc and make sure it is connected in your lan. You may access your server like this: For Windows NT-Class open PuTTY and type: root@neo
ssh root@neo
screen -i
|
||||||||||||||||||||||
| Last Updated ( Monday, 01 December 2008 ) | ||||||||||||||||||||||
| < Prev | Next > |
|---|





