How to Create System Configuration Summaries for CentOS 5.5 using cfg2html

In this tutorial i will show you how to collect and create the system configuration summaries for Linux CentOS 5.5. The output file will be in the HTML format.

1. Please visit http://www.cfg2html.com to download cfg2html

For example :
26.01.2011 | 428.603 | cfg2html-linux-1.87-20110126_all.zip | cfg2html for Linux, SuSE+RedHat RPM, native Debian/Ubuntu package for apt(itude)/dpkg, \nSource Code for other distros

2. Extract the .zip and looking for .rpm file. Copy this .rpm to /tmp directory on your server. In this tutorial we will use cfg2html-linux-1.87-1.noarch.rpm to install cfg2html in Linux CentOS 5.5

3. Putty to your server and follow below command.

    [root@server tmp]# ls
    cfg2html-linux-1.87-1.noarch.rpm
    [root@server tmp]# rpm -hiv cfg2html-linux-1.87-1.noarch.rpm
    Preparing...             ########################################### [100%]
    1:cfg2html-linux         ########################################### [100%]
    
    [root@server tmp]# which cfg2html-linux
    /usr/bin/cfg2html-linux
    [root@server tmp]# cd /usr/bin
    [root@server bin]# ls *cfg2html-linux*
    cfg2html-linux
    [root@server bin]# mkdir /tmp/cfg2html
    [root@server bin]# cp cfg2html-linux /tmp/cfg2html
    [root@server bin]# cd  /tmp/cfg2html
    [root@server cfg2html]# ls
    cfg2html-linux
    

