<div class="gmail_quote">On Thu, Mar 4, 2010 at 12:28 PM, Darrel <span dir="ltr"><<a href="mailto:darrel@celebrationsfs.co.za">darrel@celebrationsfs.co.za</a>></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>
> Hi Darrel,<br>
><br>
> After doing what Hannes has suggested :<br>
> open terminal<br>
> sudo tasksel<br>
> select LAMP - use arrow keys to get there, then space bar to select<br>
> press OK - use <TAB> to get there<br>
><br>
> once this is installed, then install phpmyadmin via synaptic or in the terminal : sudo apt-get install phpmyadmin<br>
><br>
> phpmyadmin is in the repositories<br>
><br>
> William<br>
> ________________________________________<br>
> 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>
> Sent: 04 March 2010 11:07<br>
> To: Ubuntu South African Local Community<br>
> Subject: Re: [ubuntu-za] Superuser<br>
><br>
> On 04/03/2010 10:40, Darrel wrote:<br>
> > On Thu, 2010-03-04 at 10:16 +0200, Raoul Snyman wrote:<br>
> ><br>
> >> On Thu, 04 Mar 2010 10:07:36 +0200, Darrel wrote:<br>
> >><br>
> >>> I used Synaptic, before upgrading to Ubuntu I used Wamp running XP.I<br>
> >>> looked for a "complete" LAMP package to load but failing to find a<br>
> >>> package called "LAMP" I decided the next best thing was to load<br>
> >>> phpmyadmin.<br>
> >>><br>
> >> LAMP is a group of applications, not a package.<br>
> >><br>
> >><br>
> >>> Although there is a glitch when I try to access phpmyadmin, Apache<br>
> >>> appears to be working as I recieve the default " ITS WORKING" message<br>
> >>> when pointing the browser at localhost.<br>
> >>><br>
> >> You want to install libapache2-mod-php5 and php5-mysql in order to get PHP<br>
> >> running in Apache, and MySQL support in PHP respectively.<br>
> >><br>
> >> One you have these installed, you can access phpMyAdmin via<br>
> >> <a href="http://localhost/phpmyadmin" target="_blank">http://localhost/phpmyadmin</a><br>
> >><br>
> >> --<br>
> >> Raoul Snyman, B.Tech IT (Software Engineering)<br>
> >> Saturn Laboratories<br>
> >> e: <a href="mailto:raoul.snyman@saturnlaboratories.co.za">raoul.snyman@saturnlaboratories.co.za</a><br>
> >> w: <a href="http://www.saturnlaboratories.co.za/" target="_blank">http://www.saturnlaboratories.co.za/</a><br>
> >> b: <a href="http://blog.saturnlaboratories.co.za/" target="_blank">http://blog.saturnlaboratories.co.za/</a><br>
> >> <a href="http://raoulsnyman.co.za/" target="_blank">http://raoulsnyman.co.za/</a><br>
> >><br>
> >><br>
> > Ok Raoul a quick check on Synaptic shows that both libapache2-mod-php5<br>
> > and php5-mysql are installed.<br>
> > <a href="http://localhost/phpmyadmin" target="_blank">http://localhost/phpmyadmin</a> brings up the pretty GUI requiering a<br>
> > username and password.<br>
> ><br>
> > After entering the password I get #2002 - The server is not responding<br>
> > (or the local MySQL server's socket is not correctly configured)<br>
> ><br>
> > <a href="http://localhost" target="_blank">http://localhost</a> brings up "IT WORKS!" which is the default html file<br>
> > residing in /var/www<br>
> ><br>
> > My first priorty is to ensure that Apache is working and then to access<br>
> > the www file.<br>
> ><br>
> > Darrel<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> To install a LAMP server run sudo tasksel in terminal or konsole, select<br>
> LAMP (use <SPACEBAR> to select) and press OK (use <TAB> to get there).<br>
><br>
> --<br>
> 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>
><br>
> "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>"<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'<br>
<br>
<br>
sapis is a folder containg files for a website<br>
<br>
Darrel<br>
<br>
<br>
><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 "sudo cp -R /home/darrel/Websites/sapis /var/www/"</div><div><br></div><div>Corrie</div><meta http-equiv="content-type" content="text/html; charset=utf-8">