Hello Raf,
See http://httpd.apache.org/docs/2.4/invoking.htmlHi,
I work on web development using several computers (laptop, desktop) and i do not have always access to internet.
While i was under Windows i had a portable LAMP server and it was great as i was just able to sync it once online, to have it on other computers.
I would like to do the same under Ubuntu 19.10 and i'm looking for information how to do it.My first step would be to have apache2 (httpd) not depending on root permissions, but also running from any directory where the binaries are stored...
so if binary is set to /home/alain/webserver/apache or /home/$user/webserver/apache it should be able to run with configuration file, just by launching httpd start or something like that.
however i'm lost with the source code while i compile it with --PREFIX and other option.
Can someone help me to understand it better ?
Once you have uncompressed the httpd tarball, you go to the root of the source tree then execute following command , for example:
./configure --prefix=/usr/local/httpd-2.4.41
where /usr/local/httpd-2.4.41 is the root of the installation directory which will contain bin, doc, share, include,... directories.
if there's no error, you execute then
make
to build httpd, then
sudo make install
to install it /usr/local/httpd-2.4.41
Other configure options can be found via command :
./configure --help
thx
--
Alain