Please make sure that there are no other files in “/tmp/cfg2html” directory except cfg2html-linux as all the output files will be store in this directory. Proceed to run the cfg2html script.

    [root@server cfg2html]# ./cfg2html-linux
    
    --=[ http://come.to/cfg2html ]=-----------------------------------------------
    Starting          cfg2html-linux version 1.87-2011-01-26
    Path to Cfg2Html  ./cfg2html-linux
    HTML Output File  ./server.intranet.local.html
    Text Output File  ./server.intranet.local.txt
    Partitions        ./server.intranet.local.partitions.save
    Errors logged to  ./server.intranet.local.err
    Started at        2011-02-28 21:22:53
    WARNING           USE AT YOUR OWN RISK!!! :-))
    
    --=[ http://come.to/cfg2html ]=-----------------------------------------------
    
    Collecting:  Linux System CentOS release 5.5 (Final)  ............................
    Collecting:  Cron and At  .........
    Collecting:  Hardware  ....................
    Collecting:  Software  .......
    Collecting:  Filesystems, Dump- and Swapconfiguration  ...........
    Collecting:  Multipath Configuration  ........
    Collecting:  LVM  ........
    Collecting:  Network Settings  ................................
    Collecting:  Kernel, Modules and Libraries  ................
    Collecting:  System Enhancements  ..
    Collecting:  Applications and Subsystems  ...........
    
    --=[ http://come.to/cfg2html ]=-----------------------------------------------
    Creating:    JPG/GIFs
    x - cfg2html_back.jpg [non-ascii]
    x - profbull.gif [non-ascii]
    
    [root@server cfg2html]# ls
    cfg2html_back.jpg       server.intranet.local.html             profbull.gif
    cfg2html-linux          server.intranet.local.partitions.save
    server.intranet.local.err  server.intranet.local.txt
    

Make a copy of this cfg2html folder on your local pc. You can view the system configuration by run the server.intranet.local.html.

How to Install phpMyAdmin on CentOS 6/7 / RHEL 6/7

Introduction

Not all bloggers or users feel comfortable to administering their wordpress database from the command line. To address this problem, a project called phpMyAdmin was created in order to offer web-based management interface for MySQL or MariaDB database.

In this guide, i will show how to install and secure a phpMyAdmin configuration on a CentOS 6, CentOS 7, RHEL 6 and RHEL 7 server.

Prerequisites :
1. How to Prepare EPEL Yum Repositories For CentOS 7 / RHEL 7

or you just run the following in your CentOS 7:

# sudo yum install epel-release -y

2. How to Prepare EPEL Yum Repositories For CentOS 6 / RHEL 6

or you just run the following in your CentOS 6:

# sudo yum install epel-release -y

3. How to Install Apache Httpd Web Server on Linux

4. How to Install MySQL Database in Linux using Yum

Install phpMyAdmin

After installed all above prerequisites, you can run this yum command:

# yum --enablerepo=epel install phpmyadmin

How to Install php 5.3 on CentOS or RHEL

In this guide, i will show you how to install php 5.3 installation using webtatic repository. This steps has been tested on CentOS 5.5 64 bit. However, it same goes to 32 bit OS on CentOS or RHEL.

To install basic php packages, please use this yum command:

    [root@server /]# yum --enablerepo=webtatic install php
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: ftp.oss.eznetsols.org
     * base: ftp.oss.eznetsols.org
     * extras: ftp.oss.eznetsols.org
     * updates: ftp.oss.eznetsols.org
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package php.x86_64 0:5.3.5-1.1.w5 set to be updated
    --> Processing Dependency: php-cli = 5.3.5-1.1.w5 for package: php
    --> Processing Dependency: php-common = 5.3.5-1.1.w5 for package: php
    --> Running transaction check
    ---> Package php-cli.x86_64 0:5.3.5-1.1.w5 set to be updated
    ---> Package php-common.x86_64 0:5.3.5-1.1.w5 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package            Arch           Version               Repository        Size
    ================================================================================
    Installing:
     php                x86_64         5.3.5-1.1.w5          webtatic         1.3 M
    Installing for dependencies:
     php-cli            x86_64         5.3.5-1.1.w5          webtatic         2.5 M
     php-common         x86_64         5.3.5-1.1.w5          webtatic         567 k
    
    Transaction Summary
    ================================================================================
    Install       3 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 4.3 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/3): php-common-5.3.5-1.1.w5.x86_64.rpm                | 567 kB     00:00
    (2/3): php-5.3.5-1.1.w5.x86_64.rpm                       | 1.3 MB     00:00
    (3/3): php-cli-5.3.5-1.1.w5.x86_64.rpm                   | 2.5 MB     00:00
    --------------------------------------------------------------------------------
    Total                                           8.8 MB/s | 4.3 MB     00:00
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : php-common                                               1/3
      Installing     : php-cli                                                  2/3
      Installing     : php                                                      3/3
    
    Installed:
      php.x86_64 0:5.3.5-1.1.w5
    
    Dependency Installed:
      php-cli.x86_64 0:5.3.5-1.1.w5         php-common.x86_64 0:5.3.5-1.1.w5
    
    Complete!
    

To install the php packages that will integrate with MySQL and will manage through phpMyAdmin, please follow below yum command:

    [root@server /]# yum --enablerepo=webtatic install php php-mbstring php-common 
    php-pdo php-mysql php-cli php-mcrypt php-gd
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: ftp.oss.eznetsols.org
     * base: ftp.oss.eznetsols.org
     * extras: ftp.oss.eznetsols.org
     * updates: ftp.oss.eznetsols.org
    addons                                                   |  951 B     00:00
    base                                                     | 2.1 kB     00:00
    extras                                                   | 2.1 kB     00:00
    updates                                                  | 1.9 kB     00:00
    webtatic                                                 |  951 B     00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package php.x86_64 0:5.3.5-1.1.w5 set to be updated
    ---> Package php-cli.x86_64 0:5.3.5-1.1.w5 set to be updated
    ---> Package php-common.x86_64 0:5.3.5-1.1.w5 set to be updated
    ---> Package php-gd.x86_64 0:5.3.5-1.1.w5 set to be updated
    ---> Package php-mbstring.x86_64 0:5.3.5-1.1.w5 set to be updated
    ---> Package php-mcrypt.x86_64 0:5.3.5-1.1.w5 set to be updated
    ---> Package php-mysql.x86_64 0:5.3.5-1.1.w5 set to be updated
    ---> Package php-pdo.x86_64 0:5.3.5-1.1.w5 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package             Arch          Version                Repository       Size
    ================================================================================
    Installing:
     php                 x86_64        5.3.5-1.1.w5           webtatic        1.3 M
     php-cli             x86_64        5.3.5-1.1.w5           webtatic        2.5 M
     php-common          x86_64        5.3.5-1.1.w5           webtatic        567 k
     php-gd              x86_64        5.3.5-1.1.w5           webtatic        107 k
     php-mbstring        x86_64        5.3.5-1.1.w5           webtatic        1.2 M
     php-mcrypt          x86_64        5.3.5-1.1.w5           webtatic         30 k
     php-mysql           x86_64        5.3.5-1.1.w5           webtatic         90 k
     php-pdo             x86_64        5.3.5-1.1.w5           webtatic         64 k
    
    Transaction Summary
    ================================================================================
    Install       8 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 5.7 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/8): php-mcrypt-5.3.5-1.1.w5.x86_64.rpm                |  30 kB     00:00
    (2/8): php-pdo-5.3.5-1.1.w5.x86_64.rpm                   |  64 kB     00:00
    (3/8): php-mysql-5.3.5-1.1.w5.x86_64.rpm                 |  90 kB     00:00
    (4/8): php-gd-5.3.5-1.1.w5.x86_64.rpm                    | 107 kB     00:00
    (5/8): php-common-5.3.5-1.1.w5.x86_64.rpm                | 567 kB     00:00
    (6/8): php-mbstring-5.3.5-1.1.w5.x86_64.rpm              | 1.2 MB     00:00
    (7/8): php-5.3.5-1.1.w5.x86_64.rpm                       | 1.3 MB     00:00
    (8/8): php-cli-5.3.5-1.1.w5.x86_64.rpm                   | 2.5 MB     00:00
    --------------------------------------------------------------------------------
    Total                                           8.2 MB/s | 5.7 MB     00:00
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : php-common                                               1/8
      Installing     : php-cli                                                  2/8
      Installing     : php-pdo                                                  3/8
      Installing     : php-mcrypt                                               4/8
      Installing     : php-mbstring                                             5/8
      Installing     : php                                                      6/8
      Installing     : php-mysql                                                7/8
      Installing     : php-gd                                                   8/8
    
    Installed:
      php.x86_64 0:5.3.5-1.1.w5               php-cli.x86_64 0:5.3.5-1.1.w5
      php-common.x86_64 0:5.3.5-1.1.w5        php-gd.x86_64 0:5.3.5-1.1.w5
      php-mbstring.x86_64 0:5.3.5-1.1.w5      php-mcrypt.x86_64 0:5.3.5-1.1.w5
      php-mysql.x86_64 0:5.3.5-1.1.w5         php-pdo.x86_64 0:5.3.5-1.1.w5
    
    Complete!
    

