April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

RedHat Enterprise Linux 6.6 with CentOS Apache

RedHat Enterprise Linux 6.6 with CentOS Apache

[root@oracledbserver ~]# yum install httpd* -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.vodien.com
* extras: mirror.vodien.com
* updates: mirror.vastspace.net
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Package httpd-2.2.15-39.el6.centos.x86_64 already installed and latest version
Package httpd-tools-2.2.15-39.el6.centos.x86_64 already installed and latest version
Resolving Dependencies
–> Running transaction check
—> Package httpd-devel.x86_64 0:2.2.15-39.el6.centos will be installed
–> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.15-39.el6.centos.x86_64
–> Processing Dependency: apr-devel for package: httpd-devel-2.2.15-39.el6.centos.x86_64
—> Package httpd-manual.noarch 0:2.2.15-39.el6.centos will be installed
–> Running transaction check
—> Package apr-devel.x86_64 0:1.3.9-5.el6_2 will be installed
—> Package apr-util-devel.x86_64 0:1.3.9-3.el6_0.1 will be installed
–> Processing Dependency: openldap-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64
–> Processing Dependency: expat-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64
–> Running transaction check
—> Package expat-devel.x86_64 0:2.0.1-11.el6_2 will be installed
—> Package openldap-devel.x86_64 0:2.4.39-8.el6 will be installed
–> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel-2.4.39-8.el6.x86_64
–> Running transaction check
—> Package cyrus-sasl-devel.x86_64 0:2.1.23-15.el6_6.2 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Installing:
httpd-devel x86_64 2.2.15-39.el6.centos base 152 k
httpd-manual noarch 2.2.15-39.el6.centos base 785 k
Installing for dependencies:
apr-devel x86_64 1.3.9-5.el6_2 base 176 k
apr-util-devel x86_64 1.3.9-3.el6_0.1 base 69 k
cyrus-sasl-devel x86_64 2.1.23-15.el6_6.2 updates 303 k
expat-devel x86_64 2.0.1-11.el6_2 base 120 k
openldap-devel x86_64 2.4.39-8.el6 base 1.1 M

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

Total download size: 2.7 M
Installed size: 12 M
Downloading Packages:
(1/7): apr-devel-1.3.9-5.el6_2.x86_64.rpm | 176 kB 00:00
(2/7): apr-util-devel-1.3.9-3.el6_0.1.x86_64.rpm | 69 kB 00:00
(3/7): cyrus-sasl-devel-2.1.23-15.el6_6.2.x86_64.rpm | 303 kB 00:00
(4/7): expat-devel-2.0.1-11.el6_2.x86_64.rpm | 120 kB 00:00
(5/7): httpd-devel-2.2.15-39.el6.centos.x86_64.rpm | 152 kB 00:00
(6/7): httpd-manual-2.2.15-39.el6.centos.noarch.rpm | 785 kB 00:00
(7/7): openldap-devel-2.4.39-8.el6.x86_64.rpm | 1.1 MB 00:01
————————————————————————————————————————————————————————————————————
Total 424 kB/s | 2.7 MB 00:06
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : apr-devel-1.3.9-5.el6_2.x86_64 1/7
Installing : expat-devel-2.0.1-11.el6_2.x86_64 2/7
Installing : cyrus-sasl-devel-2.1.23-15.el6_6.2.x86_64 3/7
Installing : openldap-devel-2.4.39-8.el6.x86_64 4/7
Installing : apr-util-devel-1.3.9-3.el6_0.1.x86_64 5/7
Installing : httpd-devel-2.2.15-39.el6.centos.x86_64 6/7
Installing : httpd-manual-2.2.15-39.el6.centos.noarch 7/7
Verifying : apr-devel-1.3.9-5.el6_2.x86_64 1/7
Verifying : openldap-devel-2.4.39-8.el6.x86_64 2/7
Verifying : cyrus-sasl-devel-2.1.23-15.el6_6.2.x86_64 3/7
Verifying : apr-util-devel-1.3.9-3.el6_0.1.x86_64 4/7
Verifying : expat-devel-2.0.1-11.el6_2.x86_64 5/7
Verifying : httpd-manual-2.2.15-39.el6.centos.noarch 6/7
Verifying : httpd-devel-2.2.15-39.el6.centos.x86_64 7/7

Installed:
httpd-devel.x86_64 0:2.2.15-39.el6.centos httpd-manual.noarch 0:2.2.15-39.el6.centos

