Tag Archives: CentOS

Home »  Tag: CentOS

This was first posted on http://linuxdistributions-lifecycle-comparison.cloud7-itconsult.com Overview of the Support Lifecycle for a few selected Enterprise Linux Distributions. Last Updated 26.11.2014 RedHat Enterprise Linux (13 year extended support) RedHat Enterprise Linux RHEL 7 RHEL 6 RHEL 5 RHEL 4 RHEL 3 Release Date 10-Jun-14 10-Nov-10 15-Mar-07 14-Feb-05 23-Oct-03 EOL End of Life 30-Jun-24 30-Nov-20 31-Mar-17 29-Feb-12 31-Oct-10 EOS Final end of Support (Extended) 30-Jun-27 30-Nov-23 31-Mar-20 31-Mar-17 30-Jan-14 Currently under support? YES YES YES YES NO Lifetime in Years 13.0 13.0 13.0 12.1 10.3 Life kernel patching available? YES kpatch Dynamic Kernel Patching NO NO NO NO CentOS Linux (10 year lifecycle) CentOS Linux CentOS 7 CentOS 6 CentOS 5 CentOS 4 CentOS 3 Release Date 7-Jul-14 10-Jul-10 12-Apr-07 9-Mar-05 19-Mar-04 EOL End of Life 30-Jun-24 30-Nov-20 31-Mar-17 29-Feb-12 31-Oct-10 EOS Final end of Support (Extended) N/A N/A N/A N/A N/A Currently under support? YES YES YES NO NO Lifetime in Years 9.9 10.3 9.9 6.9 6.6 Life kernel patching available? YES kpatch Dynamic Kernel Patching NO NO NO NO Oracle Enterprise Linux Oracle Linux OEL 7 OEL 6 OEL 5 Release Date Jul-14 Feb-11 Mar-07 EOL End of Life […]

I love Splunk for log aggregation and searching through it. It’s a great tool that comes is various versions http://www.splunk.com/view/free-vs-enterprise/SP-CAAAE8W  including a limited free cloud based version https://www.splunkstorm.com. I use the because of it ease, compression and security when sending my logs over. There is a nice guide on how to install and use the Splunkstorm forwarder.  http://docs.splunk.com/Documentation/Storm/latest/User/Setupauniversalforwarderonnix However, to make it autostart by itself rather than having to write something myself to get it running at a reboot you have to: /opt/splunkforwarder/bin/splunk enable boot-start That will create a start script in /etc/init.d. Happy Splunking Related posts: (Obsolete) CentOS 6.x / Nginx / Zpanel: Install Zpanel with Nginx on Centos 6.x server (and a few additional modules) VPS : Basic checks for performance of a VPS and or a Server NagiosXI: Install on CentOS 6.x in an OpenVZ container CentOS / RedHat: Quick Network Bonding eth0 and eth1 Import MySQL […]

Obsolete, do not use. A) Zpanel is not designed for Nginx b) Zpanel has moved on and is forked as http://sentora.io/ Full credit for the first part goes to khanhicetea http://blog.ndksolution.com/install-zpanel-nginx-with-nginx-integrated/ Installation zpanal module add-ons zppy commands Troubleshooting Step 1 : Disabled SELinux by changing /etc/sysconfig/selinux with SELINUX=disabled Step 2 : Reboot server. reboot Step 3 : Become root and download the installer script : su – root cd /tmp wget https://dl.dropboxusercontent.com/u/120005387/zpanel/installer.sh Step 4 : Run it chmod +x installer.sh ./installer.sh Step 5 : Follow instruction to install Step 6 : Reboot server again reboot Step 7 : Login in to ZPanel and set Enabled NGINX Module. Browse to http://ipadressoftheserver login with the details from the install script Step 8 : increase file limit in PHP vi /etc/php.ini upload_max_filesize = 60M #or whatever you want afterwards service php-fpm restart service nginx restart Step 9: Afterwards install additional Modules A list of Zpanel Repos could be […]

to quickly create a Network bondign on eth0 and eth1 on CentOS and RedHat do the following: cd /etc/sysconfig/network-scripts vi ifcfg-eth1        # fill the following DEVICE=eth1 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none vi ifcfg-eth0     # fill the following DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none vi ifcfg-bond0 DEVICE=bond0 IPADDR= NETWORK= NETMASK= GATEWAY= DNS1= DNS2= USERCTL=no BOOTPROTO=none ONBOOT=yes (replace the above IP addresses with your network details.) reboot Related posts: Linux: Howto show the Servers IP address at the login console RedHat 6.x/CentOS 6.x: Rename RHN Satellite (Spacewalk) Server Centos 6.x: How to install Spacewalk Overview of the Support Lifecycle for a few selected Enterprise Linux Distributions Linux / VMware: Howto Increase a / (Root) LVM partition on a single vmdk without adding another partition RedHat 6.x/ Centos 6.x: How to install in OwnCloud 4.5.1 (5.x) in less than 10 minutes

1. Install a vanilla Centos. 2. install Nagios Core as following: yum install -y wget httpd php gcc glibc glibc-common gd gd-devel make net-snmp cd /tmp wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.16.tar.gz wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.4.3.tar.gz useradd nagios groupadd nagcmd usermod -a -G nagcmd nagios tar xvf nagios-plugins-1.4.16.tar.gz tar xvf nagios-3.4.3.tar.gz cd /tmp/nagios ./configure –with-command-group=nagcmd make all make install make install-init make install-config make install-commandmode make install-webconf cp -R contrib/eventhandlers/ /usr/local/nagios/libexec/ chown -R nagios:nagios /usr/local/nagios/libexec/eventhandlers /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios start /etc/init.d/httpd start htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin cd /tmp/nagios-plugins-1* ./configure –with-nagios-user=nagios –with-nagios-group=nagios make make install chkconfig –add nagios chkconfig –level 35 nagios on chkconfig –add httpd chkconfig –level 35 httpd on Use the browser and go to http://SERVER_IP_ADRESS/nagios/ and off it goes Username:nagiosadmin password: whatever you set When installing Nagios (core) on Centos as per the install description and you have the  issue that you can reach the Nagios main webpage but can’t  reach any subpage. You are getting […]

I’m a new fan of Nagios XI. The Core version is simply to complex and difficult to manage and I love to (KISS) keep it simple and stupid. A first try to install NagiosXI on Proxmox under KVM resulted in a performance disaster. (load of 40.x and I have no idea why) In general unless there are very good reasons for portability, security or snapshot features, I’m more a fan of Containers (OpenVZ or Zones for Solaris). They are simply more performant and don’t have that overhead KVM virtualization brings with. However one negative side-effect of Openvz is for example IPtables. IPtables under openVZ are a nightmare. When you know what you do, you secure the container from the Host and wont need IPtables on the CT. But my problem was that NagiosXI needs (kind of) Iptables for its automated install script. So I had to work around anbit to get it running on the CT and know what .. […]

%d bloggers like this: