• January 25, 2016

    Setup Nagios Server On CentOS 7

  • June 18, 2014

    Asterisk 11 Installation on CentOS 6

    1. CentOS Updates Update your CentOS 6 Server for any possible unimplemented updates. yum update -y   2. Disabling SELinux You can use any text editor (VIM etc) to commit this change. Go to /etc/selinux/config and change SELINUX=enforcing to SELINUX=disabled This can also be done by using command line: sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config   3. Reboot Once the aforementioned change is committed and the file is updated, reboot the system using: reboot   4. Installation of Basic Dependencies Asterisk 11.0.0 requires some prerequisite dependencies. Here is the command line to install them: yum install -y make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel   5. Downloading Your Asterisk Source Code Move to directory /usr/src by given command: cd /usr/src/ and then download the Source Code tar balls using these commands (one by one or at a time): wget wget wget   6. Extraction of Downloaded Files Extract the downloaded tar balls to their corresponding directories using: tar zxvf dahdi-linux-complete* tar zxvf libpri* tar zxvf asterisk*   7. DAHDI Installation DAHDI (Digium Asterisk Hardware Device Interface) can be installed using the command line: cd /usr/src/dahdi-linux-complete* make && make install && make config   8. LibPRI Installation In order to enable your BRI, PRI and QSIG based hardware, you will be needing PRI Library or LibPRI. You can install these libraries using: cd /usr/src/libpri* make && make install   9. Changing Asterisk Directory Now you have to move back to the Asterisk Installation Directory: cd /usr/src/asterisk*   10. Running Configure Script for Asterisk At this point, you need to know your CentOS 6 Architecture (32 or 64 Bit). In many cases you are aware of it. In case you are not, try this command: uname -a For 32 Bit, you will be getting response like: 2.6.18-238.12.1.el5 #1...
  • January 13, 2013

    Install PacketFence on CentOS 6.x

    First do a standard install of CentOS 6.  After the standard install IP all the network cards to the proper IP addresses before you install Packetfence.  After that follow these steps-by-step instructions to install packetfence. Update CentOS 1. yum update Install Wget 2. yum install wget Add RPMforge 3. wget 4. rpm –import or gpg –import 5. rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm Add EPEL software repository: 6. rpm -Uvh Add Open Fusion RPM Repository 7.rpm -Uvh Exclude perl-Apache-Test from rpmforge and openfusion repository 8. Vi /etc/yum.repos.d/rpmforge.repo 9. Add the line exclude = perl-Apache-Test* on the section [rpmforge] 10.Vi /etc/yum.repos.d/openfusion.repo 11. add the line exclude = perl-Apache-Test* on the section [of] 12. In order to use the repository, just create a file named /etc/yum.repos.d/PacketFence.repo with the following content 13. [PacketFence] name=PacketFence Repository baseurl=$releasever/$basearch gpgcheck=0 enabled=0 Install PacketFence with all its dependencies 14. yum groupinstall –enablerepo=PacketFence,rpmforge Packetfence-complete Once packetfence is installed it can be configured at GUI interface http://ipaddress:1444/configurator The management interface will be http://ipaddress:1443
  • January 13, 2013

    Install gnome GUI on CentOS

    Step-By-Step instructions on how to install gnome GUI on CentOS This is a step by step guide on how to install the Gnome GUI on CentOS 1. Using yum, we will need to install X Windows System as the based for GUI and rich input device capability: $ yum groupinstall -y ‘X Window System’ 2. Only then we can install GNOME desktop environment on top of it $ yum groupinstall -y ‘Desktop’ 3. Since previously the server is running on CLI mode, we need to change some value to tell CentOS to boot up in the GUI mode. 4. Vi  /etc/inittab 5. Change following line: id:3:initdefault: to id:5:initdefault: 6. Reboot Note: You can switch from GUI to CLI mode manually by using following method: GUI to CLI: Ctrl + Alt + F6 CLI to GUI: Ctrl + Alt + F1 If you want to start the desktop from CLI console (not SSH session), use following command: $ startx