<?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 &#124; Latest Tech News, Software And Tutorials &#187; lamp server</title> <atom:link href="http://www.ghacks.net/tag/lamp-server/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 17:32:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Installing Ubuntu Server 9.04</title><link>http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/</link> <comments>http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/#comments</comments> <pubDate>Thu, 03 Sep 2009 11:32:03 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[install linux server]]></category> <category><![CDATA[lamp server]]></category> <category><![CDATA[ubuntu server]]></category> <category><![CDATA[unbuntu 9.04]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=15967</guid> <description><![CDATA[Recently a friend requested I help him with an installation of Ubuntu Server. Since he was completely new to the process of installing Linux (and the topic is a winner anyway) I thought it would be smart to walk through the process of installing a Ubuntu Server, step by step, here on Ghacks. Ubuntu Server [...]]]></description> <content:encoded><![CDATA[<p>Recently a friend requested I help him with an installation of Ubuntu Server. Since he was completely new to the process of installing Linux (and the topic is a winner anyway) I thought it would be smart to walk through the process of installing a Ubuntu Server, step by step, here on Ghacks.</p><p><a
title="Ubuntu Server" href="http://www.ubuntu.com/server" target="_blank">Ubuntu Server</a> is, in my experience, one of the finest servers on the Linux landscape. This server distribution can be used for just about any server needs. But one thing to be warned about &#8211; it is headless. With the Ubuntu server you can have just about any server package you can think of, but don&#8217;t expect a GUI to help you along. And due to its headless nature, it is faster than a desktop-based counterpart. But what is it like to install?</p><p>Let&#8217;s find out.</p><p><span
id="more-15967"></span>NOTE: This particular installation will be done in a Virtual Machine using <a
title="VirtualBox" href="http://www.ghacks.net/2009/06/14/installing-and-configuring-virtualbox-for-virtual-oses/" target="_blank">VirtualBox</a>. So any oddities (or small hard disk sizes) you see will be due to that.</p><div
id="attachment_15969" class="wp-caption alignleft" style="width: 394px"><a
rel="attachment wp-att-15969" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install1-2/"><img
class="size-full wp-image-15969" src="http://www.ghacks.net/wp-content/uploads/2009/09/install1.png" alt="Figure 1" width="384" height="317" /></a><p
class="wp-caption-text">Figure 1</p></div><p>The first step is to insert the CD of Ubuntu Server (I am using 9.04) into the machine and boot. The first screen you will see is the language screen (see Figure 1).</p><p>In the language section you just use the up and down keys to migrate through the various languages available and, when you land on the correct language, click the enter key.</p><div
id="attachment_15970" class="wp-caption alignright" style="width: 394px"><a
rel="attachment wp-att-15970" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install2-2/"><img
class="size-full wp-image-15970" src="http://www.ghacks.net/wp-content/uploads/2009/09/install2.png" alt="Figure 2" width="384" height="317" /></a><p
class="wp-caption-text">Figure 2</p></div><p>The next step (see Figure 2) gives you a few different actions to take.</p><p>Here you can start the installation by selecting &#8220;Install Ubuntu Server&#8221; or you can check the disk, test the memory on your machine, bypass the installation and start from your hard drive, or use this disk as a rescue disk.</p><p>Go ahead and select &#8220;Install Ubuntu Server&#8221; and click the Enter key.</p><div
id="attachment_15971" class="wp-caption alignleft" style="width: 394px"><a
rel="attachment wp-att-15971" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install3/"><img
class="size-full wp-image-15971" src="http://www.ghacks.net/wp-content/uploads/2009/09/install3.png" alt="Figure 3" width="384" height="317" /></a><p
class="wp-caption-text">Figure 3</p></div><p>The nex screen (see Figure 3) again is asking you to choose a language. The difference between this language selection and the first language is that this language selection will be the language used on your actual server, whereas the original language screen was for the installation process. You select the language using the same technique you did for the first language.</p><p>Notice the difference in color and style on this screen? This is the typical Linux text-based installation. Get used to it, because this is the look and feel for the rest of the installation.</p><div
id="attachment_15973" class="wp-caption alignright" style="width: 394px"><a
rel="attachment wp-att-15973" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install4-2/"><img
class="size-full wp-image-15973" src="http://www.ghacks.net/wp-content/uploads/2009/09/install4.png" alt="Figure 4" width="384" height="317" /></a><p
class="wp-caption-text">Figure 4</p></div><p>The next screen (see Figure 4) has you select the country where you (or your server) reside. As you can see the selections offered for your country are based on the languages you chose. This selection is actually important because it will help configure your region-based settings.</p><p>You make this selection the same way you did the language (scroll up or down with your arrow keys). To make your selection hit the enter key.</p><div
id="attachment_15975" class="wp-caption alignleft" style="width: 394px"><a
rel="attachment wp-att-15975" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install5-2/"><img
class="size-full wp-image-15975" src="http://www.ghacks.net/wp-content/uploads/2009/09/install5.png" alt="Figure 5" width="384" height="317" /></a><p
class="wp-caption-text">Figure 5</p></div><p>The next screen (figure 5) is the keyboard selection screen. Most likely you can just use your left arrow key, move to &lt;Yes&gt; and then hit the enter key. If you&#8217;re not sure  select &lt;No&gt; and you will walked through a very simple keyboard selection wizard that will ask you if certain keys are present. This will narrow down your selection. After you select &lt;Yes&gt; and hit enter the next window will ask for the original of your keyboard. Select the country associated with your keyboard and hit the enter key. After that you will need to further narrow down your keyboard selection by choosing the layout type. I leave the last two screens out because they should be very obvious to you.</p><div
id="attachment_15976" class="wp-caption alignright" style="width: 394px"><a
rel="attachment wp-att-15976" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install6-2/"><img
class="size-full wp-image-15976" src="http://www.ghacks.net/wp-content/uploads/2009/09/install6.png" alt="Figure 6" width="384" height="317" /></a><p
class="wp-caption-text">Figure 6</p></div><p>The next few screens require no interaction on your part. It isn&#8217;t until you finally get to the Hostname screen (see Figure 6) that you will have to do anything.</p><p>The hostname will be the &#8220;nickname&#8221; your machine will be known for on your network. It is a single word name. Say this machine will be your mail server. For that you can name the machine &#8220;mail&#8221;.</p><p>Once you have entered your hostname click the tab button until &lt;Continue&gt; is slected and press Enter.</p><div
id="attachment_15977" class="wp-caption alignleft" style="width: 394px"><a
rel="attachment wp-att-15977" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install7-2/"><img
class="size-full wp-image-15977" src="http://www.ghacks.net/wp-content/uploads/2009/09/install7.png" alt="Figure 7" width="384" height="317" /></a><p
class="wp-caption-text">Figure 7</p></div><p>The next screen (Figure 7) requires you to enter your time zone. Make sure you select this properly because it will effect many services on your machine. If your machine is an email server it could incorrectly stamp all incoming email with the wrong time (if  the wrong zone is selected).</p><p>Scroll through the listing with the up and down arrows and, once you have highlighted the selection you want, click the Enter key.</p><div
id="attachment_15978" class="wp-caption alignright" style="width: 394px"><a
rel="attachment wp-att-15978" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install8-2/"><img
class="size-full wp-image-15978" src="http://www.ghacks.net/wp-content/uploads/2009/09/install8.png" alt="Figure 8" width="384" height="317" /></a><p
class="wp-caption-text">Figure 8</p></div><p>The next screen (see Figure 8) sets up the disk partitioning scheme. You have four choices. Only one of these choices is manual which should only be used by more experienced users. Of the other choices you will want to stick with one of the LVM options only if you already know how to set up LVM. LVM is the Logical Volume Management scheme which is much more flexible than a standard scheme. If you choose to use LVM you can then choose if you want your disk encrypted or not. An encrypted disk will be slightly slower than a non-encrypted disk, but it will be much more secure. The easiest partition method is to select &#8220;Guided &#8211; use entire disk&#8221;. For a default Ubuntu Server, I always select this.</p><div
id="attachment_15980" class="wp-caption alignleft" style="width: 394px"><a
rel="attachment wp-att-15980" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install9-3/"><img
class="size-full wp-image-15980" src="http://www.ghacks.net/wp-content/uploads/2009/09/install91.png" alt="Figure 9" width="384" height="317" /></a><p
class="wp-caption-text">Figure 9</p></div><p>The next screen (Figure 9)  is just a confirmation window showing you what the installer is about to do to your disk and is it okay. If what you see listed is okay, select &#8220;Finish Partitioning and write changes to disk&#8221; by using the Tab key and then hit the enter key.</p><p>After that you will have one more chance at making changes because the next screen asks for you to verify the changes. Tab to &lt;Yes&gt; and click enter on this screen.</p><div
id="attachment_15981" class="wp-caption alignright" style="width: 394px"><a
rel="attachment wp-att-15981" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install10-2/"><img
class="size-full wp-image-15981" src="http://www.ghacks.net/wp-content/uploads/2009/09/install10.png" alt="Figure 10" width="384" height="317" /></a><p
class="wp-caption-text">Figure 10</p></div><p>Depending upon the size of the disk you have partitioned, the partitioning process could take a while. Once the paritioning is complete the installation will start. This will take a bit of time (but far less time than you are used to for an operating system installation). Figure 10 was taken after about 30 seconds into the process and the installation of the base system was already at 31%.  Don&#8217;t be fooled. This is not 31% of the entire installation. This is just the base packages like the kernel. You will still have to install the packages you need for your server.</p><p>The next three screens are all dedicated to creating a user account. You will will first enter a full name for your user, then a login name for your user, followed by a password for your user. Once you are done with those you will be at the next important screen.</p><div
id="attachment_15984" class="wp-caption alignleft" style="width: 394px"><a
rel="attachment wp-att-15984" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install11/"><img
class="size-full wp-image-15984" src="http://www.ghacks.net/wp-content/uploads/2009/09/install11.png" alt="Figure 11" width="384" height="317" /></a><p
class="wp-caption-text">Figure 11</p></div><p>The next window (see Figure 11) asks if you want to encrypt your /home directory. If you plan on having log in users on the system it might be a good idea to encrypt the data. If, however, you don&#8217;t think the <strong>/home</strong> directory will be used all that much (say this will be a public web server) this isn&#8217;t that necessary.</p><p>After that screen you will be presented by a screen asking if you need to set up a proxy. If you need a proxy enter the address in the blank space, tab down to &lt;Continue&gt; and click Enter. If you do not need a proxy just tab down to &lt;Continue&gt; and click Enter.</p><div
id="attachment_15985" class="wp-caption alignright" style="width: 394px"><a
rel="attachment wp-att-15985" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install12-2/"><img
class="size-full wp-image-15985" src="http://www.ghacks.net/wp-content/uploads/2009/09/install12.png" alt="Figure 12" width="384" height="317" /></a><p
class="wp-caption-text">Figure 12</p></div><p>The next screen will, depending upon how fast your network connection is, seem to hold for a bit. This screen is scanning the mirror for packages.</p><p>You will then proceed to the updates section. If you want to have all of the updates applied automatically you will want to selec the &#8220;Install security updates automatically&#8221;. If you prefer to handle the updates on your own select &#8220;No automatica updates&#8221;. You can also use Landscape which is a web-based updater. If you want the easiest method, my suggestion is to go with automatic updates.</p><div
id="attachment_15987" class="wp-caption alignleft" style="width: 394px"><a
rel="attachment wp-att-15987" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install13/"><img
class="size-full wp-image-15987" src="http://www.ghacks.net/wp-content/uploads/2009/09/install13.png" alt="Figure 13" width="384" height="317" /></a><p
class="wp-caption-text">Figure 13</p></div><p>The next screen is the longest screen, because it is the package installation screen. But during this you will be given the change to select the software you want (see Figure 13). This porition is set up easily.</p><p>You can use the arrow keys to move up and down and then select a package with the space bar. From this list you can see what types of servers can be installed. If you go to Manual selection make sure you know what you need. Tab down to continue and then hit Enter when you&#8217;re ready to install.</p><p>The installation process will now download the necessary packages, based on the packages you selected.</p><p>Depending upon the packages you selected you might have to handle a few configuration options. For example, if you are installing a LAMP server, you will be prompted for a MySQL password for the &#8220;root&#8221; user. If you are prompted for this, type the password and hit Enter. Most likely you will be prompted for the MySQL password three times.</p><div
id="attachment_15993" class="wp-caption alignright" style="width: 394px"><a
rel="attachment wp-att-15993" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/install14/"><img
class="size-full wp-image-15993" src="http://www.ghacks.net/wp-content/uploads/2009/09/install14.png" alt="Figure 14" width="384" height="317" /></a><p
class="wp-caption-text">Figure 14</p></div><p>After the package installation is complete you will see the installer automatically take care of the GRUB installation/configuration as well as some clean up tasks. When you reach the final screen (Figure 14) you are complete! You can now reboot your Ubuntu Server installation and enjoy.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/feed/</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>How to: Install a LAMP server</title><link>http://www.ghacks.net/2009/07/23/how-to-install-a-lamp-server/</link> <comments>http://www.ghacks.net/2009/07/23/how-to-install-a-lamp-server/#comments</comments> <pubDate>Thu, 23 Jul 2009 17:43:55 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[LAMP]]></category> <category><![CDATA[lamp server]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[php]]></category> <category><![CDATA[tasksel]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=14678</guid> <description><![CDATA[If you&#8217;ve read enough of my Ghacks tutorials you have most likely come across mention of a LAMP server. If you are not sure what a LAMP server is: Linux Apache MySQL P (can mean PHP or PERL &#8211; depends upon your needs) LAMP servers are very popular, cheap, effective, flexible, and reliable servers. But [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;ve read enough of my Ghacks tutorials you have most likely come across mention of a LAMP server. If you are not sure what a LAMP server is:</p><ul><li>Linux</li><li>Apache</li><li>MySQL</li><li>P (can mean PHP or PERL &#8211; depends upon your needs)</li></ul><p>LAMP servers are very popular, cheap, effective, flexible, and reliable servers. But how are they installed? Actually, it&#8217;s not that hard. In this tutorial I am going to show you how to install a LAMP in two different ways: From the command line (using separate tools) and using the <em>tasksel</em> tool.</p><p><span
id="more-14678"></span><strong>Hardware needed</strong></p><p>Fortunately a LAMP server can be installed on lower-end hardware and still serve as a fairly efficient server. Naturally if you are going to be using your LAMP server for high traffic, you will want to select your hardware wisely.</p><p><strong>Install prerequisite</strong></p><p>Before you begin the installation of your server you will need to have your operating system installed. This is the &#8220;L&#8221; of LAMP. So find your favorite Linux distribution and install the operating system. For the purposes of this installation I am going to be installing on a Ubuntu 9.04 server installation. This will be a console only server (no GUI desktop) which is fine because the installation is done via command line only.</p><p>Once you have your operating system installed you are ready to install your server.</p><p><strong>Apache</strong></p><p>This is the easiest portion to install. Either log in to your console or open up a terminal window (if you are working from a GUI desktop) and enter the following command:<br
/> <code>sudo apt-get install apache2</code></p><p>You will have to enter your sudo user password for this installation to continue. Once this installation is complete check it by pointing a browser to that server IP address. You should instantly know if Apache is up and running.</p><p><strong>PHP</strong></p><p>For the purposes of this article we will assume the &#8220;P&#8221; stands for PHP. To install PHP (and all of its requirements) issue the command:</p><p><code>sudo apt-get install php5 libapache2-mod-php5</code></p><p>Once this installation is complete restart Apache with the command:</p><p><code>sudo /etc/init.d/apache2 restart</code></p><p>Let&#8217;s make sure this portion works properly. To test this create a file in the Apache document root (for this install it will be <strong>/var/www</strong>) called test.php. The contents of this file will be:<br
/> <code>&lt; ?php phpinfo(); ?&gt;</code></p><p>Save that file and then point your browser to http://IP_ADDRESS/test.php</p><p>Where IP_ADDRESS is the actual IP address of your server.</p><p>You should see &#8220;Test PHP Page&#8221; written on your browsers page. If so, you&#8217;re good to go.</p><p><strong>MySQL</strong></p><p>Now to install MySQL. To do this issue the command:</p><p><code>sudo apt-get install mysql-server</code></p><p>Once this is done you then need to set a password for MySQL. To do this issue the command:</p><p><code>mysql -u root</code></p><p>which will put you in the MySQL prompt. From this prompt (which looks like <em>mysql&gt; </em>) enter the command:<br
/> <code>SET PASSWORD FOR 'root'@'localhost' = PASSWORD('YOURPASSWORD');</code></p><p>Where YOURPASSWORD is the password you want to use for the mysql user.</p><p>Now start your MySQL server with the command:</p><p><code>/etc/init.d/mysql start</code></p><p>That&#8217;s it. Your LAMP server is up and running.</p><p><strong>The quick version</strong></p><p>You can actually install a full-on LAMP server on a (Ubuntu server install) with a single command:</p><p><code>sudo tasksel</code></p><p>You will need to select LAMP from the list and you will eventually be prompted for a MySQL password. That&#8217;s it.</p><p><strong>Final thoughts</strong></p><p>Getting a powerful, flexible web server up and running will take you less time and effort than you think. LAMP servers are an outstanding choice for your web servers&#8217; needs.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/07/23/how-to-install-a-lamp-server/feed/</wfw:commentRss> <slash:comments>16</slash:comments> </item> </channel> </rss>
