CentoOS Linux

How to install or upgrade to PHP 7 on CentOS 7 Linux Server

Objective The objective is to install or replace existing PHP 5 with PHP 7 on CentOS 7 Linux server. As you will see, this procedure is fairly simple when using Remi Repository. Requirements Privileged access to your CentOS Linux system either directly as root user or via sudo command is required. Difficulty EASY Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular...
Read More...

How to install Popcorn Time movie player on CentOS 7 Linux

Introduction Popcorn Time streams movies and TV shows from torrents directly into your screen. Objective The objective is to install Popcorn Time player on CentOS 7. Requirements Optional privileged access to your CentOS is required if system-wide installation is required. Difficulty EASY Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user...
Read More...

Howto install ifconfig on CentOS 7 Linux

Objective The the network command line tool ifconfig is not installed thus missing by default on CentOS 7 Linux. Users are instead encouraged to use ip command to do most of the network administration work. For example the following ip command can be used to show IP address on CentOS 7: # ip address show OR SIMPLY # ip a s 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever...
Read More...

Enable GDM automatic user login on CentOS 7 Linux

Objective The objective is to instruct Gnome Desktop Manager to automatically login a specified system user. Requirements Privileged access to your CentOS 7 installation and existing user account to enable Automatic login upon. Difficulty EASY Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Instructions Update GDM settings Add the following...
Read More...

Installation of KDE desktop environment on CentOS 7

Objective The objective is to install KDE desktop environment on a minimal CentOS 7 installation. Requirements Privileged access to CentOS 7 system installation and Internet access or configured local CentOS 7 package repository. Furthermore, the guide assumes that you have already performed a CentOS 7 Linux installation. Difficulty EASY Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be...
Read More...

How to list, import and remove archive signing keys on CentOS 7

Official archive signing keys for CentOS 7 are located inside /etc/pki/rpm-gpg/ directory: # ls /etc/pki/rpm-gpg/ RPM-GPG-KEY-CentOS-7 RPM-GPG-KEY-CentOS-Debug-7 RPM-GPG-KEY-CentOS-Testing-7
Read More...

How to install mpeg-4 aac decoder for CentOS 7 Linux

Symptoms Any attempt to play video will result in an error: Movie Player requires additional plugins to decode this file. The following plugins are required : MPEG-4-AAC decoder and H.264 decoder The offered help for search also fails.
Read More...

How to remove unused kernel images from CentOS Linux system

Every time you update your CentOS Linux and the update includes a new kernel image update the system will not remove your old kernel but it will cumulatively add new kernel to the top of your Linux kernel installed list. Normally, this does not present any issue to your running system and you are not required to take any action to remove any old and unused kernel images. The reason why you may wish to remove/uninstall unused kernel images is that you need to reduce disk usage space of your...
Read More...

Installation of Amazon s3cmd Command Line S3 tool on CentOS Linux

The following commands will help you to install Amazon s3cmd Command Line S3 tool on CentOS Linux. First, enable EPEL repository: # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm # rpm -Uvh epel-release*.rpm
Read More...

How to debootstrap on CentOS Linux

debootstrap is Debian GNU/Linux bootstrapper which allows you to install Debian base systems such as Debian or Ubuntu into a directory of your currently running system. This config is a getting started guide on how to debbootstrap on CentOS/RHEL. The debootstrap package is not available in a standard CentOS repository. To make it available we first need to enable EPEL repository. Download EPEL repository package: # wget...
Read More...

How to disable YUM package repository on CentOS

In order to disable YUM package repository on CentOS we first need to get a unique repository ID using the following yum command: # yum repolist Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.optus.net * epel: epel.mirror.digitalpacific.com.au * extras: mirror.ventraip.net.au * updates: mirror.optus.net repo id repo name status base/7/x86_64 CentOS-7 - Base 8,652 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 8,935 extras/7/x86_64...
Read More...

How to install Chrome browser on CentOS Linux 7