How to Create Google Custom Search in Thesis WordPress Theme

This Steps will guide you how to install Google Custom Search on thesis wordpress theme. It will create the Custom Search on the top right of Navigation Menu page.

1. In your browser go to http://www.google.com/cse/

2. Go to AdSense Setup -> Get Ads -> Click AdSense for Search -> proceed to create search code unit until you get “Search Box Code” and “Search Box Code”.

Search Box Code
Paste this code in the page where you’d like your search box to appear.

Search Results Code
Paste this code on http://www.myblogxxxx.com/search or where you would like your search results to appear. This page must manually created by your self.

3. Add “Search Box Code” in custom_functions.php

4. Paste “Search Results Code” into http://www.myblogxxxx.com/search

5. Add this in custom editor, Custom/custom.css

    .custom #custom_search {
    	float:right;
    	margin-right:2em;
    	position:relative;
    	padding:0.818em 0 0.818em 0;
    }
    

How to Exclude Pages from the WordPress Page Menu

There is easy way to exclude certain pages from your wordpress page menu list by using Exclude Pages wordpress plugin.This plugin adds a checkbox, “include this page in menus”, uncheck this to exclude pages from the page navigation that users see on websites or blogs. Go to wordpress plugin directory to download and proceed to install.

http://wordpress.org/extend/plugins/exclude-pages/

Steps:
1. Download the “Exclude Pages” Plugin
2. Upload exclude_pages.php to the /wp-content/plugins/ directoryon your blog
3. Activate the plugin through the ‘Plugins’ menu in WordPress
4. Uncheck ” Include this page in lists of pages” to exclude pages from your page navigation list
5. Click update to finish

How to Install Apache Httpd Web Server on Linux

