How To Enable REMI Repo On Centos 7, 6 And 5

This tutorial explains step by step guide (with pics) about How to Enable REMI Repo on CentOS 7, 6 and 5 .

This article will guide you how to install and enable REMI (by Remi Collect) repository (repo) on your CentOS server. And that’s including CentOS 7.x, CentOS 6.x and CentOS 5.x but you can also apply the steps on RHEL, Scientific Linux or Fedora. Before we proceed, it is better to firstly get to know what is Remi repo?

What is Remi Repository?

It is a third-party repository created and maintained by a French guy called Remi Collect as his “little” contribution to the free community. The main purpose of Remi Repo is providing the latest versions of the PHP stack, full featured, and some other software, to the Fedora and Enterprise Linux (RHEL, CentOS, Oracle, Scientific Linux, …) users. The repository mainly contains:

  • packages Remi also maintains in Fedora
  • backports of packages available in Fedora development version
  • some packages incompatible with Fedora policy
  • some packages in progress before being submitted to Fedora repository
  • (nearly) vanilla versions
  • the repo is quite away from backporting fixes policy of Enterprise Linux.

Get it? Still hard to understand? In much simpler way, Remi repository is a free repository providing many cutting edge latest versions of software which are not available in your CentOS installation and or repository by default. For example, if you want to install latest version of PHP, then you can get it via Remi repo.

Remi repo is versy stable, free and popular. So do not hesitate to add the repo into your server’s repo list and here’s how you can get it done. Important notice: you should and have to use REMI repository along with EPEL repository. Otherwise you may end up with dependency problem in many cases.


Step 1 – Login to your server as root or as a user with root privilege (sudo) via your favorite SSH client like Putty, Terminal, BitVisa, etc.

Step 2 – Now download the .rpm file using wget command. Make sure you download the correct version for your CentOS version:

# For CentOS/RHEL/Scientific Linux 7 x86_64 #

# For CentOS/RHEL/Scientific Linux 6 i386 or x86_64 #

# For CentOS/RHEL/Scientific Linux 5 i386 or x86_64 #

# For Fedora 20 i386 or x86_64 #

# For Fedora 19 i386 or x86_64 #

# For Fedora 18 i386 or x86_64 #

Step 3 – Finally, you can install it using RPM command:

# For CentOS/RHEL/Scientific Linux 7 x86_64 #
rpm -Uvh remi-release-7.rpm

# For CentOS/Scientific Linux 6 i386 or x86_64 #
rpm -Uvh remi-release-6.rpm

# For RHEL 6 i386 or x86_64 #
rhn-channel --add --channel=rhel-$(uname -i)-server-optional-6

# For CentOS/RHEL/Scientific Linux 5 i386 or x86_64 #
rpm -Uvh remi-release-5.rpm

# For Fedora 20 i386 or x86_64 #
yum install remi-release-20.rpm

# For Fedora 19 i386 or x86_64 #
yum install remi-release-19.rpm

# For Fedora 18 i386 or x86_64 #
yum install remi-release-18.rpm

Step 4 – Now you have to also verify that the REMI repository is already installed successfully and ready to use:

yum repolist


The easy and instant way can be done using this command:

yum --enablerepo=remi [command] [package name]

Replace the [command] part with one of these:

– install
– update
– check-update
– upgrade
– remove or erase
– list
– provides or whatprovides
– search
– info
– clean
– shell
– resolvedep
– localinstall
– localupdate
– deplist

or, alternatively you can also enable Remi repo using these steps:

Step 1 – Edit the remi.repo file using your favorite text editor like vi or Nano:

nano /etc/yum.repos.d/remi.repo

Step 2 – Find the line enabled = 0 and change it to 1 to enable REMI repository:


Step 3 – Now save that file and close it. In Nano it is Control+O then Control+X.

Step 4 – Then issue the yum repolist command again to double check it:

yum repolist

Step 5 – You can now use usual yum command to install, update or delete any package.

yum [command] [package name]

for example:

yum install php

Source link

How To Install Webmin on Your VPS

Webmin is one of the best web based interfaces for system administration for any Unix-like system. It’s completely free and open-source. With Webmin, you can configure services like Apache, PHP, DNS, file sharing, setup user accounts and much more .


In this tutorial i’ll show you how to install and access Webmin on CentOS/Fedora and Ubuntu/Debian, Let’s Get Started .


You can download Webmin in several package formats from Webmin’s official website. We need the RPM package to install Webmin on CentOS/Fedora.

Step 1 – Before proceeding with Webmin’s installation, install the following dependencies:

yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty

Step 2 – Find the latest stable Webmin release and install it using the following command:

rpm -Uvh

The installation is done automatically. The administration username is ‘root‘ and its password is your current ‘root‘ password.

You can also create a repository for installing Webmin. Doing it this way you will always have the latest automatic updates via repository.

Step 1 – Create a ‘/etc/yum.repos.d/webmin.repo‘ file:

nano /etc/yum.repos.d/webmin.repo

Put the following lines:

Put the following lines:

name=Webmin Distribution Neutral

Step 2 – Download and install the GPG key for the package:

rpm --import jcameron-key.asc

Step 3 – You can now install Webmin by executing:

yum install Webmin

If you want to change your Webmin password, use the following command:

/usr/libexec/webmin/ /etc/webmin root NEWPASSWORD

Where ‘NEWPASSWORD‘ will be your new Webmin password.


Step 1 – Download the latest Debian package from Webmin’s official website


Step 2 – install it with the following command:

dpkg --install webmin_1.791_all.deb

That’s all. The username is ‘root‘ and its password is your current root password.

To change the Webmin password run the following command:

/usr/share/webmin/ /etc/webmin root NEWPASSWORD

Where ‘NEWPASSWORD‘ will be your new Webmin password.



After done installing you can acces Webmin on Port 10000 (default is listening on port 10000 on all Linux distributions) Open a web browser and point it to :
enter ‘root‘ as username and your root password and you are ready to go.

After you log in, you’ll get an easy-to-use, familiar control panel interface for configuring your web server.