You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by bu...@apache.org on 2015/02/02 20:38:03 UTC
svn commit: r938699 - in /websites/staging/vcl/trunk/content: ./
docs/installphpMyAdminVCL.html
Author: buildbot
Date: Mon Feb 2 19:38:03 2015
New Revision: 938699
Log:
Staging update by buildbot for vcl
Modified:
websites/staging/vcl/trunk/content/ (props changed)
websites/staging/vcl/trunk/content/docs/installphpMyAdminVCL.html
Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb 2 19:38:03 2015
@@ -1 +1 @@
-1656547
+1656551
Modified: websites/staging/vcl/trunk/content/docs/installphpMyAdminVCL.html
==============================================================================
--- websites/staging/vcl/trunk/content/docs/installphpMyAdminVCL.html (original)
+++ websites/staging/vcl/trunk/content/docs/installphpMyAdminVCL.html Mon Feb 2 19:38:03 2015
@@ -81,7 +81,11 @@ the VCL web server.
<ol>
<li>
<p>Install via yum package manager ( CentOS and RedHat based distributions ). Tested on clean installs of OS versions 6 and 7</p>
-<p>a. yum -y install epel-release phpMyAdmin</p>
+<p>a. phpMyAdmin is located in the extras repository use, can use epel-release package to add this repo</p>
+<div class="codehilite"><pre><span class="n">yum</span> <span class="o">-</span><span class="n">y</span> <span class="n">install</span> <span class="n">epel</span><span class="o">-</span><span class="n">release</span><span class="p">;</span> <span class="n">yum</span> <span class="o">-</span><span class="n">y</span> <span class="n">install</span> <span class="n">phpMyAdmin</span>
+</pre></div>
+
+
<p>b. Move the phpMyAdmin directory to the web server directory:</p>
<div class="codehilite"><pre><span class="n">mv</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">share</span><span class="o">/</span><span class="n">phpMyAdmin</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">www</span><span class="o">/</span><span class="n">html</span><span class="o">/</span><span class="n">phpMyAdmin</span>
</pre></div>
@@ -102,13 +106,18 @@ the VCL web server.
The instructions must be followed in order to secure phpMyAdmin</p>
<p>At a minimum set the MySQL user and password in the config.inc.php file
Edit the /etc/phpMyAdmin/config.inc.php
-Set the follow variables to match the LockerWrtUser(typically vcluser) and wrtPass from /etc/vcl/vcld.conf</p>
+Set the follow variables to match the LockerWrtUser(typically vcluser)
+and wrtPass from /etc/vcl/vcld.conf</p>
<p>$cfg['Servers'][$i]['user'] = 'vcluser';<br />
$cfg['Servers'][$i]['password'] = '';
</pre></p>
</li>
<li>
<p>Restart httpd service and test</p>
+<div class="codehilite"><pre><span class="n">service</span> <span class="n">httpd</span> <span class="n">restart</span>
+</pre></div>
+
+
<p>If you receive 403-Forbidden errors after installing phpMyAdmin, the problem is likely caused by SELinux. Run the following command to correct the problem:
<pre class="docnote">
chcon -R -t httpd_sys_content_t /var/www/html/phpmyadmin