To install Google Chrome Internet browser on your CentOS 7 Linux box first download the actual Chrome 64 bit .rpm (For Fedora/openSUSE) ) package from Google's website https://www.google.com/chrome/#eula . Locate your downloaded .rpm and use yum command to install it allong with all other prirequsites: # yum localinstall google-chrome-stable_current_x86_64.rpm Loaded plugins: fastestmirror, langpacks Examining google-chrome-stable_current_x86_64.rpm: google-chrome-stable-44.0.2403.155-1.x86_64...
Read More...

NVIDIA GeForce Driver Installation on CentOS 7 Linux 64-bit

This config describes an installation of NVIDIA GeFNVIDIA GeForce Driver on CentOS 7 Linux 64-bit. Prerequisites First update your system. We do not wand to build NVidia modules on based on outdated Linux kernel. Do a full updated and reboot your system: # yum update # reboot
Read More...

How to check CentOS version

There are several ways on how to check what version of CentOS is running on your system. Below you can find multiple examples on how to determine CentOS version. However, depending on your system not all examples may be applicable. First, example uses hostnamectl command: # hostnamectl Static hostname: localhost.localdomain Icon name: computer-laptop Chassis: laptop Machine ID: 6892999b8d8c43fab29fca961dbff24b Boot ID: b0a95bf56f61417ca8073b3847a73ab1 Operating System: CentOS Linux 7 (Core)...
Read More...

Vagrant installation on CentOS Linux system

The Vagrant installation on CentOS Linux is a fairly simple few commands process. First, we need to download a official RPM from http://www.vagrantup.com/downloads.html . Open up your terminal and use wget command to download latest Vagrant RPM package eg: $ wget -q https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4_x86_64.rpm
Read More...

How to change system keyboard keymap layout on CentOS 7 Linux

The easiest way to swap between keymaps and thus temporarily set keys to different language by use of loadkeys command. If the loadkeys command is unavailable install kbd package: # yum install kbd As for an example the following command will temporarily change system's keymap to Slovak: # loadkeys sk Loading /lib/kbd/keymaps/xkb/sk.map.gz To list all available keymaps on your CentOS system run: # localectl list-keymaps
Read More...

Skype installation on CentOS Linux

At the moment Skype.com does not provide and installation package for CentOS Linux. The closest package we can use to install Skype communicator on CentOS is is based on Fedora Linux. Navigate to http://www.skype.com/en/download-skype/skype-for-linux/ and download a Fedora i386 skype package. At the time of writing the package version is skype-4.3.0.37-fedora.i586.rpm . Once downloaded run the below yum command as a privileged user to install Skype on your CentOS linux system: # yum...
Read More...

Compile and Install Python 3 on CentOS 7 Linux from source

The python version 3 is not available from CentOS 7 repositories. The following config will show you how to compile and install Python version 3 from source on CentOS 7 Linux. Let's start by installation of some required tools which you will need for this tutorial. # yum install yum-utils make wget Next, we will install all python build prerequisites to meet all compilation requirements: # yum-builddep python
Read More...

VirtualBox virtualization software installation on CentOS Linux

In order to install VirtualBox virtualization software on CentOS Linux first install prerequisites: yum install kernel-devel gcc Next, download relevant RPM package to your CentOS version from https://www.virtualbox.org/wiki/Linux_Downloads . Once downloaded, navigate to directory where you have downloaded the VirtualBox RPM and execute check its signature eg.: # rpm --import https://www.virtualbox.org/download/oracle_vbox.asc # rpm --checksig VirtualBox-5.0-5.0.0_101573_el7-1.x86_64.rpm If...
Read More...

How to install adobe flash player plugin for firefox on CentOS 7 Linux

The default installation of CentOS Linux 7 does not come with installation of adobe flash player for Firefox web browser and thus must be installed separately. To begin flash player installation first we need to include Adobe's repository. This can be achieved by the following command: # yum -y install http://linuxdownload.adobe.com/linux/x86_64/adobe-release-x86_64-1.0-1.noarch.rpm Confirm that Adobe repository has been included: # yum repolist | grep -i adobe adobe-linux-x86_64 Adobe Systems...
Read More...