How to Install FTP Client to connect FTP Server on RHEL 6

Install FTP ClientFile Transfer Protocol ( FTP ) is a file transfer protocol used in the network and computing systems. FTP service is very important to ensure the transfer of files can be done. For some servers, though not provide FTP service, FTP client is necessary to be installed so that the client can send files to an FTP server if required. Therefore, I will explain how to install ftp client on Red Hat Enterprise Linux 6 (RHEL 6) or CentOS 6.

Question :
How to install FTP client to connect ftp server ?

When no FTP client installed on the host, you will get this error :

[root@rhel6 ~]# ftp localhost
-bash: ftp: command not found

Answer :
To install ftp client on RHEL 6, you need to run the following command :

Steps to Install FTP Client :

1. Install via yum command :

[root@rhel6 ~]# yum install ftp

2. How to connect to ftp server ?

[root@rhel6 ~]# ftp ftp.ehowstuff.com

Example :

[root@rhel6  ~]# ftp ftp.ehowstuff.com
Connected to ftp.ehowstuff.com (173.171.212.47).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 3 of 50 allowed.
220-Local time is now 09:29. Server port: 21.
220 You will be disconnected after 15 minutes of inactivity.
Name (ftp.ehowstuff.com:root): user1
331 User user1 OK. Password required
Password:
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

How to Add the RPMforge Repository on CentOS 6/RHEL 6 Linux Server

In this post i will show on how to add the RPMforge repository into Linux Red Hat Enterprise Linux 6 (RHEL 6) and also applicable on CentOS 6. RPMforge repository is a collaboration of Dag, Dries, and other packagers. This steps has been tested on RHEL 6 and should be working on CentOS 6. Assumed only one repository exist in /etc/yum.repos.d which is local yum repository using DVD Media.

RHEL 6 and CentOS 6 x86 32bit
RHEL 6 and CentOS 6 x86 64bit

1. Download the rpmforge-release package

[root@rhel6 ~]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
--2012-03-12 03:37:06--  http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving pkgs.repoforge.org... 78.46.17.228
Connecting to pkgs.repoforge.org|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://rpmforge.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [following]
--2012-03-12 03:37:07--  http://rpmforge.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving rpmforge.sw.be... 78.46.17.228
Connecting to rpmforge.sw.be|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://tree.repoforge.org/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [following]
--2012-03-12 03:37:09--  http://tree.repoforge.org/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving tree.repoforge.org... 78.46.17.228
Connecting to tree.repoforge.org|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [following]
--2012-03-12 03:37:10--  http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12732 (12K) [application/x-redhat-package-manager]
Saving to: ârpmforge-release-0.5.2-2.el6.rf.i686.rpmâ

100%[==========================================================>] 12,732      16.7K/s   in 0.7s

2012-03-12 03:37:12 (16.7 KB/s) - ârpmforge-release-0.5.2-2.el6.rf.i686.rpmâ

2. Download DAG’s GPG key :

[root@rhel6 ~]# wget http://apt.sw.be/RPM-GPG-KEY.dag.txt
--2012-03-12 03:41:16--  http://apt.sw.be/RPM-GPG-KEY.dag.txt
Resolving apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1672 (1.6K) [text/plain]
Saving to: âRPM-GPG-KEY.dag.txtâ

100%[==========================================================>] 1,672       --.-K/s   in 0.007s

2012-03-12 03:41:18 (249 KB/s) - âRPM-GPG-KEY.dag.txtâ

3. Install DAG’s GPG key :

[root@rhel6 ~]# rpm --import RPM-GPG-KEY.dag.txt

4. Verify the rpmforge-release package you have downloaded :

[root@rhel6 ~]# rpm -K rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpmforge-release-0.5.2-2.el6.rf.i686.rpm: (sha1) dsa sha1 md5 gpg OK

5. If ok, proceed to install the rpmforge-release package using this command :

[root@rhel6 ~]# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Preparing...                ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]

6. Proceed to configure RPMforge repository. Open the RPMforge configuration file and insert “priority=3” after “enabled = 1” in the [rpmforge] section as below :

[root@rhel6 ~]# vi /etc/yum.repos.d/rpmforge.repo
### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
priority=3
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

7. Check the updated repository list in /etc/yum.repos.d using the following command :

[root@rhel6 ~]# yum repolist
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
repo id                                 repo name                                             status
DVD-RHEL6-Repository                    DVD-RHEL6 repository                                  2,646
rpmforge                                RHEL 6Server - RPMforge.net - dag                     4,289
repolist: 6,935

8. You can start using RPMforge Repository on your RHEL 6 or CentOS 6 linux server.

