Jump to content

Instaling L.A.M.P on kubuntu.


lszanto

Recommended Posts

I am currently trying to install L.A.M.P on kubuntu and I have downloaded all the .tar.gz versions of apache2, php5 and mysql5 and I have put them onto my linux which is offline the internet. I am having a problem of how to install them as In the instructions it says to extract apache2 to the /etc/ directory but when I try to do so it does not let me, so please advise on what to do or link to a tutorial on what to do.

thanks, Luke.
Link to comment
Share on other sites

Unfortunately, I don't know how to go about installing MySQL by myself - Gentoo has done it for me every time. I'm sure the MySQL manual will be able to tell you, though. :)

As for installing Apache and PHP, though, it should go something like this:

[code]
$ tar xzf httpd-2.2.3.tar.gz
$ tar xzf php-5.2.0.tar.gz

$ cd httpd-2.2.3
$ ./configure
$ make
# make install

$ cd ../php-5.2.0
$ ./configure --enable-so
$ make
# make install[/code]

when you see $, it means "run as your user", and when you see # it means "run as root". Apologies if you already knew that.

For the PHP installation, you're likely to want to include more modules - ./configure --help will give you a list of configure options, among which will be a bunch of switches to enable certain modules.
Link to comment
Share on other sites

I managed to reinstall kubuntu and apache is working but when I type [CODE]apt-get install phpmyadmin[/CODE]
It says that the package phpmyadmin could not be found, is there a way to install it manually or am I doing the command wrong?
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...
The phpmyadmin configuration file is located at: /etc/phpmyadmin folder.

To set up under Apache all you need to do is include the following line in /etc/apache2/apache2.conf:

Include /etc/phpmyadmin/apache.conf

http://www.howtoforge.com/ubuntu_debian_lamp_server
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.