пятница, 24 августа 2012 г.

Fedora post installation guide

Some simple tricks, some details are always forget. Good idea to update guide  in nearest future. Skype, vim files...

Yum update

Fastest mirror yum plugin. RPM download should be faster.
 su -c 'yum install yum-fastestmirror'  

Anyway we can now add rpmfusion repos:

 su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'  


Update

 su -c 'yum update -y'  

Configuring sudo

While update going on we can configure sudo.
 su --login -c 'vim /etc/sudoers'  

Look for line:
 root ALL=(ALL) ALL  
and than add this after it:
 username ALL=(ALL) ALL  
Where "username" is you current system username.

Also we should not need ask for pass when using sudo.
Comment this line:

 # %wheel ALL=(ALL) NOPASSWD: ALL  


And uncomment this:

 #%wheel ALL=(ALL)    NOPASSWD: ALL  


Done, save file and exit.

Add user to wheel group

 su -c 'gpasswd -a username wheel'  

Check it

 $ sudo whoami  

Alias

Lets do simple aliases.

 cd   
 vim .bashrc   


Add this lines:

alias update="sudo yum update" 
alias install="sudo yum install" 
alias upgrade="sudo yum upgrade" 
alias remove="sudo yum remove" 




Done.

MS fonts

Maybe a good idea. Download rpm.



Packages are might be useful:


 sudo yum -y install mc vim p7zip unrar wget evince-djvu gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg  



You also may want to install fixed fonts and configure gnome terminal:

 install bitmap-fixed-fonts  



...and isntall nautilus terminal extention.

 install nautilus-open-terminal  







Комментариев нет:

Отправить комментарий