I have apache files downloaded, and I've not been able to install the, it keeps listing dependencies and when I check my list of installed packages, it lists apache2 as deinstall, I equally have not been able to run mysql either. What should I do, because the system is not connected to the internet.
Asked
Active
Viewed 989 times
1 Answers
1
$ lynx http://httpd.apache.org/download.cgi
$ gzip -d httpd-NN.tar.gz
$ tar xvf httpd-NN.tar
$ cd httpd-NN
$ ./configure --prefix=PREFIX
$ make
$ make install
$ vi PREFIX/conf/httpd.conf
Test:
$ PREFIX/bin/apachectl -k start

Radu Rădeanu
- 169,590
-
I've done just that but it stops with an error APR not found @Radu – pamodulus May 05 '13 at 10:11
-
@pamodulus Can you edit your question by posting the error? – Radu Rădeanu May 05 '13 at 11:42
-
I was able to pack multiple downloaded .deb packages and ran " sudo dpkg -i ." most things including apache, PHP and MySQL installed, I was even prompted to give a password for my root MySQL account, but after the apache on /var/php5/apache2 ran, it doesn't recognise localhost and I can't start MySQL without geting the error " can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ", and the file path doesn't even exist on my machine @Radu – pamodulus May 05 '13 at 14:25