个人工具

“UbuntuHelp:PhpMyAdmin”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:phpMyAdmin}}
 
{{Languages|UbuntuHelp:phpMyAdmin}}
 
== Introduction ==
 
== Introduction ==
phpMyAdmin is a very famous MySQL mangement software package.  To use it you should install and configure PHP, Apache and php mysql (or mysqli) extension see [[UbuntuHelp:ApacheMySQLPHP]] for instructions.
+
[[UbuntuHelp:phpMyAdmin|phpMyAdmin]] is a very famous MySQL mangement software package.  To use it you should install and configure PHP, Apache and php mysql (or mysqli) extension see [[UbuntuHelp:ApacheMySQLPHP]] for instructions.
 
== Installing From Package ==
 
== Installing From Package ==
Install '''phpMyAdmin''' from the Universe repository see InstallingSoftware for detailed instructions on using repositories and package managers.  
+
Install '''[[UbuntuHelp:phpMyAdmin|phpMyAdmin]]''' from the Universe repository see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]] for detailed instructions on using repositories and package managers.  
 
* If you're using Ubuntu 7.10 (Gutsy) select '''Apache2''' from the ''"Configuring phpmyadmin"'' dialog box.
 
* If you're using Ubuntu 7.10 (Gutsy) select '''Apache2''' from the ''"Configuring phpmyadmin"'' dialog box.
Once phpMyAdmin is installed point your browser to [http://localhost/phpmyadmin] to start using it.  You should be able to login using any users you've setup in MySQL.   
+
Once [[UbuntuHelp:phpMyAdmin|phpMyAdmin]] is installed point your browser to [http://localhost/phpmyadmin] to start using it.  You should be able to login using any users you've setup in MySQL.   
 
== Installing from source ==
 
== Installing from source ==
 
You may install phpmyadmin from source.  This method circumvents the package manager and you will need to install updates yourself.  This is not recommended for a production web server.  Also, you'll need to have [[UbuntuHelp:Subversion]] installed to download the source.
 
You may install phpmyadmin from source.  This method circumvents the package manager and you will need to install updates yourself.  This is not recommended for a production web server.  Also, you'll need to have [[UbuntuHelp:Subversion]] installed to download the source.
第15行: 第15行:
 
then download it using svn by writing:
 
then download it using svn by writing:
 
<pre><nowiki>
 
<pre><nowiki>
sudo svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/phpMyAdmin phpMyAdmin
+
sudo svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/[[UbuntuHelp:phpMyAdmin|phpMyAdmin]] [[UbuntuHelp:phpMyAdmin|phpMyAdmin]]
 
</nowiki></pre>
 
</nowiki></pre>
then cd to phpMyAdmin
+
then cd to [[UbuntuHelp:phpMyAdmin|phpMyAdmin]]
 
<pre><nowiki>
 
<pre><nowiki>
cd phpMyAdmin
+
cd [[UbuntuHelp:phpMyAdmin|phpMyAdmin]]
 
</nowiki></pre>
 
</nowiki></pre>
 
and create the folder config
 
and create the folder config
第29行: 第29行:
 
sudo chmod o+rw config
 
sudo chmod o+rw config
 
</nowiki></pre>
 
</nowiki></pre>
then open http://localhost/phpMyAdmin/scripts/setup.php and follow the instructions.
+
then open http://localhost/[[UbuntuHelp:phpMyAdmin|phpMyAdmin]]/scripts/setup.php and follow the instructions.
 
'''Note:''' This guide has been tested on Ubuntu 6.06 (Dapper) and Ubuntu 7.10 (Gutsy).
 
'''Note:''' This guide has been tested on Ubuntu 6.06 (Dapper) and Ubuntu 7.10 (Gutsy).
 
----
 
----

2007年12月4日 (二) 11:15的版本


Introduction

phpMyAdmin is a very famous MySQL mangement software package. To use it you should install and configure PHP, Apache and php mysql (or mysqli) extension see UbuntuHelp:ApacheMySQLPHP for instructions.

Installing From Package

Install phpMyAdmin from the Universe repository see InstallingSoftware for detailed instructions on using repositories and package managers.

  • If you're using Ubuntu 7.10 (Gutsy) select Apache2 from the "Configuring phpmyadmin" dialog box.

Once phpMyAdmin is installed point your browser to [1] to start using it. You should be able to login using any users you've setup in MySQL.

Installing from source

You may install phpmyadmin from source. This method circumvents the package manager and you will need to install updates yourself. This is not recommended for a production web server. Also, you'll need to have UbuntuHelp:Subversion installed to download the source. To install it from source open the console and cd to the www directory using:

cd /var/www/

then download it using svn by writing:

sudo svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/[[UbuntuHelp:phpMyAdmin|phpMyAdmin]] [[UbuntuHelp:phpMyAdmin|phpMyAdmin]]

then cd to phpMyAdmin

cd [[UbuntuHelp:phpMyAdmin|phpMyAdmin]]

and create the folder config

sudo mkdir config

after that chmod it

sudo chmod o+rw config

then open http://localhost/phpMyAdmin/scripts/setup.php and follow the instructions. Note: This guide has been tested on Ubuntu 6.06 (Dapper) and Ubuntu 7.10 (Gutsy).