Saturday, January 3, 2009

Taste of different Linux flavor

These days i am busy with testing different Linux operating system(OS). Its about 2 years since i have not used windows (Black Box).Yes i thinking windows nothing more than black box. I used windows during my B.Tech. That time i know nothing about Linux. I introduced with Linux in my final year when i started my Project. After that my interest move towards Linux and down towards windows. Its because no tools coming for developer. where as in Linux every essential software coming by default and rest are available through repository. I am using fedora from last 2 years. Its because packages are coming with fedora CD/DVD itself . These days i tested another flavor like Centos, Ubuntu, Debian, Kubuntu, Solaris 10. And off course Mac Os also which available in IITM cse lab. Still i am using fedora but i tried just for see how much difference is there in between all these flavors. I got all flavor because all these flavor are easily available on IITM ftp site except Solaris . And Ubuntu repository is here. So installing all software in Ubuntu is not taking more than half an hour. So, now i am using Ubuntu server edition 8.10. I got surprised when i saw different kind of software available through Ubuntu repository. Its amazing to see long list of software. Even some software which even not available on fedora repository. I like gnome desktop either on any flavor but new version of fedora(10) and Ubuntu KDE desktop is really good. But i think its little slower than gnome desktop. I given some ranking to Linux according to my choice :
1: Fedora - Mac OS. :: (9/10 point)
2: Ubuntu/kubuntu - Solaris. :: (8/10 point)
3: Centos. :: (7/10 point)
4: Windows (all flavor). :: (4/10 point)

Yum configuration :
Centos :
Step 1) add "failovermethod=priority" without quote in /etc/yum.repos.d/CentOS-Base.repo with every repository link.

Step 2) add
export http_proxy=http://user:password@proxyip:port/
export ftp_proxy=http://user:password@proxyip:port/
export no_proxy=.domain.com
export HTTP_PROXY=http://user:password@proxyip:port/
export FTP_PROXY=http://user:password@proxyip:port/

in file ~/.bash_profile
Step 3) run on command line "source ~/.bash_profile"
Step 4) yum update
Step 5) yum install pkg-name.

Fedora :

Step 1) sudo rpm --import /etc/pki/rpm-gpg/*

Step 2) for third party repository search "livna" and get the rpm of livna-release-*.rpm

Step 3) Export proxy same as Centos.

Step 4) sudo yum update

Step 5) yum install pkg-name

apt-get configuration :
Ubuntu 8.10 :
Step 1) Add these two line in /etc/apt/apt.conf

Acquire::http::Proxy "http://user:password@proxyip:port/";
Acquire::ftp::Proxy "ftp://user:password@proxyip:port/";
Step 2) You can export

export http_proxy=http://user:password@proxyip:port/
export ftp_proxy=http://user:password@proxyip:port/
export no_proxy=.domain.com
export HTTP_PROXY=http://user:password@proxyip:port/
export FTP_PROXY=http://user:password@proxyip:port/

these lines same as Centos or add in file /home/user/.bashrc


No comments:

Post a Comment