<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gHacks technology news &#187; phpmyadmin</title>
	<atom:link href="http://www.ghacks.net/tag/phpmyadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 23:31:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install Drupal on a LAMP Server</title>
		<link>http://www.ghacks.net/2009/02/10/install-drupal-on-a-lamp-server/</link>
		<comments>http://www.ghacks.net/2009/02/10/install-drupal-on-a-lamp-server/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 00:19:03 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[content management system]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10132</guid>
		<description><![CDATA[Drupal is one of the most popular of all the Content Management Systems (CMS). Drupal can power: Community portals, discussion forums, corporate sites, personal sites, blogs, e-commerce, and more. Drupal is open source (released under the GPL) and the only real installation restriction is that of the database. Drupal must use either a MySQL or [...]]]></description>
			<content:encoded><![CDATA[<p>Drupal is one of the most popular of all the Content Management Systems (CMS). Drupal can power: Community portals, discussion forums, corporate sites, personal sites, blogs, e-commerce, and more. <a title="Drupal" href="http://www.drupal.org" target="_blank">Drupal</a> is open source (released under the GPL) and the only real installation restriction is that of the database. Drupal must use either a MySQL or a PosgreSQL database to connect to.</p>
<p>One of the simplest installation is on a LAMP (Linux Apache MySQL PHP) server. Before you go on, however, I will highly suggest you install PhpMyAdmin so the database creation is simple. For more information take a look at my <a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/">Install PhpMyAdmin for easy MySQL Administration</a> article. Once you have PhpMyAdmin installed you will want to create a database for your installation. You can name the database whatever you want, just make sure you remember the name. With your LAMP server up and running you have the most difficult aspect of the installation out of the way. All that is left is the actual installation of Drupal.</p>
<p><span id="more-10132"></span>Your first step is to download the latest release of Drupal from the <a title="Drupal download page" href="http://drupal.org/drupal-6.9" target="_blank">Drupal download page</a>. Once you have that file downloaded move it to your web servers&#8217; document root. You will need root access to undertake these steps so you will with <em>su<strong> </strong></em>to root or use <em>sudo</em>.</p>
<p>Unpack the Drupal file. This will most likely be done with the <em>tar xvzf drupal-XXX.tar.gz </em>command (Where <em>XXX</em> is the actual realease number). This will create a new directory called <strong>drupal-XXX </strong>(Where <strong>XXX</strong> is the release number). Now, I always change the name of this directory for simplicity. I will either rename this directory to <strong>main</strong> or something easy to remember. You can also move the entire contents of the directory into the document root. The only issue this can cause is if you are installing multiple sites on the same server. For that reason I tend to keep the Drupal install in its very own directory.</p>
<p>Once you have this file unpacked and the directory renamed, the fun begins. Fire up your browser and point it to <em>http://path/to/installation/ </em>(Where <em>path/to/installation </em>is the entire path to the Drupal installation. For example <em>http://192.168.1.10/main/</em>.) This will automatically start up the installation process.</p>
<div id="attachment_10442" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install1.png"><img class="size-medium wp-image-10442" src="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install1-500x382.png" alt="Step 1" width="300" height="229" /></a><p class="wp-caption-text">Step 1</p></div>
<p>The first step in the installation is to select your language. The default will be English. If you need to install Drupal in another language select the obvious link. Once you click the appropriate link you will be taken to the next step.</p>
<div id="attachment_10443" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install2.png"><img class="size-medium wp-image-10443" src="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install2-500x382.png" alt="Step 2" width="300" height="229" /></a><p class="wp-caption-text">Step 2</p></div>
<p>Step 2 requires that you change the name of the <em>default.settings.php </em>to <em>settings.php</em>. This file will be found in the <strong>/var/www/html/main/sites/default/ </strong>directory (This will depend upon your installation of course.) You also need to change the permissions of this file so it is writable by the web server. You can do this with the command <em>chmod g+w settings.php</em>. One last step is to create the directory <strong>sites/default/files</strong> with the command (from within your web servers&#8217; document root) <em>mkdir sites/default/files</em>. You may get another error when you click <em>try again</em>. If you do this is a permissions error. Enter the command <em>chmod -R g+w sites/default/files</em> which should solve the problem.</p>
<div id="attachment_10444" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install4.png"><img class="size-medium wp-image-10444" src="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install4-500x382.png" alt="Step 3" width="300" height="229" /></a><p class="wp-caption-text">Step 3</p></div>
<p>Now it is time to set up your database. Remember the database you created with PhpMyAdmin? This is where that information goes.</p>
<p>Once you fill out this information click Save and Continue to move on. You&#8217;re almost done.</p>
<div id="attachment_10446" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install51.png"><img class="size-medium wp-image-10446" src="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install51-500x382.png" alt="Step 4" width="300" height="229" /></a><p class="wp-caption-text">Step 4</p></div>
<p>Just a couple more steps. Now you can remove write permissions on the settings.php file (<em>chmod o-w settings.php</em>) and enter the configuration information for your site. The information you need to provide is self explanitory. Once you have finished save the information and you&#8217;re done. You will be greeted with the &#8220;Installation Complete&#8221; page!</p>
<div id="attachment_10447" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install6.png"><img class="size-medium wp-image-10447" src="http://www.ghacks.net/wp-content/uploads/2009/02/drupal_install6-500x382.png" alt="Installation Complete" width="300" height="229" /></a><p class="wp-caption-text">Installation Complete</p></div>
<p><strong>Final Thoughts</strong></p>
<p>You can now log in with your administrator name (you will have created that in the site configuration page above) and start building your site. Drupal is an outstanding Content Management System you will quickly come to depend upon for many of your website rollouts.</p>

	Tags: <a href="http://www.ghacks.net/tag/cms/" title="CMS" rel="tag">CMS</a>, <a href="http://www.ghacks.net/tag/content-management-system/" title="content management system" rel="tag">content management system</a>, <a href="http://www.ghacks.net/tag/drupal/" title="Drupal" rel="tag">Drupal</a>, <a href="http://www.ghacks.net/tag/lamp/" title="LAMP" rel="tag">LAMP</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/phpmyadmin/" title="phpmyadmin" rel="tag">phpmyadmin</a>, <a href="http://www.ghacks.net/tag/website/" title="website" rel="tag">website</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" title="Install phpmyadmin for easy MySQL administration (December 20, 2008)">Install phpmyadmin for easy MySQL administration</a> (6)</li>
	<li><a href="http://www.ghacks.net/2009/01/22/back-up-your-apache-web-directory-and-database-with-this-simple-script/" title="Back up your Apache web directory and database with this simple script (January 22, 2009)">Back up your Apache web directory and database with this simple script</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/08/05/zoundry-raven-portable-blog-editor/" title="Zoundry Raven portable Blog Editor (August 5, 2008)">Zoundry Raven portable Blog Editor</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/02/07/yoggie-pico-personal-mobile-security-computer/" title="Yoggie PICO Personal Mobile Security Computer (February 7, 2008)">Yoggie PICO Personal Mobile Security Computer</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/07/27/wordpress-issues/" title="Wordpress Issues (July 27, 2008)">Wordpress Issues</a> (16)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/10/install-drupal-on-a-lamp-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install phpmyadmin for easy MySQL administration</title>
		<link>http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/</link>
		<comments>http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 01:17:26 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux database server]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9194</guid>
		<description><![CDATA[I have been working with LAMP (Linux Apache, MySQL, PHP) servers for a long time. But not matter how much experience I have with them one of the first things I, do after the LAMP installation, is to install phpMyAdmin. This tool makes database administration so much easier than the command line. And when your [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working with LAMP (Linux Apache, MySQL, PHP) servers for a long time. But not matter how much experience I have with them one of the first things I, do after the LAMP installation, is to install phpMyAdmin. This tool makes database administration so much easier than the command line. And when your job is rolling out sites that depend upon MySQL databases, you know how quickly MySQL can fubar a quick deployment.</p>
<p>In this article you will learn how to install and configure the phpMyAdmin MySQL tool.</p>
<p><span id="more-9194"></span>The first step is to download phpMyAdmin. You can get this tool from the <a title="phpMyAdmin download page" href="http://www.phpmyadmin.net/home_page/downloads.php" target="_blank">phpMyAdmin download page</a>. Once you have this downloaded you will need to move the file into the document root of your web server (you will need to have root or sudo access to do this and the setup) Most likely this will be either <em>/var/www/html </em>or <em>/var/www</em>. Once you have this file in the proper locaton it is time to take care of business.</p>
<p>The first thing to do is to unpack the file. The unpacking command will depend upon what file format you download. Let&#8217;s use the .gz file for an example. With the file <a href="http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-3.1.1-english.tar.gz?download#%21md5%217b92c4a670bba085484e7f3a7c25e825">phpMyAdmin-3.1.1-english.tar.gz</a> in place issue the command:</p>
<p>tar xvzf phpMyAdmin-3.11-english.tar.gz</p>
<p>The resulting directory will be <strong>phpMyAdmin</strong>. I highly recommend changing the name of that directory to something easier to navigate and remember. I generally just change the directory with the command <em>mv phpMyAdmin phpmyadmin</em>.</p>
<p>Now that the directory is correct move into the directory. There is one file in particular you must have which is the <strong>config.inc.php<em> </em></strong>file. You will notice there is a file called <strong>config.sample.inc.php</strong>. Some documentation instructs to change the name of <strong>config.sample.inc.php</strong> to <strong>config.inc.php</strong> and make your changes from within that file. It is my opinion that method can become confusing with all of the extra options included. Instead create the new config file with the following contents (depending upon your setup):</p>
<p><code>&lt;?php<br />
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */<br />
/*<br />
* Servers configuration<br />
*/<br />
$i = 0;<br />
/*<br />
* First server<br />
*/<br />
$i++;<br />
$cfg['Servers'][$i]['user'] = 'root';<br />
$cfg['Servers'][$i]['password'] = 'ROOT_PASSWORD';<br />
$cfg['Servers'][$i]['verbose'] = '';<br />
$cfg['Servers'][$i]['host'] = 'localhost';<br />
$cfg['Servers'][$i]['port'] = '';<br />
$cfg['Servers'][$i]['socket'] = '';<br />
$cfg['Servers'][$i]['connect_type'] = 'tcp';<br />
$cfg['Servers'][$i]['extension'] = 'mysqli';<br />
$cfg['Servers'][$i]['auth_type'] = 'config';<br />
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;<br />
$cfg['Servers'][$i]['nopassword'] = true;<br />
?&gt;<br />
</code></p>
<p>There are a few pieces to note. First make sure you use the actual root mysql password where you see ROOT_PASSWORD. Also, if you want to prompted each time for your login information change <em>&#8216;config&#8217; </em>to <em>&#8216;cookie&#8217;</em> in the <em>&#8216;auth_type&#8217; </em>line.</p>
<p>Once you have that configuration file in place you should be able to log into your phpmyadmin system. To do this you will enter http://ADDRESS_TO_SERVER/phpmyadmin/ in your browser (where ADDRESS_TO_SERVER is the IP Address or URL that points to the server.</p>
<p>If, for some reason, this configuration file does not work for you give the web-based setup script a try. To run this point your browser to http://ADDRESS_TO_SERVER/phpmyadmin/setup<em> </em>to start the graphical setup process.</p>
<p>After you are logged in it should be pretty obvious how to create a new database. You simple enter thename you want to give the database and click the Create button.</p>
<p>You&#8217;re done! You now have a phpmyadmin install ready to serve you.</p>

	Tags: <a href="http://www.ghacks.net/tag/database/" title="database" rel="tag">database</a>, <a href="http://www.ghacks.net/tag/lamp/" title="LAMP" rel="tag">LAMP</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/linux-database-server/" title="Linux database server" rel="tag">Linux database server</a>, <a href="http://www.ghacks.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.ghacks.net/tag/phpmyadmin/" title="phpmyadmin" rel="tag">phpmyadmin</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/09/set-up-mysql-database-replication/" title="Set up MySQL database replication (April 9, 2009)">Set up MySQL database replication</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/02/10/install-drupal-on-a-lamp-server/" title="Install Drupal on a LAMP Server (February 10, 2009)">Install Drupal on a LAMP Server</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/01/12/backup-mysql-databases-in-linux-regularly/" title="Backup MySQL Databases In Linux Regularly (January 12, 2009)">Backup MySQL Databases In Linux Regularly</a> (11)</li>
	<li><a href="http://www.ghacks.net/2009/02/16/php-what-it-does-and-what-it-doesnt/" title="PHP &#8211; what it does and what it doesn&#8217;t (February 16, 2009)">PHP &#8211; what it does and what it doesn&#8217;t</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/07/23/how-to-install-a-lamp-server/" title="How to: Install a LAMP server (July 23, 2009)">How to: Install a LAMP server</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
