<div class="gmail_quote">On Thu, Mar 4, 2010 at 12:28 PM, Darrel <span dir="ltr">&lt;<a href="mailto:darrel@celebrationsfs.co.za">darrel@celebrationsfs.co.za</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Thu, 2010-03-04 at 12:06 +0200, William Walter Kinghorn wrote:<br>
&gt; Hi Darrel,<br>
&gt;<br>
&gt; After doing what Hannes has suggested :<br>
&gt; open terminal<br>
&gt; sudo tasksel<br>
&gt; select LAMP - use arrow keys to get there, then space bar to select<br>
&gt;  press OK  - use &lt;TAB&gt; to get there<br>
&gt;<br>
&gt; once this is installed, then install phpmyadmin via synaptic or in the terminal  : sudo apt-get install phpmyadmin<br>
&gt;<br>
&gt; phpmyadmin is in the repositories<br>
&gt;<br>
&gt; William<br>
&gt; ________________________________________<br>
&gt; From: <a href="mailto:ubuntu-za-bounces@lists.ubuntu.com">ubuntu-za-bounces@lists.ubuntu.com</a> [<a href="mailto:ubuntu-za-bounces@lists.ubuntu.com">ubuntu-za-bounces@lists.ubuntu.com</a>] On Behalf Of Hannes Coetzee [<a href="mailto:scorpking@scorpking.za.org">scorpking@scorpking.za.org</a>]<br>

&gt; Sent: 04 March 2010 11:07<br>
&gt; To: Ubuntu South African Local Community<br>
&gt; Subject: Re: [ubuntu-za] Superuser<br>
&gt;<br>
&gt; On 04/03/2010 10:40, Darrel wrote:<br>
&gt; &gt; On Thu, 2010-03-04 at 10:16 +0200, Raoul Snyman wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; On Thu, 04 Mar 2010 10:07:36 +0200, Darrel wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; I used Synaptic, before upgrading to Ubuntu I used Wamp running XP.I<br>
&gt; &gt;&gt;&gt; looked for a &quot;complete&quot; LAMP package to load but failing to find a<br>
&gt; &gt;&gt;&gt; package called &quot;LAMP&quot; I decided the next best thing was to load<br>
&gt; &gt;&gt;&gt; phpmyadmin.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt; LAMP is a group of applications, not a package.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; Although there is a glitch when I try to access phpmyadmin, Apache<br>
&gt; &gt;&gt;&gt; appears to be working as I recieve the default &quot; ITS WORKING&quot; message<br>
&gt; &gt;&gt;&gt; when pointing the browser at localhost.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt; You want to install libapache2-mod-php5 and php5-mysql in order to get PHP<br>
&gt; &gt;&gt; running in Apache, and MySQL support in PHP respectively.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; One you have these installed, you can access phpMyAdmin via<br>
&gt; &gt;&gt; <a href="http://localhost/phpmyadmin" target="_blank">http://localhost/phpmyadmin</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Raoul Snyman, B.Tech IT (Software Engineering)<br>
&gt; &gt;&gt; Saturn Laboratories<br>
&gt; &gt;&gt; e: <a href="mailto:raoul.snyman@saturnlaboratories.co.za">raoul.snyman@saturnlaboratories.co.za</a><br>
&gt; &gt;&gt; w: <a href="http://www.saturnlaboratories.co.za/" target="_blank">http://www.saturnlaboratories.co.za/</a><br>
&gt; &gt;&gt; b: <a href="http://blog.saturnlaboratories.co.za/" target="_blank">http://blog.saturnlaboratories.co.za/</a><br>
&gt; &gt;&gt;     <a href="http://raoulsnyman.co.za/" target="_blank">http://raoulsnyman.co.za/</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt; Ok Raoul a quick check on Synaptic shows that both libapache2-mod-php5<br>
&gt; &gt; and php5-mysql are installed.<br>
&gt; &gt; <a href="http://localhost/phpmyadmin" target="_blank">http://localhost/phpmyadmin</a> brings up the pretty GUI requiering a<br>
&gt; &gt; username and password.<br>
&gt; &gt;<br>
&gt; &gt; After entering the password I get #2002 - The server is not responding<br>
&gt; &gt; (or the local MySQL server&#39;s socket is not correctly configured)<br>
&gt; &gt;<br>
&gt; &gt; <a href="http://localhost" target="_blank">http://localhost</a> brings up &quot;IT WORKS!&quot; which is the default html file<br>
&gt; &gt; residing in /var/www<br>
&gt; &gt;<br>
&gt; &gt; My first priorty is to ensure that Apache is working and then to access<br>
&gt; &gt; the www file.<br>
&gt; &gt;<br>
&gt; &gt; Darrel<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; To install a LAMP server run sudo tasksel in terminal or konsole, select<br>
&gt; LAMP (use &lt;SPACEBAR&gt; to select) and press OK (use &lt;TAB&gt; to get there).<br>
&gt;<br>
&gt; --<br>
&gt; ubuntu-za mailing list<br>
&gt; <a href="mailto:ubuntu-za@lists.ubuntu.com">ubuntu-za@lists.ubuntu.com</a><br>
&gt; <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-za" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-za</a><br>
&gt;<br>
&gt; &quot;This e-mail is subject to our Disclaimer, to view click <a href="http://www.dut.ac.za" target="_blank">http://www.dut.ac.za</a>&quot;<br>
<br>
</div></div>Thanks Hannes,William and Raoul I will be trying all your suggestions<br>
<br>
Raoul I started with php and liked the idea of integrating script into<br>
an html doc. and it just seemed to work for me.<br>
<br>
I would like to try Python but first want to spend time learning more<br>
about Linux.<br>
<br>
Talking of which what am I doing wrong here?<br>
<br>
root@point:~# sudo cp /home/darrel/Websites/sapis /var/www/<br>
cp: omitting directory `/home/darrel/Websites/sapis&#39;<br>
<br>
<br>
sapis is a folder containg files for a website<br>
<br>
Darrel<br>
<br>
<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
</font><div><div></div><div class="h5">ubuntu-za mailing list<br>
<a href="mailto:ubuntu-za@lists.ubuntu.com">ubuntu-za@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-za" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-za</a><br>
</div></div></blockquote></div><br><div><br></div><div>Darrel, try &quot;sudo cp -R /home/darrel/Websites/sapis /var/www/&quot;</div><div><br></div><div>Corrie</div><meta http-equiv="content-type" content="text/html; charset=utf-8">