Apache Httpd is a common web server that was used in World Wide Web. It is the best open source web server that i ever used. To install this Apache on Linux, you can follow this simple steps.

    [root@server /]# yum install httpd
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: mirror.oscc.org.my
     * base: mirror.oscc.org.my
     * extras: centos.maulvi.net
     * updates: centos.maulvi.net
    addons                                                       |  951 B     00:00
    base                                                         | 2.1 kB     00:00
    extras                                                       | 2.1 kB     00:00
    kbs-CentOS-Extras                                            | 1.9 kB     00:00
    kbs-CentOS-Testing                                           | 1.9 kB     00:00
    updates                                                      | 1.9 kB     00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package httpd.i386 0:2.2.3-43.el5.centos.3 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ====================================================================================
     Package        Arch          Version                        Repository        Size
    ====================================================================================
    Installing:
     httpd          i386          2.2.3-43.el5.centos.3          updates          1.2 M
    
    Transaction Summary
    ====================================================================================
    Install       1 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 1.2 M
    Is this ok [y/N]: y
    Downloading Packages:
    httpd-2.2.3-43.el5.centos.3.i386.rpm                         | 1.2 MB     00:22
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : httpd                                                        1/1
    
    Installed:
      httpd.i386 0:2.2.3-43.el5.centos.3
    
    Complete!
    [root@server /]# /etc/rc.d/init.d/httpd start
    Starting httpd:                                            [  OK  ]
    [root@server /]# chkconfig httpd on
    
    

How to Configure the Linux Bind DNS Server

The BIND DNS Server, named, is used on the vast majority of name serving machines on the intranet or Internet. On this tutorial i will setup the intranet dns configuration that can help you to understand the basic of linux bind dns configuration.

Prerequisite : How to install Bind DNS server on CentOS and RHEL

[root@server ~]# cd /var/named/chroot/etc
[root@server etc]# vi named.conf
options {
        directory "/etc";
        pid-file "/var/run/named/named.pid";
	forwarders {
		202.188.0.133;
		202.188.1.5;
		};
        };

zone "myintranet.local" {
        type master;
        file "/var/named/myintranet.local.hosts";
        };
zone "2.168.192.in-addr.arpa" {
        type master;
        notify no;
        file "/var/named/db.192";
};
[root@server ~]# cd /var/named/chroot/var/named
[root@server named]# vi myintranet.local.hosts
$ttl 38400
myintranet.local.	IN	SOA	ns.myintranet.local. root.myintranet.local. (
			1298557357
			10800
			3600
			604800
			38400 )
myintranet.local.       IN      NS      ns.myintranet.local.

ns.myintranet.local.	IN	A	192.168.2.5
www.myintranet.local.	IN	A	192.168.2.5
[root@server ~]# cd /var/named/chroot/var/named
[root@server named]# vi db.192
$ttl 38400
2.168.192.in-addr.arpa.	IN	SOA	ns.myintranet.local. root.myintranet.local. (
			1298557341
			10800
			3600
			604800
			38400 )
@     IN      NS      ns.myintranet.local.
5.2.168.192.in-addr.arpa.	IN	PTR	ns.myintranet.local.
[root@server /]# /etc/rc.d/init.d/named start
Starting named:                                            [  OK  ]
[root@server /]# chkconfig named on

Run nslookup to test the DNS server working or not, please make sure that you have configured the DNS to 192.168.2.5.
Example TCP/IP configuration and successful nslookup result

IP Address. . . . . . . . . . . . : 192.168.2.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1
DNS Servers . . . . . . . . . . . : 192.168.2.5

C:\>nslookup
Default Server:  ns.myintranet.local
Address:  192.168.2.5

> myintranet.local
Server:  ns.myintranet.local
Address:  192.168.2.5

Name:    myintranet.local

> www.myintranet.local
Server:  ns.myintranet.local
Address:  192.168.2.5

Name:    www.myintranet.local
Address:  192.168.2.5

> ns.myintranet.local
Server:  ns.myintranet.local
Address:  192.168.2.5

Name:    ns.myintranet.local
Address:  192.168.2.5

> exit

How to Install the Telnet Client in Windows Vista and Windows 7

Microsoft Windows Vista, Windows Server 2008 and Windows 7 come with built in telnet client and server. But, It was disabled by default. To telnet the remote computer or network equipment or remote server, telnet client is required. This simple steps will guide you how to install or enable the telnet client.

Go Control Panel –> Programs and Features

Click Turn Windows features on or off, windows features will prompt.

Check the check box for “Telnet client”. Click ok to finish.

How to install Bind DNS server on CentOS and RHEL

This steps show you on how to install Bind DNS for CentOS or Redhat Enterprise (RHEL) using yum command :

    [root@server ~]# yum install bind-chroot
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: ftp.oss.eznetsols.org
     * base: ftp.oss.eznetsols.org
     * contrib: ftp.oss.eznetsols.org
     * extras: ftp.oss.eznetsols.org
     * updates: ftp.oss.eznetsols.org
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package bind-chroot.x86_64 30:9.3.6-4.P1.el5_5.3 set to be updated
    --> Processing Dependency: bind = 30:9.3.6-4.P1.el5_5.3 for package: bind-chroot
    --> Running transaction check
    ---> Package bind.x86_64 30:9.3.6-4.P1.el5_5.3 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package           Arch         Version                     Repository     Size
    ================================================================================
    Installing:
     bind-chroot       x86_64       30:9.3.6-4.P1.el5_5.3       updates        44 k
    Installing for dependencies:
     bind              x86_64       30:9.3.6-4.P1.el5_5.3       updates       986 k
    
    Transaction Summary
    ================================================================================
    Install       2 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 1.0 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/2): bind-chroot-9.3.6-4.P1.el5_5.3.x86_64.rpm         |  44 kB     00:00
    (2/2): bind-9.3.6-4.P1.el5_5.3.x86_64.rpm                | 986 kB     00:09
    --------------------------------------------------------------------------------
    Total                                            85 kB/s | 1.0 MB     00:12
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : bind                                                     1/2
      Installing     : bind-chroot                                              2/2
    
    Installed:
      bind-chroot.x86_64 30:9.3.6-4.P1.el5_5.3
    
    Dependency Installed:
      bind.x86_64 30:9.3.6-4.P1.el5_5.3
    
    Complete!
    

How to Install MySQL Database in Linux Using Yum

I will show you how to install MySQL database server in Linux CentOS using yum command. It very straight forward and easy as long as your server connected directly to internet

    [root@myserver tmp]# yum install mysql-server
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: ftp.oss.eznetsols.org
     * base: ftp.oss.eznetsols.org
     * epel: bali.idrepo.or.id
     * extras: ftp.oss.eznetsols.org
     * updates: ftp.oss.eznetsols.org
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package mysql-server.x86_64 0:5.0.77-4.el5_5.4 set to be updated
    --> Processing Dependency: mysql = 5.0.77-4.el5_5.4 for package: mysql-server
    --> Processing Dependency: perl-DBD-MySQL for package: mysql-server
    --> Running transaction check
    ---> Package mysql.x86_64 0:5.0.77-4.el5_5.4 set to be updated
    ---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package              Arch         Version                  Repository     Size
    ================================================================================
    Installing:
     mysql-server         x86_64       5.0.77-4.el5_5.4         updates       9.8 M
    Installing for dependencies:
     perl-DBD-MySQL       x86_64       3.0007-2.el5             base          148 k
    Updating for dependencies:
     mysql                x86_64       5.0.77-4.el5_5.4         updates       4.8 M
    
    Transaction Summary
    ================================================================================
    Install       2 Package(s)
    Upgrade       1 Package(s)
    
    Total download size: 15 M
    Is this ok [y/N]: y
    Downloading Packages:
    
    (1/3): perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm            | 148 kB     00:17
    (2/3): mysql-5.0.77-4.el5_5.4.x86_64.rpm                 | 4.8 MB     06:40
    (3/3): mysql-server-5.0.77-4.el5_5.4.x86_64.rpm          | 9.8 MB     15:12
    --------------------------------------------------------------------------------
    Total                                            11 kB/s |  15 MB     22:20
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating       : mysql                                                    1/4
      Installing     : perl-DBD-MySQL                                           2/4
      Installing     : mysql-server                                             3/4
      Cleanup        : mysql                                                    4/4
    
    Installed:
      mysql-server.x86_64 0:5.0.77-4.el5_5.4
    
    Dependency Installed:
      perl-DBD-MySQL.x86_64 0:3.0007-2.el5
    
    Dependency Updated:
      mysql.x86_64 0:5.0.77-4.el5_5.4
    
    Complete!
    

How to Prepare Other Yum Repositories For RHEL/CentOS 5

There are three updated yum repositories for RHEL/ CentOS. Remi and Webtatic repository are my favorites. Follow below steps to install some other repositories into yum.repos.d.

Install epel Repository

64 Bit OS

    [root@myserver tmp]# wget http://download.fedora.redhat.com/pub/epel/5/x86_64/
    epel-release-5-4.noarch.rpm
    