Start install, remove and update using RPMforge :

[root@rhel6 ~]# yum install package-name -y
[root@rhel6 ~]# yum remove package-name -y
[root@rhel6 ~]# yum update package-name -y

Reference :
RPMforge CentOS Wiki

How to Check Apache Error Log and Access Log file

The purpose of logging in a server is to diagnose some issues. The common way to start the troubleshooting is to look at logs. For apache httpd server, all the log is normally stored at “/var/log/httpd” as below :

    [root@centos62 ~]# ls /var/log/httpd/
    access_log  error_log
    

How to Continuously Check Apache Error Log file :

    [root@centos62 ~]# tail -f /var/log/httpd/error_log
    

Example :

    [root@centos62 ~]# tail -f /var/log/httpd/error_log
    [Thu Feb 16 18:23:08 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Thu Feb 16 18:23:08 2012] [notice] Digest: generating secret for digest authentication ...
    [Thu Feb 16 18:23:08 2012] [notice] Digest: done
    [Thu Feb 16 18:23:09 2012] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
    [Thu Feb 16 19:56:33 2012] [error] [client 192.168.1.52] File does not exist: /var/www/html/favicon.ico
    [Thu Feb 16 23:47:07 2012] [notice] caught SIGTERM, shutting down
    [Sat Feb 18 20:39:26 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sat Feb 18 20:39:26 2012] [notice] Digest: generating secret for digest authentication ...
    [Sat Feb 18 20:39:26 2012] [notice] Digest: done
    [Sat Feb 18 20:39:27 2012] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
    

How to Continuously Check Apache Access Log file :

    [root@centos62 ~]# tail -f /var/log/httpd/access_log
    

Example :

    [root@centos62 ~]# tail -f /var/log/httpd/access_log
    192.168.1.52 - - [16/Feb/2012:23:03:50 +0800] "GET /adminer/externals/jush/jush.css HTTP/1.1" 304 - "http://192.168.1.44/adminer/adminer/?server=localhost&username=root" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [16/Feb/2012:23:03:52 +0800] "GET /adminer/adminer/static/loader.gif HTTP/1.1" 200 673 "http://192.168.1.44/adminer/adminer/?server=localhost&username=root" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [16/Feb/2012:23:03:52 +0800] "GET /adminer/adminer/?server=localhost&username=root&database= HTTP/1.1" 200 4739 "http://192.168.1.44/adminer/adminer/?server=localhost&username=root" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [16/Feb/2012:23:03:52 +0800] "GET /adminer/adminer/static/plus.gif HTTP/1.1" 200 72 "http://192.168.1.44/adminer/adminer/?server=localhost&username=root&database=" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [16/Feb/2012:23:03:56 +0800] "GET /adminer/adminer/?server=localhost&username=root HTTP/1.1" 200 2977 "http://192.168.1.44/adminer/adminer/?server=localhost&username=root" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [16/Feb/2012:23:03:56 +0800] "GET /adminer/adminer/?server=localhost&username=root&script=connect HTTP/1.1" 200 109 "http://192.168.1.44/adminer/adminer/?server=localhost&username=root" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [16/Feb/2012:23:04:16 +0800] "GET /adminer/adminer/?server=localhost&username=root&status= HTTP/1.1" 200 19629 "http://192.168.1.44/adminer/adminer/?server=localhost&username=root" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [18/Feb/2012:20:39:32 +0800] "GET / HTTP/1.1" 200 1394 "-" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [18/Feb/2012:20:39:32 +0800] "GET /icons/compressed.gif HTTP/1.1" 200 1038 "http://192.168.1.44/" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    192.168.1.52 - - [18/Feb/2012:20:44:17 +0800] "GET / HTTP/1.1" 200 1394 "-" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
    

How to Extract ZIP files on Linux

ZIP archives are most commonly used in Windows/MS-DOS based environments. In Linux, you can use the “unzip” command to extract,list or test ZIP files. Simply run the following command to unzip the files :

[root@centos62 ~]# unzip adminer-3.3.3.zip
-bash: unzip: command not found

If zip command is not installed, proceed to install using this command :

[root@centos62 ~]# yum install unzip -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.maulvi.net
 * epel: mirror01.idc.hinet.net
 * extras: centos.maulvi.net
 * rpmforge: fr2.rpmfind.net
 * updates: centos.maulvi.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package unzip.i686 0:6.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package           Arch             Version                  Repository                        Size
====================================================================================================
Installing:
 unzip             i686             6.0-1.el6                CentOS6.2-Repository             143 k

Transaction Summary
====================================================================================================
Install       1 Package(s)

