Highly Available Linux Cluster for (LAMP) Apache, MySQL, PHP using DRBD and HeartBeat on CentOS / RedHat / Fedora

centos    mysql      images

Disclaimer:
The following steps are performed on Virtual machines and tested successfully.
It is advised to test first on raw / virtual machines and then in production environment.

We will setup for Apache Webserver and MySQL on High Availability Cluster (2 Nodes).

Test Scenario: Continue reading “Highly Available Linux Cluster for (LAMP) Apache, MySQL, PHP using DRBD and HeartBeat on CentOS / RedHat / Fedora”

DNSTop for bind server ApacheTop for Apache Web Server MyTop for MySQL Server Process Monitoring in Linux / Redhat / CentOS / Fedora Ubuntu Urdu CBT by Babar Zahoor

DNSTop for bind server ApacheTop for Apache Web Server MyTop for MySQL Server Process Monitoring in Linux / Redhat / CentOS / Fedora Ubuntu Urdu CBT by Babar Zahoor

Installing Alfresco 3.4.d On Fedora

This document describes how to install and setup Alfresco Content Server Community Edition by “Alfresco Software inc.” on a Fedora  based webserver from a WAR package on a Tomcat webserver with postgreSQL database as backend. For other distributions there might be minor changes as to the software prerequisites installation procedures. I took my time to write this tutorial up, since I was unable to find any complete setup procedure on the Internet, mainly because there is a .bin executable, which install all in one easy step. Therefore this guide is intended to those who, like me, want to have as much control and understanding as possible and for those, who would want to install this server into already existing infrastructure and do not wish to dig wiki pages much. Moreover, by default, server from .bin installation runs as root and this is a potential threat to security. This guide will not only help install the product, but also understand why certain points are done the way they are done (this is most helpful for users with little or no knowledge who, like me some time ago, have only started using Linux).

What is Alfresco?

Should I say it in simple manner, this is the Sharepoint open source competitor, which is fully compliant with sharepoint protocol, yet powerful enough that it would take a book to cover everything in detail.
There are two versions of it, non-free Enterprise edition which includes classic commercial support from developer and a free Community edition, whereas the only support you get are posts across the Internet from others brave souls.
Links to several sections of developer:

Continue reading “Installing Alfresco 3.4.d On Fedora”

HTop – CPU, Memory & Process Monitoring Utility in Linux by Qasim Mehmood

Htop

Htop is a text-mode, interactive process viewer for Linux run via console/ssh, and to install htop on Linux is a pretty simple task. Among other things, htop allows you the following:

  • Quickly view key performance statistics such as CPU(multi-core layout), Memory and Swap usage Details.
  • Scroll the process list vertically and horizontally to see all processes and complete command lines.
  • Kill processes by selection rather than entering process number, use mouse to select list items.
  • PuTTY (the Telnet and SSH client) can be used for the interface at client.

How to install Htop

You can easily install htop on CentOS 6.x using yum, but first you need to install the rpmforge package repository applicable to your architecture 32bit or 64bit (if already not installed) by using the following commands:

Install RPM for CentOS 6.x

32-BIT

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
rpm -Uhv rpmforge-release*.rf.i386.rpm

64BIT

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

rpm -Uhv rpmforge-release*.rf.x86_64.rpm

Once the repository is installed, all you need to do to install htop in CentOS is run the following:

yum install htop

Now run the following command at command prompt or in PuTTy to start htop processes viewer.

htop

After the installation of Htop, you can view the manual and other utilities of Htop, with the following commands.

[qasim@server ]# man htop                                           To view manual of htop, having complete details.

[qasim@server ]#htop -h                                                 To view different options/plug-ins.

[qasim@server ]#htop -u username                            To view the active user’s currently running processes information.

[qasim@server ]#htop -u qasim                                    To view the qasim’s currently running processes information.

[qasim@server ]#htop -u root                                       To view the root’s currently running processes information

 

Virtual Box Machine Settings Urdu CBT by Babar Zahoor

Virtual Box Machine Settings

Virtual Box Machine Settings Urdu CBT by Babar Zahoor

How to Install and configure Web Server Load Balancing cluster on RedHat 5.x / CentOS 5.x /6.x Using LVS, Heart Beat with Highly Available MySQL Database server using DRBD and Heart Beat

How to Install and configure Web Server Load Balancing cluster  on RedHat 5.x / CentOS 5.x /6.x Using LVS, Heart Beat with Highly Available MySQL Database server using DRBD and Heart Beat

by Babar Zahoor
Coordinated by Muhammad Farrukh Siddque(LPIC)
Speacial Thanks to
Mr.Muhammad Kamran Azeem http://www.Wbitt.com
http://www.LinuxUrduCBTs.com
Linux Load Balancer Urdu CBT  using  Piranha,Pulse,IPVsadm and Highly Available MySQL using DRBD & HearTBeat.6 Nodes Load Balancing Cluster SetupTwo nodes for LVS (Piranha Pulse nannay Ipvsadm) as Load balancer
Two nodes for Web servers can be multiple upto your requirement.
Two nodes for mysql database server using Drbd & heartbeat for highly available MySQL database.