Installing Apache on Ubuntu for Moodle

Recently, someone shared this question in the Moodle forum…

Hi. I’ve been using XAMP to run Moodle, but now I need to migrate to Linux.

I’ve downloaded the apache at http://neacm.fe.up.pt/pub/apache/httpd/httpd-2.2.11.tar.gz and followed the instructions at http://webdesign.about.com/cs/apache/a/aainstallapache.htm, but I can’t find the httpd.conf file. Also when I go to http://localhost/ I get a ‘It works!’ message instead of the supposed Apache Server page. It seems another server is already running on my computer. Any ideas? I’d appreciate some input to get out of this mess. Thanks in advance.

It reminded me of this post I wrote about installing Apache using XAMPP on UbuntuLinux.

I was running XAMPP for Linux without problems but then when I turned on the laptop today, I couldn’t get Apache web server portion of XAMPP to start. Why not?

Apparently, UbuntuLinux’ Apache2 server was already running. I tried getting it to stop by nuking the directory but no luck. It must have been the wrong directory (sheepish grin). So, I immediately confessed my ignorance to the world via this tweet:

On UbuntuLinux running Xampp. However, Apache2–unrelated to XAMPP–suddenly is running. “Another web server daemon is already running”

This is like the equivalent of walking into the pantry, being unable to find the oatmeal container, calling out for help to the spouse–who immediately says, “If it was a snake, it would have bit you!”–and then finding the oatmeal 2 seconds before the wife walks into the kitchen, having abandoned her comfortable spot on the couch.

I did a google search on this term:

web server daemon running on ubuntulinux

And found this as the response

sudo /etc/init.d/apache2 stop

then

sudo /opt/lampp/lampp start

Someone else shared this tutorial on Moodle.org on how to install Apache on Ubuntu…sigh. Geekdom. Ain’t it great?
;->


var addthis_pub=”mguhlin”;


Subscribe to Around the Corner-MGuhlin.org


Be sure to visit the ShareMore! Wiki.


Everything posted on Miguel Guhlin’s blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure


Discover more from Another Think Coming

Subscribe to get the latest posts sent to your email.

Leave a comment