Category Archives: Server Tutorial

How to Install Webuzo

Softaculous Webuzo is a Virtual Machine which bundles many server based Applications and scripts and enables you to deploy these apps without the hassles of installing them. Webuzo is ideal for Enterprises, Small and Medium Businesses looking to deploy various apps. Webuzo is the standalone Softaculous Single user LAMP stack with 239 web apps.

Webuzo is also suited for Web Developers who use various PHP, Perl, Python and Ruby Apps. Our main goal is to help save your time so that you can conentrate more on your work and less on maintaining Apps. You can deploy webuzo on a VPS (Virtual Private Server), on the cloud, in your office (using Virtual Machines)

Follow below steps for complete installation (using CentOS):
Install fresh 32 or 64 bit OS (better to use CentOS 6.x)

yum update -y

reboot server.

Before we proceed to setup, we need to remove apache from our server. Usually apache installed by default on the server conflicts with Webuzo’s apache resulting in the “Internal Server Error”.

yum remove httpd -y

below command for raw installation

wget -N http://files.webuzo.com/install.sh

chmod 0755 install.sh

./install.sh

Now wait for few minutes for installation. After completed the raw

Install Kloxo-MR

Install Kloxo-MR (fresh and tested)

Install a fresh OS of CentOS 5.xx

Follow below command
=================================================================================================

cd /
yum update -y

yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip -y

yum install telnet -y

setenforce 0
echo ‘SELINUX=disabled’ > /etc/selinux/config

cd /etc/yum.repos.d/
wget https://github.com/mustafaramadhan/kloxo/raw/release/kloxo-mr.repo –no-check-certificate
cd /
yum install kloxomr -y

sh /script/upcp -y

 

N.B. Kloxo supported only CentOS 5.xx and after install default admin user/pass is admin/admin

How to install Xen on RHEL6, Scientific Linux 6, CentOS 6

As any user of an EL6 distro would know, the basis of the EL6 packages are RHEL6. Sadly, Redhat dropped support for Xen in v6 – preferring KVM as their corporate solution. Personally, I don’t think this was the correct decision. This mini-howto will give the basics of setting up the Xen Dom0. From there, any Xen tutorial will cover the basics (and some more advanced) functionality of Xen guests (both Windows and Linux).

Support?
I run a mailing list on lists.wireless.org.au which is available for peer support and suggestions. I will also post announcements to this list on new builds and testing as new developments emerge.

NOTE: Due to the number of support requests I get sent, I am unable to give individual responses to any issues. I suggest using the mailing list for support. I will make an effort to monitor and assist people using the list.

Configuring DNSSEC on EL6 and bind 9

It looks like there isn’t much in the way of documentation to step people through enabling DNSSEC on their Scientific Linux 6 / CentOS 6 / RHEL6 servers – so as I normally do, I’ve decided to write a quick howto based on MANY searches and trial and error.

1) Firstly, we need to enable dnssec in /etc/named.conf. This will enable the DNSSEC feature set in bind. Check you have the following, or add it if it doesn’t exist:
options {
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
}

How to install pptp VPN on CentOS, RedHat and Ubuntu

Point-to-Point Tunneling Protocol

The Point-to-Point Tunneling Protocol (PPTP) is a method for implementing virtual private networks. PPTP uses a control channel over TCP and a GRE tunnel operating to encapsulate PPP packets.
The PPTP specification does not describe encryption or authentication features and relies on the Point-to-Point Protocol being tunneled to implement security functionality. However the most common PPTP implementation, shipping with the Microsoft Windows product families, implements various levels of authentication and encryption natively as standard features of the Windows PPTP stack. The intended use of this protocol is to provide similar levels of security and remote access as typical VPN products.

Step 1. Install PPTPD
If your OS is CentOS/RedHat 5:

yum install pppcd
/usr/local/src
wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.x86_64.rpm
rpm -Uhv pptpd-1.3.4-2.rhel5.x86_64.rpm

Mytop installation on Centos

At first .

perl -MCPAN -eshell

Load up the cpan module

install Getopt::Long
install DBI
install DBD::mysql
install Term::ReadKey

install the modules necessary

Mytop installation on cpanel

What is mytop ?

Mytop is the best opensource tool developed by Jeremy Zawodny Mysql guru. Mytop on cpanel this tools helps you to monitor Mysql health, current query process running, no of sleep process, mysql load etc.

Before downloading and install the tool, we need to install few perl modules to support the mytop script .

Ssh the server as root and execute the following commands :

/usr/local/cpanel/scripts/perlinstaller –force Getopt::Long
/usr/local/cpanel/scripts/perlinstaller –force DBI
/usr/local/cpanel/scripts/perlinstaller –force DBD::mysql
/usr/local/cpanel/scripts/perlinstaller –force Term::ReadKey


Download the latest mytop tool from http://jeremy.zawodny.com/mysql/mytop/

wget http://jeremy.zawodny.com/mysql/mytop/mytop-1.6.tar.gz
tar zxpfv mytop-1.6.tar.gz
cd mytop-1.6
perl Makefile.PL && make && make install

On cpanel centos 5.x versions you will get Error in option spec: “long|!” error message if you are trying to execute the mytop command. Please do the following to solve this error.
After complete mytop installation edit the mytop script from /usr/local/bin/mytop this location and Search for the line  “long|!”              => \$config{long_nums}, and comment it to #”long|!”              => \$config{long_nums}, and then execute mytop it will start working if nt then follow this instruction.

After installing mytop you need to create a new file under /root/.mytop (mytop config file for root) with the lines below (mysql root password is found on /root/.my.cnf:
user=root
pass=<your mysql password>
host=localhost
db=mysql
delay=5
port=3306
socket=
batchmode=0
header=1
color=1
idle=1
that’s it

Vnc installation on centos ubuntu and debian

Installing the Components

Our VPS images are intended to be very minimal to allow the most user customization, so you must install the full group packages for Xwindows and Gnome (the default window manager for most operating systems). For CentOS:

 

yum groupinstall "X Window System" "GNOME Desktop Environment" vncserver

For Ubuntu (as root):

apt-get install ubuntu-desktop gdm vnc4server

For Debian (as root):

Install & configuration for Nagios & Nagios Client (NRPE) on CentOS 5

Install

Add RPMForge Yum Repository

It is recommended that you configure yum-priorities prior to following this tutorial to avoid having base CentOS packages being overwritten by the RPMForge repository. Instructions to do so can be found on the CentOS Wiki.

Install & Configure Prerequisites

How to Install VNC w/ GNOME on Debian VPS

VNC is a remote desktop sharing system that will allow you to connect your home PC to a GUI (graphical interface) hosted on your VPS, for easy remote management. This guide will walk you through the steps required to setup and access a VNC server hosted on a Debian VPS.

Before beginning, ensure you are logged in to your VPS as the root user, and run the following:

# apt-get update
# apt-get upgrade
1. Install GNOME:

#apt-get install gnome-desktop-environment
2. Install required fonts: