Kurinchi Blogger Scribbles …

Posts Tagged ‘CentOS’

Jul 20

Apache webserver (httpd) service installation on CentOS 7 Linux

Last updated: July 22nd, 2015

First set up the httpd (web) service

$ yum install httpd

If httpd service is already installed, update the service

$ yum update httpd

Now, start the web server

$ service httpd start

Redirecting to /bin/systemctl start httpd.service

Check the status of the web server

$ service httpd status


Dec 31

How to install PostgreSQL on CentOS Linux?

Last updated: December 31st, 2013

First lets do an update before we start installing PostgreSQL

$ yum update

You can install PostgreSQL from CentOS Base repo or can do a search for the latest version and install it based on your needs. Method 1 describes manual setup and Method 2 indicates an install from CentOS base repo (more…)

Nov 12

How to install and setup Fail2ban on CentOS?

Last updated: November 12th, 2012

Fail2ban is a software used to ban IP’s which shows strange behavior. It can be configured to reject IP’s for a certain amount of time.

To install Fail2ban we need to download the application from the source. Login as the root user and go to /opt

$ cd /opt

$ wget http://downloads.sourceforge.net/project/fail2ban/fail2ban-stable/fail2ban-0.8.4/fail2ban-0.8.4.tar.bz2?use_mirror=transact

Next unzip the downloaded file

$ tar -xf fail2ban-0.8.4.tar.bz2

$ cd fail2ban-0.8.4

Jan 01

CentOS Multimedia Flash MPlayer installation steps

Last updated: January 1st, 2010

One of the clean and easy installation steps can be found at http://www.sklav.com/?q=node/2

I have added this in the blog to help a newbie land in a page that is easy to follow. The steps cover

i) Adding rpmforge
ii) Adding adobe repo
iii) Installation command to install libraries, flash plugin and other streaming medias
iv) MPlayer codec installation

Aug 29

Linux: which vs. whereis command difference

Last updated: September 3rd, 2009

Difference between which command and whereis command in Linux

For e.g. lets find where “samba” is located in a CentOS server

$ which samba
which command searches the list of programs listed down through the PATH settings

$ whereis samba
whereis command also searches for programs that are not present in the PATH setting

Aug 17

Simple File Sharing Steps with Samba in CentOS for beginners

Last updated: August 11th, 2009

Samba facilitates file sharing across linux, windows systems for beginners

First create a folder in your Windows system, right click the folder and share the folder for network access. Let say that you have created a folder for share as “xpshare” and that the name of your windows machine is “windowsxp” (right click “My Computer” and select properties. Under the tab “Computer Name” you can note the name of the machine)

Aug 07

How to find the version of Apache?

Last updated: August 1st, 2009

In ubuntu, it is

$ apache2 -v

In CentOS, it is

$ httpd -v

To find out where apache2 or httpd program is installed you can do the
$ whereis apache2 or,
$ locate httpd

Aug 03

Apache, Ubuntu, CentOS: Virtual Host Configuration

Last updated: July 30th, 2009

What is Virtual Hosting?

Virtual Hosting is a technique by which web servers can serve more than one domain name on the same server. It can also be a variation of serving different sites on the same IP but on different ports.

May 03

Install Ruby, Rails, RadRails on CentOS, Fedora

Last updated: May 2nd, 2009

Installing Ruby, Rails on CentOS
Installing Ruby on Rails involves using yum to first install ruby and then to install ruby docs, irba followed by rails installation.
$ yum install -y ruby
$ yum install -y ruby-devel ruby-docs ruby-ri ruby-irb ruby-rdoc
$ gem install rails –include-dependencies

Apr 07

Nagios nrpe host server and client on CentOS, Ubuntu

Last updated: May 25th, 2009

Configuring server host to respond to nagios host (monitor remote services) – CentOS

Download nagios plugin and nagios-nrpe plugin in the server host (client that talks with nagios host) from nagios website. The files comes as .tar files and you need to configure them for their use. Move the files to /usr/src (more…)

Valid HTML 4.01 Strict  Valid HTML 4.01 Strict