<?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>BuildDocs.com - Operating System and Application Build Documents Repository &#187; ubuntu 9.04</title>
	<atom:link href="http://builddocs.com/tags/ubuntu-9-04/feed/" rel="self" type="application/rss+xml" />
	<link>http://builddocs.com</link>
	<description>Better Docs / Better Systems</description>
	<lastBuildDate>Thu, 15 Jul 2010 11:22:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Building LAMP on Ubunta Part 3</title>
		<link>http://builddocs.com/server_os_builds/building-lamp-on-ubunta-part-3/</link>
		<comments>http://builddocs.com/server_os_builds/building-lamp-on-ubunta-part-3/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 23:26:54 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 9.04]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=501</guid>
		<description><![CDATA[This is part 3 of Building LAMP on Ubuntu.  This sections is intended to help you get acquainted with the Ubunta LAMP server.
See previous sections:
Installing Ubuntu Operating System
Basic Ubuntu Server Configuration
Putty
Putty is a free SSH client used to log in to remotely manage your server. It can be downloaded from: here
To connect to your server [...]]]></description>
			<content:encoded><![CDATA[<p>This is part 3 of Building LAMP on Ubuntu.  This sections is intended to help you get acquainted with the Ubunta LAMP server.</p>
<p>See previous sections:</p>
<p><a href="http://builddocs.com/database_servers/building-lamp-on-ubuntu-part-1">Installing Ubuntu Operating System</a></p>
<p><a href="http://builddocs.com/server_os_builds/building-lamp-on-ubuntu-part-2">Basic Ubuntu Server Configuration</a></p>
<h2>Putty</h2>
<p>Putty is a free SSH client used to log in to remotely manage your server. It can be downloaded from: <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">here</a></p>
<p>To connect to your server open putty and enter your server&#8217;s IP address.</p>
<p><img class="aligncenter size-full wp-image-511" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-14-16-02.jpg" alt="TVERSITY-2009-08-18-14-16-02" width="448" height="336" /></p>
<p>Press Yes to accept your server&#8217;s key</p>
<p><img class="aligncenter size-full wp-image-512" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-14-16-17.jpg" alt="TVERSITY-2009-08-18-14-16-17" width="448" height="336" /></p>
<p>enter your username and password to log in</p>
<p><img class="aligncenter size-full wp-image-513" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-14-20-12.jpg" alt="TVERSITY-2009-08-18-14-20-12" width="448" height="336" /></p>
<h2>WinSCP</h2>
<p>WinSCP is a Secure FTP (ftp over ssh) client used for file transfer. It can be downloaded from: <a href="http://winscp.net/eng/download.php">here</a></p>
<p>To connect to your server open WinSCP and enter your server&#8217;s IP address, your username and password.</p>
<p><img class="aligncenter size-full wp-image-515" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-14-17-26.jpg" alt="TVERSITY-2009-08-18-14-17-26" width="448" height="336" /></p>
<p>Press Yes to accept your server&#8217;s key</p>
<p><img class="aligncenter size-full wp-image-516" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-14-17-38.jpg" alt="TVERSITY-2009-08-18-14-17-38" width="448" height="336" /></p>
<p>Use the GUI controls to navigate directories and drag and drop files</p>
<p><img class="aligncenter size-full wp-image-517" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-14-17-55.jpg" alt="TVERSITY-2009-08-18-14-17-55" width="448" height="336" /></p>
<h2>Apache Web Server</h2>
<p>To verify that apache is running, at the command line type:</p>
<p><strong>ps -ef | grep apache</strong></p>
<p><strong><img class="aligncenter size-full wp-image-521" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-23-47.jpg" alt="TVERSITY-2009-08-18-21-23-47" width="448" height="336" /></strong></p>
<p>If apache is running you will see a number of apache processes running</p>
<p><img class="aligncenter size-full wp-image-522" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-23-53.jpg" alt="TVERSITY-2009-08-18-21-23-53" width="448" height="336" /></p>
<p>To make sure the apache server is accessible open your browser and enter your server&#8217;s IP address.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-18-30.jpg" alt="TVERSITY-2009-08-18-21-18-30" width="448" height="336" /></p>
<p>The default web home directory is: /var/www. This where web content and php files will be placed.</p>
<p><img class="aligncenter size-full wp-image-524" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-16-19.jpg" alt="TVERSITY-2009-08-18-21-16-19" width="448" height="336" /></p>
<p>Apache log files are written to the directory: /var/log/apache2/</p>
<p><img class="aligncenter size-full wp-image-525" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-29-19.jpg" alt="TVERSITY-2009-08-18-21-29-19" width="448" height="336" /></p>
<p>The Apache Configuration file apache2.conf is located in the directory: /etc/apache2/</p>
<p><img class="aligncenter size-full wp-image-526" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-19-42.jpg" alt="TVERSITY-2009-08-18-21-19-42" width="448" height="336" /></p>
<h2>PHP</h2>
<p>The PHP configuration file php.ini is located in the directory: /etc/php5/apache2/</p>
<p><img class="aligncenter size-full wp-image-528" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-20-16.jpg" alt="TVERSITY-2009-08-18-21-20-16" width="448" height="336" /></p>
<p>To find out details about this PHP build, we will use WinSCP to create a new file in the apache home directory named info.php. Navigate to the folder /var/www and right click inside the right file window. Select New and File</p>
<p><img class="aligncenter size-full wp-image-530" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-17-10.jpg" alt="TVERSITY-2009-08-18-21-17-10" width="448" height="336" /></p>
<p>In the file enter the following code and save:</p>
<p>&lt;?</p>
<p>phpinfo();</p>
<p>?&gt;</p>
<p><img class="aligncenter size-full wp-image-532" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-17-40.jpg" alt="TVERSITY-2009-08-18-21-17-40" width="448" height="336" /></p>
<p>Open your web browser and enter your ip address followed by /info.php</p>
<p><img class="aligncenter size-full wp-image-536" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-18-42.jpg" alt="TVERSITY-2009-08-18-21-18-42" width="448" height="336" /></p>
<h2>MySQL</h2>
<p>To verify MySQL is running type ps -ef | grep mysqld</p>
<p><img class="aligncenter size-full wp-image-538" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-24-32.jpg" alt="TVERSITY-2009-08-18-21-24-32" width="448" height="336" /></p>
<p>You will see mysql process running</p>
<p><img class="aligncenter size-full wp-image-539" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-24-42.jpg" alt="TVERSITY-2009-08-18-21-24-42" width="448" height="336" /></p>
<p>The MySQL configuration file my.cnf is located in the directory: /etc/mysql</p>
<p><img class="aligncenter size-full wp-image-541" src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-18-21-23-01.jpg" alt="TVERSITY-2009-08-18-21-23-01" width="448" height="336" /></p>
<p>To manage MySQL database, I recommend installing either PhpMyAdmin or Webmin.</p>
<p>See <a title="Installing Webmin on Ubuntu 9.04" rel="bookmark" href="http://builddocs.com/server_os_builds/installing-webmin-on-ubuntu-9-04/">Installing Webmin on Ubuntu 9.04</a></p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/building-lamp-on-ubunta-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
