lszanto Posted January 3, 2007 Share Posted January 3, 2007 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. Quote Link to comment Share on other sites More sharing options...
neylitalo Posted January 4, 2007 Share Posted January 4, 2007 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. Quote Link to comment Share on other sites More sharing options...
lszanto Posted January 4, 2007 Author Share Posted January 4, 2007 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? Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted January 8, 2007 Share Posted January 8, 2007 [code]sudo aptitude install apache2 php5-mysql libapache2-mod-php5 mysql-server phpmyadmin[/code] Quote Link to comment Share on other sites More sharing options...
SamLiu Posted May 18, 2007 Share Posted May 18, 2007 uh [code]sudo nano -e /etc/apt/sources.list[/code]make sure you have universe repositories enabled. Quote Link to comment Share on other sites More sharing options...
Daveyboy Posted June 29, 2007 Share Posted June 29, 2007 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.