Dependency Installed:
apr-devel.x86_64 0:1.3.9-5.el6_2 apr-util-devel.x86_64 0:1.3.9-3.el6_0.1 cyrus-sasl-devel.x86_64 0:2.1.23-15.el6_6.2 expat-devel.x86_64 0:2.0.1-11.el6_2 openldap-devel.x86_64 0:2.4.39-8.el6

Complete!
[root@oracledbserver ~]#

Complete!
[root@oracledbserver ~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]

[root@oracledbserver ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.61 oracledbserver.rmohan.com oracledbserver

The following set your own publishing directory (if not the default directory, then /var/www/html/)

vi /etc/httpd/conf/httpd.conf

#ServerName www.example.com:80

#
# UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set “Off”, Apache will use the Hostname and Port supplied
# by the client. When set “On”, Apache will use the value of the
# ServerName directive.
#
UseCanonicalName Off

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
#DocumentRoot “/var/www/html”
DocumentRoot “/home/mohan”

vi /home/mohan/index.html

Welcome to test page of mohan

[root@oracledbserver mohan]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 293 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory
[FAILED]
Because permissions selinux is not enough, so we have to release security context to the default directory is set:

Modify the security context of the software installation:

[root@oracledbserver home]# yum install policycore* -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.vodien.com
* extras: mirror.vodien.com
* updates: mirror.vastspace.net
Package policycoreutils-2.0.83-19.47.el6_6.1.x86_64 already installed and latest version
Resolving Dependencies
–> Running transaction check
—> Package policycoreutils-gui.x86_64 0:2.0.83-19.47.el6_6.1 will be installed
–> Processing Dependency: setools-console for package: policycoreutils-gui-2.0.83-19.47.el6_6.1.x86_64
–> Processing Dependency: gtkhtml2 for package: policycoreutils-gui-2.0.83-19.47.el6_6.1.x86_64
–> Processing Dependency: gnome-python2-gtkhtml2 for package: policycoreutils-gui-2.0.83-19.47.el6_6.1.x86_64
—> Package policycoreutils-newrole.x86_64 0:2.0.83-19.47.el6_6.1 will be installed
—> Package policycoreutils-python.x86_64 0:2.0.83-19.47.el6_6.1 will be installed
–> Processing Dependency: libsemanage-python >= 2.0.43-4 for package: policycoreutils-python-2.0.83-19.47.el6_6.1.x86_64
–> Processing Dependency: audit-libs-python >= 1.4.2-1 for package: policycoreutils-python-2.0.83-19.47.el6_6.1.x86_64
–> Processing Dependency: setools-libs-python for package: policycoreutils-python-2.0.83-19.47.el6_6.1.x86_64
–> Processing Dependency: libcgroup for package: policycoreutils-python-2.0.83-19.47.el6_6.1.x86_64
—> Package policycoreutils-sandbox.x86_64 0:2.0.83-19.47.el6_6.1 will be installed
–> Processing Dependency: xorg-x11-server-Xephyr for package: policycoreutils-sandbox-2.0.83-19.47.el6_6.1.x86_64
–> Processing Dependency: matchbox-window-manager for package: policycoreutils-sandbox-2.0.83-19.47.el6_6.1.x86_64
–> Running transaction check
—> Package audit-libs-python.x86_64 0:2.3.7-5.el6 will be installed
—> Package gnome-python2-gtkhtml2.x86_64 0:2.25.3-20.el6 will be installed
—> Package gtkhtml2.x86_64 0:2.11.1-7.el6 will be installed
—> Package libcgroup.x86_64 0:0.40.rc1-15.el6_6 will be installed
—> Package libsemanage-python.x86_64 0:2.0.43-4.2.el6 will be installed
—> Package matchbox-window-manager.x86_64 0:1.2-6.20070628svn.1.el6 will be installed
–> Processing Dependency: libmb.so.1()(64bit) for package: matchbox-window-manager-1.2-6.20070628svn.1.el6.x86_64
—> Package setools-console.x86_64 0:3.3.7-4.el6 will be installed
–> Processing Dependency: setools-libs = 3.3.7-4.el6 for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libsefs.so.4(VERS_4.0)(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libseaudit.so.4(VERS_4.1)(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libqpol.so.1(VERS_1.5)(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libpoldiff.so.1(VERS_1.3)(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libpoldiff.so.1(VERS_1.2)(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libapol.so.4(VERS_4.1)(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libsefs.so.4()(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libseaudit.so.4()(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libqpol.so.1()(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libpoldiff.so.1()(64bit) for package: setools-console-3.3.7-4.el6.x86_64
–> Processing Dependency: libapol.so.4()(64bit) for package: setools-console-3.3.7-4.el6.x86_64
—> Package setools-libs-python.x86_64 0:3.3.7-4.el6 will be installed
—> Package xorg-x11-server-Xephyr.x86_64 0:1.15.0-26.el6.centos.0.1 will be installed
–> Processing Dependency: xorg-x11-server-common >= 1.15.0-26.el6.centos.0.1 for package: xorg-x11-server-Xephyr-1.15.0-26.el6.centos.0.1.x86_64
–> Processing Dependency: libxcb-keysyms.so.1()(64bit) for package: xorg-x11-server-Xephyr-1.15.0-26.el6.centos.0.1.x86_64
–> Processing Dependency: libxcb-image.so.0()(64bit) for package: xorg-x11-server-Xephyr-1.15.0-26.el6.centos.0.1.x86_64
–> Processing Dependency: libxcb-icccm.so.4()(64bit) for package: xorg-x11-server-Xephyr-1.15.0-26.el6.centos.0.1.x86_64
–> Running transaction check
—> Package libmatchbox.x86_64 0:1.9-6.1.el6 will be installed
—> Package setools-libs.x86_64 0:3.3.7-4.el6 will be installed
—> Package xcb-util-image.x86_64 0:0.3.9-4.el6 will be installed
—> Package xcb-util-keysyms.x86_64 0:0.3.9-5.el6 will be installed
—> Package xcb-util-wm.x86_64 0:0.3.9-5.el6 will be installed
—> Package xorg-x11-server-common.x86_64 0:1.15.0-26.el6.centos will be updated
—> Package xorg-x11-server-common.x86_64 0:1.15.0-26.el6.centos.0.1 will be an update
–> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Installing:
policycoreutils-gui x86_64 2.0.83-19.47.el6_6.1 updates 211 k
policycoreutils-newrole x86_64 2.0.83-19.47.el6_6.1 updates 114 k
policycoreutils-python x86_64 2.0.83-19.47.el6_6.1 updates 346 k
policycoreutils-sandbox x86_64 2.0.83-19.47.el6_6.1 updates 113 k
Installing for dependencies:
audit-libs-python x86_64 2.3.7-5.el6 base 62 k
gnome-python2-gtkhtml2 x86_64 2.25.3-20.el6 base 22 k
gtkhtml2 x86_64 2.11.1-7.el6 base 154 k
libcgroup x86_64 0.40.rc1-15.el6_6 updates 129 k
libmatchbox x86_64 1.9-6.1.el6 base 46 k
libsemanage-python x86_64 2.0.43-4.2.el6 base 81 k
matchbox-window-manager x86_64 1.2-6.20070628svn.1.el6 base 97 k
setools-console x86_64 3.3.7-4.el6 base 328 k
setools-libs x86_64 3.3.7-4.el6 base 400 k
setools-libs-python x86_64 3.3.7-4.el6 base 222 k
xcb-util-image x86_64 0.3.9-4.el6 base 12 k
xcb-util-keysyms x86_64 0.3.9-5.el6 base 8.9 k
xcb-util-wm x86_64 0.3.9-5.el6 base 21 k
xorg-x11-server-Xephyr x86_64 1.15.0-26.el6.centos.0.1 updates 884 k
Updating for dependencies:
xorg-x11-server-common x86_64 1.15.0-26.el6.centos.0.1 updates 50 k

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

Total download size: 3.2 M
Downloading Packages:

Total download size: 3.2 M
Downloading Packages:
(1/19): audit-libs-python-2.3.7-5.el6.x86_64.rpm | 62 kB 00:00
(2/19): gnome-python2-gtkhtml2-2.25.3-20.el6.x86_64.rpm | 22 kB 00:00
(3/19): gtkhtml2-2.11.1-7.el6.x86_64.rpm | 154 kB 00:00
http://mirror.vastspace.net/centos/6.6/updates/x86_64/Packages/libcgroup-0.40.rc 1-15.el6_6.x86_64.rpm: [Errno 12] Timeout on http://mirror.vastspace.net/centos/ 6.6/updates/x86_64/Packages/libcgroup-0.40.rc1-15.el6_6.x86_64.rpm: (28, ‘Operat ion too slow. Less than 1 bytes/sec transfered the last 30 seconds’)
Trying other mirror.
(4/19): libcgroup-0.40.rc1-15.el6_6.x86_64.rpm | 129 kB 00:00
(5/19): libmatchbox-1.9-6.1.el6.x86_64.rpm | 46 kB 00:00
(6/19): libsemanage-python-2.0.43-4.2.el6.x86_64.rpm | 81 kB 00:00
(7/19): matchbox-window-manager-1.2-6.20070628svn.1.el6. | 97 kB 00:00
(8/19): policycoreutils-gui-2.0.83-19.47.el6_6.1.x86_64. | 211 kB 00:00
(9/19): policycoreutils-newrole-2.0.83-19.47.el6_6.1.x86 | 114 kB 00:00
(10/19): policycoreutils-python-2.0.83-19.47.el6_6.1.x86 | 346 kB 00:00
(11/19): policycoreutils-sandbox-2.0.83-19.47.el6_6.1.x8 | 113 kB 00:00
(12/19): setools-console-3.3.7-4.el6.x86_64.rpm | 328 kB 00:00
(13/19): setools-libs-3.3.7-4.el6.x86_64.rpm | 400 kB 00:00
(14/19): setools-libs-python-3.3.7-4.el6.x86_64.rpm | 222 kB 00:00
(15/19): xcb-util-image-0.3.9-4.el6.x86_64.rpm | 12 kB 00:00
(16/19): xcb-util-keysyms-0.3.9-5.el6.x86_64.rpm | 8.9 kB 00:00
(17/19): xcb-util-wm-0.3.9-5.el6.x86_64.rpm | 21 kB 00:00
(18/19): xorg-x11-server-Xephyr-1.15.0-26.el6.centos.0.1 | 884 kB 00:00
(19/19): xorg-x11-server-common-1.15.0-26.el6.centos.0.1 | 50 kB 00:00
——————————————————————————–
Total 76 kB/s | 3.2 MB 00:43
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : setools-libs-3.3.7-4.el6.x86_64 1/20
Installing : gtkhtml2-2.11.1-7.el6.x86_64 2/20
Installing : gnome-python2-gtkhtml2-2.25.3-20.el6.x86_64 3/20
Installing : setools-libs-python-3.3.7-4.el6.x86_64 4/20
Installing : setools-console-3.3.7-4.el6.x86_64 5/20
Installing : libcgroup-0.40.rc1-15.el6_6.x86_64 6/20
Installing : libmatchbox-1.9-6.1.el6.x86_64 7/20
Installing : matchbox-window-manager-1.2-6.20070628svn.1.el6.x86_64 8/20
Installing : libsemanage-python-2.0.43-4.2.el6.x86_64 9/20
Installing : audit-libs-python-2.3.7-5.el6.x86_64 10/20
Installing : policycoreutils-python-2.0.83-19.47.el6_6.1.x86_64 11/20
Installing : xcb-util-image-0.3.9-4.el6.x86_64 12/20
Installing : xcb-util-wm-0.3.9-5.el6.x86_64 13/20
Updating : xorg-x11-server-common-1.15.0-26.el6.centos.0.1.x86_64 14/20
Installing : xcb-util-keysyms-0.3.9-5.el6.x86_64 15/20
Installing : xorg-x11-server-Xephyr-1.15.0-26.el6.centos.0.1.x86_64 16/20
Installing : policycoreutils-sandbox-2.0.83-19.47.el6_6.1.x86_64 17/20
Installing : policycoreutils-gui-2.0.83-19.47.el6_6.1.x86_64 18/20
Installing : policycoreutils-newrole-2.0.83-19.47.el6_6.1.x86_64 19/20
Cleanup : xorg-x11-server-common-1.15.0-26.el6.centos.x86_64 20/20
Verifying : xcb-util-keysyms-0.3.9-5.el6.x86_64 1/20
Verifying : policycoreutils-gui-2.0.83-19.47.el6_6.1.x86_64 2/20
Verifying : xorg-x11-server-common-1.15.0-26.el6.centos.0.1.x86_64 3/20
Verifying : policycoreutils-newrole-2.0.83-19.47.el6_6.1.x86_64 4/20
Verifying : setools-libs-python-3.3.7-4.el6.x86_64 5/20
Verifying : xcb-util-wm-0.3.9-5.el6.x86_64 6/20
Verifying : gtkhtml2-2.11.1-7.el6.x86_64 7/20
Verifying : xorg-x11-server-Xephyr-1.15.0-26.el6.centos.0.1.x86_64 8/20
Verifying : xcb-util-image-0.3.9-4.el6.x86_64 9/20
Verifying : setools-console-3.3.7-4.el6.x86_64 10/20
Verifying : setools-libs-3.3.7-4.el6.x86_64 11/20
Verifying : matchbox-window-manager-1.2-6.20070628svn.1.el6.x86_64 12/20
Verifying : gnome-python2-gtkhtml2-2.25.3-20.el6.x86_64 13/20
Verifying : policycoreutils-python-2.0.83-19.47.el6_6.1.x86_64 14/20
Verifying : audit-libs-python-2.3.7-5.el6.x86_64 15/20
Verifying : libsemanage-python-2.0.43-4.2.el6.x86_64 16/20
Verifying : libmatchbox-1.9-6.1.el6.x86_64 17/20
Verifying : policycoreutils-sandbox-2.0.83-19.47.el6_6.1.x86_64 18/20
Verifying : libcgroup-0.40.rc1-15.el6_6.x86_64 19/20
Verifying : xorg-x11-server-common-1.15.0-26.el6.centos.x86_64 20/20

Installed:
policycoreutils-gui.x86_64 0:2.0.83-19.47.el6_6.1
policycoreutils-newrole.x86_64 0:2.0.83-19.47.el6_6.1
policycoreutils-python.x86_64 0:2.0.83-19.47.el6_6.1
policycoreutils-sandbox.x86_64 0:2.0.83-19.47.el6_6.1

Dependency Installed:
audit-libs-python.x86_64 0:2.3.7-5.el6
gnome-python2-gtkhtml2.x86_64 0:2.25.3-20.el6
gtkhtml2.x86_64 0:2.11.1-7.el6
libcgroup.x86_64 0:0.40.rc1-15.el6_6
libmatchbox.x86_64 0:1.9-6.1.el6
libsemanage-python.x86_64 0:2.0.43-4.2.el6
matchbox-window-manager.x86_64 0:1.2-6.20070628svn.1.el6
setools-console.x86_64 0:3.3.7-4.el6
setools-libs.x86_64 0:3.3.7-4.el6
setools-libs-python.x86_64 0:3.3.7-4.el6
xcb-util-image.x86_64 0:0.3.9-4.el6
xcb-util-keysyms.x86_64 0:0.3.9-5.el6
xcb-util-wm.x86_64 0:0.3.9-5.el6
xorg-x11-server-Xephyr.x86_64 0:1.15.0-26.el6.centos.0.1

Dependency Updated:
xorg-x11-server-common.x86_64 0:1.15.0-26.el6.centos.0.1

Complete!

Security context modification /home/mohan of

semanage fcontext -a -t httpd_sys_content_t ‘/home(/.*)?’

[root@oracledbserver home]# semanage fcontext -a -t httpd_sys_content_t ‘/home(/.*)?’

restorecon -RvvF /home/

[root@oracledbserver home]# restorecon -RvvF /home/
restorecon reset /home/mohan context unconfined_u:object_r:user_home_dir_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohan/.gnome2 context unconfined_u:object_r:gnome_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohan/.mozilla context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohan/.mozilla/extensions context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohan/.mozilla/plugins context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohan/.bashrc context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohan/index.html context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohan/.bash_logout context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohan/.bash_profile context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle context unconfined_u:object_r:user_home_dir_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle/.gnome2 context unconfined_u:object_r:gnome_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle/.mozilla context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle/.mozilla/extensions context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle/.mozilla/plugins context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle/.bashrc context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle/.kshrc context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle/.bash_logout context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/oracle/.bash_profile context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm context unconfined_u:object_r:user_home_dir_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.gnome2 context unconfined_u:object_r:gnome_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.mozilla context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.mozilla/extensions context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.mozilla/plugins context unconfined_u:object_r:mozilla_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.bash_history context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.bashrc context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.kshrc context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.bash_logout context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mqm/.bash_profile context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohanweb context unconfined_u:object_r:home_root_t:s0->system_u:object_r:httpd_sys_content_t:s0
restorecon reset /home/mohanweb/index.html context unconfined_u:object_r:user_home_t:s0->system_u:object_r:httpd_sys_content_t:s0

http://192.168.1.61

Welcome to test page of mohan

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>