Total download size: 143 k
Installed size: 309 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : unzip-6.0-1.el6.i686                                                             1/1

Installed:
  unzip.i686 0:6.0-1.el6

Complete!
[root@centos62 ~]# unzip adminer-3.3.3.zip
Archive:  adminer-3.3.3.zip
   creating: adminer-3.3.3/
   creating: adminer-3.3.3/adminer/
  inflating: adminer-3.3.3/adminer/call.inc.php
  inflating: adminer-3.3.3/adminer/create.inc.php
  inflating: adminer-3.3.3/adminer/database.inc.php
  inflating: adminer-3.3.3/adminer/db.inc.php
  inflating: adminer-3.3.3/adminer/download.inc.php
   creating: adminer-3.3.3/adminer/drivers/
  inflating: adminer-3.3.3/adminer/drivers/mssql.inc.php
  inflating: adminer-3.3.3/adminer/drivers/mysql.inc.php
  inflating: adminer-3.3.3/adminer/drivers/oracle.inc.php
  inflating: adminer-3.3.3/adminer/drivers/pgsql.inc.php
  inflating: adminer-3.3.3/adminer/drivers/sqlite.inc.php
  inflating: adminer-3.3.3/adminer/dump.inc.php
  inflating: adminer-3.3.3/adminer/edit.inc.php
  inflating: adminer-3.3.3/adminer/event.inc.php
  inflating: adminer-3.3.3/adminer/file.inc.php
  inflating: adminer-3.3.3/adminer/foreign.inc.php
   creating: adminer-3.3.3/adminer/include/
  inflating: adminer-3.3.3/adminer/include/adminer.inc.php
  inflating: adminer-3.3.3/adminer/include/auth.inc.php
  inflating: adminer-3.3.3/adminer/include/bootstrap.inc.php
  inflating: adminer-3.3.3/adminer/include/connect.inc.php
  inflating: adminer-3.3.3/adminer/include/coverage.inc.php
  inflating: adminer-3.3.3/adminer/include/design.inc.php
  inflating: adminer-3.3.3/adminer/include/editing.inc.php
  inflating: adminer-3.3.3/adminer/include/functions.inc.php
  inflating: adminer-3.3.3/adminer/include/lang.inc.php
  inflating: adminer-3.3.3/adminer/include/pdo.inc.php
  inflating: adminer-3.3.3/adminer/include/version.inc.php
  inflating: adminer-3.3.3/adminer/include/xxtea.inc.php
  inflating: adminer-3.3.3/adminer/index.php
  inflating: adminer-3.3.3/adminer/indexes.inc.php
   creating: adminer-3.3.3/adminer/lang/
  inflating: adminer-3.3.3/adminer/lang/ar.inc.php
  inflating: adminer-3.3.3/adminer/lang/ca.inc.php
  inflating: adminer-3.3.3/adminer/lang/cs.inc.php
  inflating: adminer-3.3.3/adminer/lang/de.inc.php
  inflating: adminer-3.3.3/adminer/lang/en.inc.php
  inflating: adminer-3.3.3/adminer/lang/es.inc.php
  inflating: adminer-3.3.3/adminer/lang/et.inc.php
  inflating: adminer-3.3.3/adminer/lang/fr.inc.php
  inflating: adminer-3.3.3/adminer/lang/hu.inc.php
  inflating: adminer-3.3.3/adminer/lang/it.inc.php
  inflating: adminer-3.3.3/adminer/lang/ja.inc.php
  inflating: adminer-3.3.3/adminer/lang/lt.inc.php
  inflating: adminer-3.3.3/adminer/lang/nl.inc.php
  inflating: adminer-3.3.3/adminer/lang/pl.inc.php
  inflating: adminer-3.3.3/adminer/lang/pt.inc.php
  inflating: adminer-3.3.3/adminer/lang/ro.inc.php
  inflating: adminer-3.3.3/adminer/lang/ru.inc.php
  inflating: adminer-3.3.3/adminer/lang/sk.inc.php
  inflating: adminer-3.3.3/adminer/lang/sl.inc.php
  inflating: adminer-3.3.3/adminer/lang/ta.inc.php
  inflating: adminer-3.3.3/adminer/lang/tr.inc.php
  inflating: adminer-3.3.3/adminer/lang/zh-tw.inc.php
  inflating: adminer-3.3.3/adminer/lang/zh.inc.php
  inflating: adminer-3.3.3/adminer/plugin.php
  inflating: adminer-3.3.3/adminer/privileges.inc.php
  inflating: adminer-3.3.3/adminer/procedure.inc.php
  inflating: adminer-3.3.3/adminer/processlist.inc.php
  inflating: adminer-3.3.3/adminer/schema.inc.php
  inflating: adminer-3.3.3/adminer/scheme.inc.php
  inflating: adminer-3.3.3/adminer/script.inc.php
  inflating: adminer-3.3.3/adminer/select.inc.php
  inflating: adminer-3.3.3/adminer/sequence.inc.php
  inflating: adminer-3.3.3/adminer/sql.inc.php
   creating: adminer-3.3.3/adminer/static/
  inflating: adminer-3.3.3/adminer/static/arrow.gif
  inflating: adminer-3.3.3/adminer/static/cross.gif
  inflating: adminer-3.3.3/adminer/static/default.css
  inflating: adminer-3.3.3/adminer/static/down.gif
  inflating: adminer-3.3.3/adminer/static/editing.js
  inflating: adminer-3.3.3/adminer/static/favicon.ico
  inflating: adminer-3.3.3/adminer/static/functions.js
  inflating: adminer-3.3.3/adminer/static/loader.gif
  inflating: adminer-3.3.3/adminer/static/plus.gif
  inflating: adminer-3.3.3/adminer/static/up.gif
  inflating: adminer-3.3.3/adminer/table.inc.php
  inflating: adminer-3.3.3/adminer/trigger.inc.php
  inflating: adminer-3.3.3/adminer/type.inc.php
  inflating: adminer-3.3.3/adminer/user.inc.php
  inflating: adminer-3.3.3/adminer/variables.inc.php
  inflating: adminer-3.3.3/adminer/view.inc.php
  inflating: adminer-3.3.3/changes.txt
  inflating: adminer-3.3.3/compile.php
  inflating: adminer-3.3.3/coverage.php
   creating: adminer-3.3.3/designs/
   creating: adminer-3.3.3/designs/brade/
  inflating: adminer-3.3.3/designs/brade/adminer.css
   creating: adminer-3.3.3/designs/bueltge/
  inflating: adminer-3.3.3/designs/bueltge/adminer.css
   creating: adminer-3.3.3/designs/cvicebni-ubor/
  inflating: adminer-3.3.3/designs/cvicebni-ubor/adminer.css
   creating: adminer-3.3.3/designs/haeckel/
  inflating: adminer-3.3.3/designs/haeckel/adminer.css
   creating: adminer-3.3.3/designs/hever/
  inflating: adminer-3.3.3/designs/hever/adminer.css
   creating: adminer-3.3.3/designs/jukin/
  inflating: adminer-3.3.3/designs/jukin/adminer.css
   creating: adminer-3.3.3/designs/kahi/
  inflating: adminer-3.3.3/designs/kahi/adminer.css
   creating: adminer-3.3.3/designs/konya/
  inflating: adminer-3.3.3/designs/konya/adminer.css
   creating: adminer-3.3.3/designs/paranoiq/
  inflating: adminer-3.3.3/designs/paranoiq/adminer.css
   creating: adminer-3.3.3/designs/pilot/
  inflating: adminer-3.3.3/designs/pilot/adminer.css
  inflating: adminer-3.3.3/designs/readme.txt
   creating: adminer-3.3.3/editor/
  inflating: adminer-3.3.3/editor/db.inc.php
  inflating: adminer-3.3.3/editor/example.php
   creating: adminer-3.3.3/editor/include/
  inflating: adminer-3.3.3/editor/include/adminer.inc.php
  inflating: adminer-3.3.3/editor/include/connect.inc.php
  inflating: adminer-3.3.3/editor/include/editing.inc.php
  inflating: adminer-3.3.3/editor/index.php
  inflating: adminer-3.3.3/editor/script.inc.php
   creating: adminer-3.3.3/editor/static/
  inflating: adminer-3.3.3/editor/static/editing.js
   creating: adminer-3.3.3/externals/
   creating: adminer-3.3.3/externals/jsmin-php/
  inflating: adminer-3.3.3/externals/jsmin-php/jsmin.php
   creating: adminer-3.3.3/externals/jush/
  inflating: adminer-3.3.3/externals/jush/jush.css
  inflating: adminer-3.3.3/externals/jush/jush.js
  inflating: adminer-3.3.3/lang.php
   creating: adminer-3.3.3/plugins/
  inflating: adminer-3.3.3/plugins/dump-xml.php
  inflating: adminer-3.3.3/plugins/dump-zip.php
  inflating: adminer-3.3.3/plugins/edit-calendar.php
  inflating: adminer-3.3.3/plugins/edit-foreign.php
  inflating: adminer-3.3.3/plugins/edit-textarea.php
  inflating: adminer-3.3.3/plugins/email-table.php
  inflating: adminer-3.3.3/plugins/enum-option.php
  inflating: adminer-3.3.3/plugins/file-upload.php
  inflating: adminer-3.3.3/plugins/foreign-system.php
  inflating: adminer-3.3.3/plugins/frames.php
  inflating: adminer-3.3.3/plugins/login-servers.php
  inflating: adminer-3.3.3/plugins/login-table.php
  inflating: adminer-3.3.3/plugins/password-sha1.php
  inflating: adminer-3.3.3/plugins/plugin.php
  inflating: adminer-3.3.3/plugins/readme.txt
  inflating: adminer-3.3.3/plugins/slugify.php
  inflating: adminer-3.3.3/plugins/sql-log.php
  inflating: adminer-3.3.3/plugins/tables-filter.php
  inflating: adminer-3.3.3/plugins/tinymce.php
  inflating: adminer-3.3.3/plugins/translation.php
  inflating: adminer-3.3.3/plugins/version-noverify.php
  inflating: adminer-3.3.3/plugins/wymeditor.php
  inflating: adminer-3.3.3/readme.txt
   creating: adminer-3.3.3/tests/
  inflating: adminer-3.3.3/tests/0-login.html
  inflating: adminer-3.3.3/tests/1-create-database.html
  inflating: adminer-3.3.3/tests/10-clone.html
  inflating: adminer-3.3.3/tests/11-reference.html
  inflating: adminer-3.3.3/tests/12-update.html
  inflating: adminer-3.3.3/tests/13-delete.html
  inflating: adminer-3.3.3/tests/14-truncate.html
  inflating: adminer-3.3.3/tests/15-privileges.html
  inflating: adminer-3.3.3/tests/16-processlist.html
  inflating: adminer-3.3.3/tests/17-export.html
  inflating: adminer-3.3.3/tests/18-events.html
  inflating: adminer-3.3.3/tests/19-procedures.html
  inflating: adminer-3.3.3/tests/2-create-table.html
  inflating: adminer-3.3.3/tests/20-partitioning.html
  inflating: adminer-3.3.3/tests/21-variables.html
  inflating: adminer-3.3.3/tests/22-history.html
  inflating: adminer-3.3.3/tests/23-editor.html
  inflating: adminer-3.3.3/tests/24-explain.html
  inflating: adminer-3.3.3/tests/3-create-index.html
  inflating: adminer-3.3.3/tests/4-create-table-2.html
  inflating: adminer-3.3.3/tests/5-foreign-key.html
  inflating: adminer-3.3.3/tests/6-alter-table.html
  inflating: adminer-3.3.3/tests/7-create-trigger.html
  inflating: adminer-3.3.3/tests/8-create-view.html
  inflating: adminer-3.3.3/tests/9-insert.html
  inflating: adminer-3.3.3/tests/iexplore.bat
  inflating: adminer-3.3.3/tests/logout.html
  inflating: adminer-3.3.3/tests/selenium.html
  inflating: adminer-3.3.3/todo.txt

