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:26:04 UTC
svn commit: r938692 - in /websites/staging/vcl/trunk/content: ./
docs/installphpMyAdminVCL.html
Author: buildbot
Date: Mon Feb 2 19:26:04 2015
New Revision: 938692
Log:
Staging update by buildbot for vcl
Added:
websites/staging/vcl/trunk/content/docs/installphpMyAdminVCL.html
Modified:
websites/staging/vcl/trunk/content/ (props changed)
Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb 2 19:26:04 2015
@@ -1 +1 @@
-1655841
+1656546
Added: websites/staging/vcl/trunk/content/docs/installphpMyAdminVCL.html
==============================================================================
--- websites/staging/vcl/trunk/content/docs/installphpMyAdminVCL.html (added)
+++ websites/staging/vcl/trunk/content/docs/installphpMyAdminVCL.html Mon Feb 2 19:26:04 2015
@@ -0,0 +1,159 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE- 2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+ <link href="/css/vcl.css" rel="stylesheet" type="text/css">
+ <link href="/css/code.css" rel="stylesheet" type="text/css">
+ <title>Apache VCL - phpMyAdmin Installation & Configuration</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+ <div id="sitetitle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="5">
+ <tr>
+ <td><a href="/index.html"><img src="/img/vcl-logo.png" height="100" align="left" alt="Apache VCL logo"></a></td>
+ <td><a href="http://www.apache.org"><img src="/img/asf-logo.png" align="right" alt="Apache Software Foundation logo"></a></td>
+ </tr>
+ </table>
+ </div>
+
+ <div id="navigation">
+ <ul>
+<li><a href="/index.html">Information</a><ul>
+<li><a href="/info/features.html">Features</a></li>
+<li><a href="/info/architecture.html">Architecture</a></li>
+<li><a href="/downloads/download.cgi">Download</a></li>
+<li><a href="/info/license.html">License</a></li>
+</ul>
+</li>
+<li><a href="/docs/index.html">Documentation</a><ul>
+<li><a href="https://cwiki.apache.org/confluence/x/yQdG">Using VCL</a></li>
+<li><a href="https://cwiki.apache.org/confluence/x/ywdG">Administration</a></li>
+<li><a href="/docs/installation.html">Installation</a></li>
+</ul>
+</li>
+<li><a href="/comm/index.html">Community</a><ul>
+<li><a href="/comm/index.html#getInvolved">Getting Involved</a></li>
+<li><a href="/comm/index.html#mail-list">Mailing Lists</a></li>
+<li><a href="/comm/wiki.html">Wiki</a></li>
+<li><a href="/dev/index.html">Development</a><ul>
+<li><a href="/dev/jira.html">Issue Tracking</a></li>
+<li><a href="/dev/code-documentation.html">Code Documentation</a></li>
+<li><a href="/dev/roadmap.html">Roadmap</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="http://www.apache.org">Apache Software Foundation</a><ul>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+</ul>
+</li>
+</ul>
+ </div>
+
+ <div id="content">
+ <h1 class="title">phpMyAdmin Installation & Configuration</h1>
+ <div class="docnote">
+phpMyAdmin is a free and optional tool which allows MySQL to be administered using a web
+browser. It makes administering the VCL database easier. This tool can be installed on
+the VCL web server.
+</div>
+
+<ol>
+<li>
+<p>Download phpMyAdmin</p>
+<p>a. Check the version of PHP installed on the web server (you may need to perform step
+1a of <a href="VCL232InstallGuide.html">VCL 2.3.2 Web Code Installation</a> to install httpd and php first):</p>
+<div class="codehilite"><pre> <span class="p">:::</span><span class="n">BashLexer</span>
+ <span class="n">php</span> <span class="o">-</span><span class="n">v</span>
+</pre></div>
+
+
+<ul>
+<li>Use phpMyAdmin 2.x if the version of PHP is < 5.2:
+<pre class="docnote">
+PHP 4.3.2 (cgi), Copyright (c) 1997-2003 The PHP Group
+</pre></li>
+<li>Use phpMyAdmin 3.x if the version of PHP is 5.x:<br />
+<div><pre class="docnote">
+PHP 5.3.11 (cli) (built: May 8 2012 15:53:27)
+</pre></div></li>
+</ul>
+<p>b. Download the appropriate version of phpMyAdmin from:
+ <pre>
+ <a href="http://www.phpmyadmin.net/home_page/downloads.php">http://www.phpmyadmin.net/home_page/downloads.php</a> for 3.x series
+ <a href="http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/">http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/</a> for 2.x series
+ </pre></p>
+</li>
+<li>
+<p>Extract the phpMyAdmin package:</p>
+<div class="codehilite"><pre><span class="n">tar</span> <span class="n">xf</span> <span class="n">phpMyAdmin</span><span class="o">-</span>2<span class="p">.</span>11<span class="p">.</span>11<span class="p">.</span>3<span class="o">-</span><span class="n">english</span><span class="p">.</span><span class="n">tar</span><span class="p">.</span><span class="n">bz2</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>Move the phpMyAdmin directory to the web server directory:</p>
+<div class="codehilite"><pre><span class="n">mv</span> <span class="n">phpMyAdmin</span><span class="o">-</span>2<span class="p">.</span>11<span class="p">.</span>11<span class="p">.</span>3<span class="o">-</span><span class="n">english</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>
+
+
+</li>
+<li>
+<p>Follow the installation instructions in: /var/www/html/phpmyadmin/Documentation.txt</p>
+<p><pre class="docnote">
+The instructions must be followed in order to secure phpMyAdmin
+</pre></p>
+<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
+</pre></p>
+</li>
+<li>
+<p>Configure the phpMyAdmin-VCL Table relationships:</p>
+<p>After following the documentation on creating the phpMyAdmin Linked-tables
+infrastructure, you can set up the VCL table relationships. The phpmyadmin.sql file is
+provided in the mysql directory in the Apache VCL source code. It will add entries to the
+pma_table_info table in the phpmyadmin database. These entries cause corresponding
+information to be displayed when you hover over a value in the VCL database.</p>
+<p>Import the SQL file into the phpmyadmin database:</p>
+<div class="codehilite"><pre><span class="n">mysql</span> <span class="n">phpmyadmin</span> <span class="o"><</span> <span class="n">apache</span><span class="o">-</span><span class="n">VCL</span><span class="o">-</span>2<span class="p">.</span>3<span class="p">.</span>2<span class="o">/</span><span class="n">mysql</span><span class="o">/</span><span class="n">phpmyadmin</span><span class="p">.</span><span class="n">sql</span>
+</pre></div>
+
+
+</li>
+</ol>
+ </div>
+
+ <div id="footer">
+ <div class="copyright">
+ <p>
+ Copyright © 2012 The Apache Software Foundation, Licensed under
+ the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+ <br />
+ Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+ </p>
+ </div>
+ </div>
+
+</body>
+</html>