How to setup Network File Server on CentOS / Redhat with Automatic Backups — RackSpace

NFS SERVER SETUP ON CETNOS 6.5 / Redhat 6.5 / Fedora

In this tutorial let us see how to install and configure NFS server and how to share files between NFS server and clients. Though i have tested these steps in Cent-OS 6.5 32 bit edition, it will work on RHEL/Fedora/ 64 bit architecture.

Scenario

NFS Server Operating System : CentOS 6.5 64 bit (Minimal server install)

NFS Server Operating System  : CentOS 6.5 64 bit (Minimal server install)

NFS Client Operating System  : CentOS 6.5 64 bit (Desktop Minimal)

NFS Server IP Address              Host rackspace-nfs01: 192.168.58.152

NFS Server IP Address              Host rackspace-nfs02: 192.168.58.153

NFS Client IP Address               Host rackspace-jon: 192.168.58.154

Continue reading “How to setup Network File Server on CentOS / Redhat with Automatic Backups — RackSpace”

APACHE OPENSSL CERTIFICATE, PHP MYSQL, HTACCESS WEB DIRECTORY with SQUID WITHOUT SSL AND with SSL SETUP

APACHE+OPENSSL+CERTIFICATE+PHP+MYSQL+HTACCESS WEB DIRECTORY SQUID WITHOUT SSL AND SSL SETUP

vi /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=reverseproxy.node01

:wq! Continue reading “APACHE OPENSSL CERTIFICATE, PHP MYSQL, HTACCESS WEB DIRECTORY with SQUID WITHOUT SSL AND with SSL SETUP”

Nagios Installation on Production server via Source code compilation

We have CentOS Linux Operating System as a Server OS

[root@nagiosprod nagios]# yum install httpd php gcc glibc glibc-common gd gd-devel
[root@nagiosprod nagios]# yum install httpd php gcc glibc glibc-common gd gd-devel openssl-devel wget perl make
[root@nagiosprod nagios]# /usr/sbin/groupadd -g 310 nagios
[root@nagiosprod nagios]# /usr/sbin/useradd -g 310 -u 310 -c "Nagios" -d /home/nagios nagios
[root@nagiosprod nagios]# passwd -x nagios
[root@nagiosprod nagios]# wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-4.0.6.tar.gz
 Continue reading "Nagios Installation on Production server via Source code compilation" 

Installation & configuration of ModSecurity on APACHE

Mod Security is a web based firewall (WAF) designed for apache (though there is a version available for IIS too). It is widely used and highly effective. But there is a learning curve in using modsec. You can start exploring by installing ModSec on your system.

INSTALLATION USING YUM

To install modsec from YUM you will need to install EPEL ( Extra Packages for Enterprise Linux )

Depending upon your Linux installation run the following command

[yOMan@ x-machine ~]# uname -a

     Linux x-machine.net.pk 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:57:35 EST 2012 x86_64           

Continue reading “Installation & configuration of ModSecurity on APACHE”

Installing MantisBT – A Bug Tracking System

By: Muhammad Farrukh Siddique

=======================================
MantisBT version: 1.2.17
CentOS version: 6.2
Apache version: 2.2.15
PHP version: 5.3.3
MySQL version: 5.1.73
=======================================
————————————–

Disable SELinux and configure iptables accordingly.

to disable SELinux open file

# vim /etc/sysconfig/selinux

change the enforcing status to disables, as below:

SELINUX=disabled

save and quit

Continue reading “Installing MantisBT – A Bug Tracking System”