Monday, April 6, 2015


I just installed Fedora 21 in on my laptop and it seems great. I ran yum for the first time and it selected a mirror for me which was really very slow, almost useless. So, package updates and installation were taking a lot of time. I decided to switch to a different repo but didn't have an idea which, so I decided to let the same fastest-mirrors plugin decide the mirrors. To force yum-fastestmirror plugin to check for fastest mirrors, you must delete the file /var/cache/yum/x86_64/21/timedhosts.txt by running the following command as root:

rm -rf /var/cache/yum/x86_64/21//timedhosts.txt

Then, running yum will check for fastest mirror next time it is run. It should pick up a better mirror, but in my case, it just picked the same mirror over and over. So, I decided to block it altogether so that yum-fastestmirror is forced to choose another one.To do that, I opened the file /etc/yum/pluginconf.d/fastestmirror.conf as root and uncommented the line (removed the “#”) with “exclude” and added the culprit mirror “” to the exclude list so that the line looked like the following: .dk/

If yum-fastestmirror keeps on giving selecting slow mirrors, you can add additional mirrors to the exclude list (separate mirror names with commas) and remove /var/cache/yum/timedhosts.txt again and repeat it again and again till you are satisfied with the speeds.


Thursday, December 11, 2014

Upgrading to Fedora 21 Workstation from Fedora 20

1. Make sure your current system is up-to-date and backed up

# yum update -y

2. Install the FedUp tool

#  yum install fedup fedora-release

3. Start the update with FedUp

sudo fedup --network 21 --product=workstation

4. Reboot, and upgrade

Fedora 21 Post Installation Guide

Fedora is now more focused
Less setup, more innovation. Choose a flavor of Fedora streamlined for your needs, and get to work right away.

Fedora 21 also known as "Generic 21"  is the latest version of Fedora distro. It comes with many new features and software updates. Note: Almost every command shown here requires root privileges. So make sure you are logged in as root. Run su command to login as root.

Rpmfusion Repo

RPM Fusion Repository includes variety of applications which are not included in the main distro. Like mp3 codec, multimedia player for playing DVDs and many more.
It is recommended that you install RPM Fusion repo because most of the following packages require you to install RPM Fusion otherwise it may not work
#yum localinstall --nogpgcheck
#yum localinstall --nogpgcheck

Livna Repo

Some packages require you to install Livna Repo. Simply run he following commands to add and enable livna repo on your system.

#rpm -ivh
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna

MP3 playback Rythmbox

Rythmbox is likely that it will be installed by default. If not installed then you can install it very easily.

#yum install rhythmbox

The default installation of rhytmbox wont allow you to play mp3. To play mp3 you need to add the codes
#yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly


Amarok is the default audio player for KDE. It can also be installed on Gnome.

#yum install amarok phonon-backend-gstreamer


Audacious is a winamp like audio player

#yum install audacious audacious-plugins


XMMS is another winamp like audio player. And its one of my favorite. Its better than audacious in my eyes

#yum install xmms xmms-mp3


Banshee allows you to import CDs, sync your music collection to an iPod, play music directly from an iPod, create playlists with songs from your library, and create audio and MP3 CDs from your music library.

#yum install banshee banshee-community-extensions

Video and DVD Playback

VLC player

VLC player is the best video player for Linux. It is capable of playing almost every video format.

#yum install vlc


Xine is another video player for Linux. It is very much like vlc player

#yum install xine xine-lib xine-lib-extras-freeworld

Mplayer with SM Player GUI

Mplayer is a VLC player like player for Linux. It is capable of playing almost all video and audio formats.

#yum install mplayer smplayer


Totem is the default video player for Fedora.

#yum install totem-xine xine-lib xine-lib-extras-freeworld


K9Copy is a free, open source DVD backup and DVD authoring program for Linux

#yum install k9copy


libdvdcss is a free and open source software library for accessing and unscrambling DVDs encrypted with the Content Scramble System (CSS). libdvdcss is part of the VideoLAN project and is used by VLC media player and other DVD player software such as Ogle, xine-based players, and MPlayer.

#yum install libdvdcss

Adobe Flash Player Add the Adobe repo
#rpm -ivh
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
#yum install flash-plugin

Install Flash Player
#yum install flash-plugin

Acrobat Reader

Add adobe YUM Repo
#rpm -ivh
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
Install Adobe reader
#yum install AdobeReader_enu

Google Chrome
Add Google YUM Repo
#vi /etc/yum.repos.d/google.repo
And paste the following
Fedora 32-bit

name=google-chrome - 32-bit
Fedora 64-bit

name=google-chrome - 64-bit
Save the file using “:wq“.
Install Google Chrome

#yum install google-chrome-stable

Other Applications Filezilla

Filezilla is a FTP client and its one of the best

#yum install filezilla

7z or p7zip

#yum install p7zip


Unrar utility for extracting, testing and viewing the contents of archives created with the RAR archiver version 1.50 and above.
#yum install unrar

Transmission bittorrent client

Transmission is a lightweight bittorrent client for Linux platform.
#yum install transmission


Wine is a is a compatibility layer capable of running Windows applications on Linux. It can run many windows applications even some games in Linux.
#yum install wine


GParted is a free partition editor for graphically managing your disk partitions.
#yum install gparted

Gimp is the most advanced Image Editor for Linux. This gimp has lot of useful features useful.
#yum install gimp yum install gimp-data-extras gimpfx-foundry gimp-lqr-plugin gimp-resynthesizer gnome-xcf-thumbnailer

Eclipse IDE

Eclipse is a multi-language Integrated development environment (IDE)
#yum install eclipse

Yum Extender : yumex
Yum Extender (yumex) is a GUI for the yum package manager. If you do not like installing everything from the terminal you can add a GUI installer.
Follow This Article to install Yum Extender (yumex) on Fedora 20


Skype Installation Dependencies:-
#yum install alsa-lib.i686 libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686 pulseaudio-libs.i686 pulseaudio-libs-glib2.i686 alsa-plugins-pulseaudio.i686 qtwebkit.i686 -y


#yum localinstall skype-

Gnome Extension Installation

Using "Gnome Link" create a account. List of extension.

Monday, November 3, 2014

Cockpit A remote manager for GNU/Linux servers Atomic Host & Containers

Cockpit is a server manager that makes it easy to administer your GNU/Linux servers via a web browser.

Easy to use
Cockpit is perfect for new sysadmins, allowing them to easily perform simple tasks such as storage administration, inspecting journals and starting and stopping services.

No interference
Jumping between the terminal and the web tool is no problem. A service started via Cockpit can be stopped via the terminal. Likewise, if an error occurs in the terminal, it can be seen in the Cockpit journal interface.

You can monitor and administer several servers at the same time. Just add them with a single click and your machines will look after its buddies.

Step 1
This post will provide instructions on installing Cockpit on the newly-released Fedora 20

#yum -y install git rpm-build yum-utils make firewalld openssl && git clone && yum install trickle nbd-server npm python-libguestfs qemu mock qemu-kvm python curl libvirt-client libvirtd qemu-nbd krb5-workstation krb5-server docker-io -y && $ npm install 
phantomjs && yum update -y && reboot

Step 2

#cd cockpit
#cd ./test
# srpm=$(./make-srpm)
# yum-builddep $srpm

# mkdir build
# cd build
# ../ --prefix=/usr --enable-maintainer-mode --enable-debug
# make && make install
# cp ../src/bridge/cockpit.pam.insecure /etc/pam.d/cockpit
# sh -c "cat ../src/bridge/sshd-reauthorize.pam >> /etc/pam.d/sshd"
# systemctl start cockpit.socket
# firewall-cmd --reload
# firewall-cmd --add-service=cockpit
# firewall-cmd --add-service=cockpit --permanent
# docker pull fedora

Point your browser to https://IP-OR-NAME-OF-YOUR-VM:9090

Our Dear Friend Mircosoft fall in Love with Linux