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 2012/12/10 19:11:23 UTC

svn commit: r841467 - in /websites/staging/vcl/trunk/content: ./ docs/installphpmyadmin.html

Author: buildbot
Date: Mon Dec 10 18:11:22 2012
New Revision: 841467

Log:
Staging update by buildbot for vcl

Added:
    websites/staging/vcl/trunk/content/docs/installphpmyadmin.html
Modified:
    websites/staging/vcl/trunk/content/   (props changed)

Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Dec 10 18:11:22 2012
@@ -1 +1 @@
-1419617
+1419620

Added: websites/staging/vcl/trunk/content/docs/installphpmyadmin.html
==============================================================================
--- websites/staging/vcl/trunk/content/docs/installphpmyadmin.html (added)
+++ websites/staging/vcl/trunk/content/docs/installphpmyadmin.html Mon Dec 10 18:11:22 2012
@@ -0,0 +1,147 @@
+<!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 &amp;amp; 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>Information<ul>
+<li><a href="/info/about.html">What is VCL?</a></li>
+<li><a href="/info/features.html">Features</a></li>
+<li><a href="/info/architecture.html">Architecture</a></li>
+<li><a href="/info/use-cases.html">Use Cases</a></li>
+<li><a href="/downloads/download.cgi">Download</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0.html">License</a></li>
+<li><a href="/info/faq.html">FAQ</a></li>
+</ul>
+</li>
+<li><a href="/docs/index.html">Documentation</a><ul>
+<li><a href="/docs/using-vcl.html">Using VCL</a></li>
+<li><a href="/docs/image-creation.html">Image Creation</a></li>
+<li><a href="/docs/administration.html">Administration</a></li>
+<li><a href="/docs/installation.html">Installation</a></li>
+<li><a href="/docs/deployment-planning.html">Deployment Planning</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/index.html#how-do-i-join-the-project">How can I Join</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 &amp;amp; Configuration</h1>
+    <p>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.</p>
+<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 VCL 2.3 Web Code Installation to install httpd and php first):</p>
+<div class="codehilite"><pre>    <span class="n">php</span> <span class="o">-</span><span class="n">v</span>
+
+<span class="o">*</span> <span class="n">Use</span> <span class="n">phpMyAdmin</span> <span class="mi">2</span><span class="o">.</span><span class="n">x</span> <span class="k">if</span> <span class="n">the</span> <span class="n">version</span> <span class="n">of</span> <span class="n">PHP</span> <span class="n">is</span> <span class="o">&lt;</span> <span class="mf">5.2</span><span class="p">:</span>
+    <span class="n">PHP</span> <span class="mf">4.3.2</span> <span class="p">(</span><span class="n">cgi</span><span class="p">),</span> <span class="n">Copyright</span> <span class="p">(</span><span class="n">c</span><span class="p">)</span> <span class="mi">1997</span><span class="o">-</span><span class="mi">2003</span> <span class="n">The</span> <span class="n">PHP</span> <span class="n">Group</span>
+
+<span class="o">*</span> <span class="n">Use</span> <span class="n">phpMyAdmin</span> <span class="mi">3</span><span class="o">.</span><span class="n">x</span> <span class="k">if</span> <span class="n">the</span> <span class="n">version</span> <span class="n">of</span> <span class="n">PHP</span> <span class="n">is</span> <span class="mi">5</span><span class="o">.</span><span class="n">x:</span>
+    <span class="n">PHP</span> <span class="mf">5.3.11</span> <span class="p">(</span><span class="n">cli</span><span class="p">)</span> <span class="p">(</span><span class="n">built:</span> <span class="n">May</span>  <span class="mi">8</span> <span class="mi">2012</span> <span class="mi">15</span><span class="p">:</span><span class="mi">53</span><span class="p">:</span><span class="mi">27</span><span class="p">)</span>
+</pre></div>
+
+
+<p>b. Download the appropriate version of phpMyAdmin from:
+    http://www.phpmyadmin.net/home_page/downloads.php for 3.x series
+    http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/ for 2.x series</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><span class="mf">2.11.11.3</span><span class="o">-</span><span class="n">english</span><span class="o">.</span><span class="n">tar</span><span class="o">.</span><span class="n">bz2</span>
+</pre></div>
+
+
+<ul>
+<li>
+<p>Move the phpMyAdmin directory to the web server directory:</p>
+<p>:::BashLexer
+mv phpMyAdmin-2.11.11.3-english /var/www/html/phpmyadmin
+<em> Follow the installation instructions in: /var/www/html/phpmyadmin/Documentation.txt
+The instructions must be followed in order to secure phpMyAdmin
+If you receive 403-Forbidden errors after installing phpMyAdmin, the problem is likely caused by SELinux. Run the following command to correct the problem:
+    chcon -R -t httpd_sys_content_t /var/www/html/phpmyadmin
+</em> Configure the phpMyAdmin-VCL Table relationships:</p>
+</li>
+</ul>
+<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">&lt;</span> <span class="n">apache</span><span class="o">-</span><span class="n">VCL</span><span class="o">-</span><span class="mf">2.3</span><span class="sr">/mysql/</span><span class="n">phpmyadmin</span><span class="o">.</span><span class="n">sql</span>
+</pre></div>
+
+
+</li>
+</ol>
+  </div>
+  
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 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>