Kurinchi Blogger Scribbles …


Posts Tagged ‘CentOS’

Nov 12
2012

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
(more…)

Jan 01
2010

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
2009

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
2009

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)
(more…)

Aug 07
2009

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
2009

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.
(more…)

May 03
2009

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
(more…)

Apr 07
2009

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…)

Dec 24
2008

Apache server installation on CentOS, RedHat Linux

Last updated: December 24th, 2008

Apache web server referred to as simply Apache is a public-domain open source Web server developed by open community of developers. The application is designed to run on a wide variety of operating systems like Unix, FreeBSD, Linux, Mac OS X, OS/2. Visit http://www.apache.org for more details.

In your terminal, issue the following command (by default, httpd is installed). This will install apache if it was not installed. (more…)

Dec 07
2008

OpenVPN Linux CentOS installation – Part 2

Last updated: December 7th, 2008

Part 2 - Making OpenVPN work as a Client

When we want to connect to Office network from an external location or from home, then we need to setup our Linux box to establish communication with the server at the office via a secured link over the internet. In this part, I will list down the steps needed to establish a client communication. (more…)


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict