Aug 18 2016

How to Add EPEL Yum Repository on Oracle Linux 7

Category: Linux & UnixFatih Acar @ 11:50

EPEL (Extra Packages for Enterprise Linux) is open source and free community based repository project from Fedora team which provides 100% high quality add-on software packages for Linux distribution including RHEL (Red Hat Enterprise Linux), CentOS, and Scientific Linux. Epel project is not a part of RHEL/CentOS but it is designed for major Linux distributions by providing lots of open source packages like networking, sys admin, programming, monitoring and so on. Most of the epel packages are maintained by Fedora repo. Nagios packages are example in EPEL Repo.

Why we use EPEL repository?

  • Provides lots of open source packages to install via Yum.
  • Epel repo is 100% open source and free to use.
  • It does not provide any core duplicate packages and no compatibility issues.
  • All epel packages are maintained by Fedora repo.

Download EPEL Repo

Address : http://download.fedoraproject.org/pub/epel/7

Download link mirror: http://mirror.dgn.net.tr/epel//7/x86_64/e/epel-release-7-8.noarch.rpm

Install RPM

rpm -ivh epel-release-7-8.noarch.rpm

Control Epel Repo

yum repolist

Install Nagios Packages

List Nagios Packages
yum –enablerepo=epel -y list nagios-plugins*

Install Packages
yum –enablerepo=epel -y install nrpe nagios-plugins

16,705 total views, no views today

Tags: Linux Administration, Oracle Linux


Dec 04 2015

RPM Command Using on Linux Systems

Category: Linux & UnixFatih Acar @ 15:46

If you connect linux repo, you can use yum install or yum update to manage your package. On the other hand, if you have RPM package, you can use rpm command to manage packages.

RPM command has been using for installing, uninstalling, upgrading, listing,querying and checking RPM packages on linux system. You can use rpm command with root user.

Frequently Used RPM Commands

Install RPM Package

[root #] rpm -ivh postgresql-libs-8.4.20-1.el6_5.x86_64.rpm

Update RPM Package

[root #] rpm -Uvh postgresql-libs-8.4.20-1.el6_5.x86_64.rpm

List All Installed Packages

[root #] rpm -qa

Search From Installed Packages

[root #] rpm -qa | grep postgresql-libs

Take Information From Installed Package

[root #] rpm -qi postgresql-libs

Uninstall RPM Package

[root #] rpm -ev postgresql-libs

10,863 total views, 10 views today

Tags: Linux Administration, Oracle Linux, System Administration


Oct 02 2015

How to Create Virtual IP Address on Oracle Linux System

Category: Linux & UnixFatih Acar @ 16:50

You can create virtual IP addresses on Oracle Linux, Redhat and Centos Operating Systems with below operations.

Virtual IP address can be temporary or static according to your wishes. You have to have a ethernet adaptor interface for example eth0. You can use ifconfig eth0:0 <IP address> syntax to create temporary virtual IP.

Create Temporary Virtual IP

[root@test ~]# ifconfig eth0:0 192.168.27.150

Delete Temporary Virtual IP

[root@test ~]# ifconfig eth0:0 down

Create Static Virtual IP

[root@test ~]# cd /etc/sysconfig/network-scripts
[root@test ~]# vi ifcfg-eth0:0

DEVICE=eth0:0
IPADDR=192.168.27.150
NETMASK=255.255.255.0
NETWORK=192.0.0.0
BROADCAST=192.168.27.255
ONBOOT=yes

Activate Network Configuration

[root@test ~]# service network restart

25,039 total views, no views today

Tags: Linux Administration, Oracle Linux, System Administration


Feb 12 2015

Fstab Cannot Writable

Category: Linux & UnixFatih Acar @ 09:41

If you mount disk with wrong uuid or wrong text in fstab file, you get an error when system restart. Your system can not open. If you want to change fstab, you can not change this file because of read only. You can change this status with “mount -o remount,rw /” command. This command provides that system takes maintenance mode. /etc/ directory’s below files will be writable.

Error

fstab1

Solution
Continue reading “Fstab Cannot Writable”

7,990 total views, no views today

Tags: fstab, Linux Administration, Linux Error and Solution, Oracle Linux, System Administration


Oct 18 2014

How to Install Oracle Enterprise Linux 7

Category: Linux & UnixFatih Acar @ 13:57

Oracle company released Oracle Enterprise Linux 7 version. OEL7 has new features. You can install OEL7 like below.

Installation OEL7

1

2
Continue reading “How to Install Oracle Enterprise Linux 7”

11,535 total views, 2 views today

Tags: Oracle Linux, System Administration