In this config we will install a official Nvidia GeForce driver on Fedora Linux. The system used for this installation is Fedora 21 however, the below config should work for any subsequent Fedora Linux release version. First download the official NVIDIA driver installer from nvidia.com. Your driver version will be different as this depends on your graphic card version eg.:
Two conditions must be fulfilled before we can start the actual NVIDIA driver installation:
nouveau free nvidia driver must be disabled
X Server must be disabled
To comply with the both above conditions the below command will disable nouveau nvidia driver:
# dracut --omit-drivers nouveau /boot/initramfs-$(uname -r).img $(uname -r) --force
The above packages are for Fedora 21 Linux so check RPMFusion website to update the above links so they math your Fedora Linux system. Once you have run the above commands you need to update repository index:
To create a Fedora Linux Live bootable USB key you will need Fedora Linux ISO image and some sort of USB key with disk size higher than the actual ISO image size. Currently, the size of Fedora 21 Live image is 1.3GB:
# ls -lh /home/lrendek/Downloads/Fedora-Live-Workstation-i686-21-5.iso
-rw-rw-r--. 1 lrendek lrendek 1.3G Dec 4 08:38 Fedora-Live-Workstation-i686-21-5.iso
The tutorial will explain the basics behind SSH server and SSH client connections on Fedora Linux Workstation. By default the SSH server on Fedora Workstation may be installed but not enabled. This will cause a following error message when connecting via SSH client:
ssh: connect to host fedora-workstation port 22: Connection refused
Disregarding GUI you can always put your Linux system to sleep from command line. This is especially useful if you GUI breaks from some reason and becomes unresponsive to suspend command or you wish to suspend your system remotely. Suspend also known as sleep is a state where your system current running state is saved directly to RAM and remains dormant until awaken by some sort of wake up event such as pressing power button, opening laptop lid or mouse move.
Since RAM is a volatile memory and requires electrical power to hold data your system while in suspended state continues to use electrical power. To suspend/sleep your Redhat/Fedora system you can enter the following linux command:
KeePassX is a cross platform password manager to allow users to store and organize password and keep them safe using advanced encryption techniques. This guide describes how to install KeePassX password manager on Fedora Linux.
First download source code from the KeePassX official download page. Example:
In this tutorial we will describe how to install Virtualbox Guest additions on Fedora Linux virtual machine. The rule of thumb here is that the most recent Fedora Linux version requires up to date Vitualbox installation. Having said that, it is possible to install Virtualbox Guest additions for most recent Fedora Linux using outdated Virtualbox installation, however the process would not be that straight forward. Therefore, if possible, before you continue to read, see what version of Virtualbox you are running and compare it with the version found on the official Virtualbox website. The more recent VirtualBox version the less likely you are to run into X server version incompatibility and to get error:
"unknown X server version"
Apart of the updated Virtualbox version this guide also assumes functional Fedora Linux installation with working Internet connection. Lastly, the aim here is to provide a generic guide for Virtualbox Guest additions on Fedora Linux virtual machine and as a result reader needs to adjust some of the following linux commands to is your envireoment.
Step 1: Mount Guest additions
Start your Fedora virtual machine and mount Virtualbox Guest additions by navigating to Virtual box menu -> Devices -> Insert Guest Additions CD image The following message will pop up: Hit cancel and navigate to Virtualbox Guest additions mounted directory using your terminal:
# mount | grep -i vbox
/dev/sr0 on /run/media/fedora/VBOXADDITIONS_VERSION type iso9660
# cd /run/media/fedora/VBOXADDITIONS_VERSION
32Bit AUTORUN.INF cert runasroot.sh VBoxSolarisAdditions.pkg VBoxWindowsAdditions.exe
64Bit autorun.sh OS2 VBoxLinuxAdditions.run VBoxWindowsAdditions-amd64.exe VBoxWindowsAdditions-x86.exe
By default a Fedora Linux does not support playing MP3 files. The same must then apply also for an Amarok music player. To enable MP3 support a user needs to install non-free codec. First add rmpfusion repositories:
NOTE: the command below will enable both free and non-free rmpfusion repositories
$ su -c 'yum localinstall --nogpgcheck \
By default your Fedora Linux system comes with a OpenJDK Java fetched from a standard Fedora repository. You may have some reasons to switch from OpenJDK to Oracle Java JRE. In order to achieve this firs download a java binary form oracle website:
If you decided to run more than one website on your Apache web server you would need to configure a VirtualHost based on the name or IP address. Here is some notes on how to achieve it. Here we assume that you have httpd package already installed on your system.
Last time, we talked about custom kernels in Debian-based systems. This time we go to "the other side" and will also talk about customizations, namely how to customize packages on Fedora systems. For this you are not required to have any prior experience on the matter in order to build packages, but a will to learn and read manual pages or other resources is always welcome.
Our article will focus on Apache as packaged by Fedora, and what we will do is modify some of its build options in order to better fit our needs. After all, Linux and Open Source are all about customization, so why not get exactly what we want? With that being said, let's start with our tutorial.