How to Install Apache Httpd Server on RHEL 6

In this post, i will show on how to install Apache Httpd server on Redhat Enterprise Linux 6 (RHEL 6). The Apache HTTP Server is an open-source HTTP server for modern operating systems such as Unix, Linux and windows platform. This post assumed that you have set up local yum repository using your DVDROM. If you haven’t set up the local yum repository, please proceed to this steps :
How to Setup Local Yum Repository from CD-ROM/DVD-ROM image on RHEL 6

Simply run this command to install Apache Httpd server :

    [root@rhel6 ~]# yum install httpd -y
    Loaded plugins: rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package httpd.i686 0:2.2.15-5.el6 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ====================================================================================================
     Package           Arch             Version                  Repository                        Size
    ====================================================================================================
    Installing:
     httpd             i686             2.2.15-5.el6             DVD-RHEL6-Repository             813 k
    
    Transaction Summary
    ====================================================================================================
    Install       1 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 813 k
    Installed size: 2.8 M
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : httpd-2.2.15-5.el6.i686                                                      1/1
    
    Installed:
      httpd.i686 0:2.2.15-5.el6
    
    Complete!
    

Command to start Httpd service :

    [root@rhel6 ~]# service httpd start
    Starting httpd:                                            [  OK  ]
    

Command to stop Httpd service :

    [root@rhel6 ~]# service httpd stop
    Stopping httpd:                                            [  OK  ]
    

Command to restart Httpd service :

    [root@rhel6 ~]# service httpd restart
    Stopping httpd:                                            [  OK  ]
    Starting httpd:                                            [  OK  ]
    

Make Apache Httpd service auto start at boot :

    [root@rhel6 ~]# chkconfig httpd on