32 Bit OS

    [root@myserver tmp]# wget http://download.fedora.redhat.com/pub/epel/5/i386/
    epel-release-5-4.noarch.rpm
    
    [root@myserver tmp]# rpm --import http://download.fedora.redhat.com/pub/epel/
    RPM-GPG-KEY-EPEL
    [root@myserver tmp]# rpm -K epel-release-5-4.noarch.rpm
    epel-release-5-4.noarch.rpm: (sha1) dsa sha1 md5 gpg OK
    [root@myserver tmp]# rpm -ivh epel-release-5-4.noarch.rpm
    Preparing...            ########################################### [100%]
    1:epel-release          ########################################### [100%]
    

Install Remi Repository

    [root@myserver tmp]# wget http://rpms.famillecollet.com/enterprise/
    remi-release-5.rpm
    [root@myserver tmp]# rpm -Uvh remi-release-5.rpm
    warning: remi-release-5.rpm: Header V4 DSA signature: NOKEY, key ID 00f97f56
    Preparing...            ########################################### [100%]
    1:remi-release          ########################################### [100%]
    

Install Webtatic Repository

64 Bit OS

    [root@myserver tmp]# wget http://repo.webtatic.com/yum/centos/5/x86_64/
    webtatic-release-5-2.noarch.rpm
    

32 Bit OS

    [root@myserver tmp]# wget http://repo.webtatic.com/yum/centos/5/i386/
    webtatic-release-5-2.noarch.rpm
    
    [root@myserver tmp]# rpm --import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
    [root@myserver tmp]# rpm -K webtatic-release-5-2.noarch.rpm
    webtatic-release-5-2.noarch.rpm: (sha1) dsa sha1 md5 gpg OK
    [root@myserver tmp]# rpm -Uvh webtatic-release-5-2.noarch.rpm
    Preparing...            ########################################### [100%]
    1:webtatic-release      ########################################### [100%]
    

How To use these repositories
yum –enablerepo=epel install [rpm package]
yum –enablerepo=remi install [rpm package]
yum –enablerepo=webtatic install [rpm package]

How to Install Webmin-1.530 in Centos 5.5 using RPM Version

Webmin is a free and open source web-based control panel for managing a dedicated or virtual private linux, solaris, and Microsoft windows server. Webmin is useful for server administrators with intermediate as well as advanced technical knowledge. It can help to reduce the risk or typo in command that ca bring disaster to you. In this post, i will guide you on how to install Webmin-1.530 in Centos 5.5 using rpm. You should install the CentOS first before you install the webmin.

Please follow simple steps :

1. Login to your CentOS server with root privileges.
2. Install the dependencies using yum command.

    [root@server ~]# yum -y install perl-Net-SSLeay
    

3. Download the Webmin 1.530 using wget as below :

    [root@server tmp]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.530-1.noarch.rpm
    

4. Fetch and install GPG key with which the packages are signed.

    [root@server tmp]# rpm --import http://www.webmin.com/jcameron-key.asc
    

5. Install the rpm as below. The rest of the install will be done automatically to the directory /usr/libexec/webmin, the administration username set to root and the password to your current root password.

    [root@server tmp]# rpm -U webmin-1.530-1.noarch.rpm
    Operating system is CentOS Linux
    Webmin install complete. You can now login to https://server.intranet.local:10000/
    as root with your root password.
    

6. Finish and now you can manage your centOS using webmin

7. This additional steps is optional. Click update module at the bottom if you are notified. This can help to fix any issue that related to webmin.

    Updating Webmin modules ..
    
    Updating module status to version 1.531.
              Fixes problem : Fix error Bad arg length for Socket::pack_sockaddr_in in Remote Ping monitor
              Downloading status-1.530-1.wbm.gz (319 bytes) ..
              Downloading http://download.webmin.com/updates/status-1.530-1.wbm.gz (139.18 kB) ..
                   Received 1024 bytes (0 %)
                   Received 14 kB (10 %)
                   Received 28 kB (20 %)
                   Received 42 kB (30 %)
                   Received 56 kB (40 %)
                   Received 70 kB (50 %)
                   Received 84 kB (60 %)
                   Received 98 kB (70 %)
                   Received 112 kB (80 %)
                   Received 126 kB (90 %)
                   Received 139.18 kB (100 %)
              .. download complete.
              Installed module System and Server Status (908 Kb)