PDA

View Full Version : [ubuntu] AMP+Python on Desktop Hardy



Pericius
April 30th, 2008, 03:56 PM
How to install Apache/MySql/PHP/Python server on Ubuntu 8.04? I guess it's a apt-get one-liner, but I don't know what to do make Python work. I need it only for site development.

And, if it's not too much of a problem, could someone hint at configuration steps afterwards?

Thanks in advance.

bluefrog
April 30th, 2008, 05:23 PM
for LAMP, you could use sudo tasksel.
for python, I assume sudo apt-get install python will do

cdenley
April 30th, 2008, 05:41 PM
for LAMP, you could use sudo tasksel.
for python, I assume sudo apt-get install python will do

Unless you want python web scripts to run in apache.


sudo apt-get install libapache2-mod-python
sudo /etc/init.d/apache2 restart

ibutho
April 30th, 2008, 05:42 PM
The command below is a good starting point

sudo aptitude install apache2 mysql php5-mysql libapache2-mod-python
Python is installed by default on most Linux distros, so all you need is the apache module.

Pericius
May 2nd, 2008, 07:12 PM
The command below is a good starting point

sudo aptitude install apache2 mysql php5-mysql libapache2-mod-python
Python is installed by default on most Linux distros, so all you need is the apache module.
It oughta be mysql-server package but otherwise it worked great. Thanks a bunch!