Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[TUTORIAL] Compiling Apache

fvillalba89fvillalba89 Member
edited December 2016 in Tutorials

Hi,

aptitude install build-essential libpcre3-dev

cd /usr/src

wget http://apache.rediris.es//httpd/httpd-2.4.23.tar.gz

wget http://apache.rediris.es//apr/apr-1.5.2.tar.gz

wget http://apache.rediris.es//apr/apr-util-1.5.4.tar.gz

tar -xzvf httpd-2.4.23.tar.gz

tar -xzvf apr-1.5.2.tar.gz

tar -xzvf apr-util-1.5.4.tar.gz

mv apr-1.5.2 httpd-2.4.23/srclib/apr

mv apr-util-1.5.4 httpd-2.4.23/srclib/apr-util

cd httpd-2.4.23

./configure

make

make install

./configure --help | less

./configure --prefix=/usr/local/apache2 --enable-ssl --enable-so --with-included-apr

make

make install

Regards,

Comments

  • exception0x876exception0x876 Member, Host Rep, LIR

    +1 for the quality of this tutorial

  • At least give credit to the site you copied and pasted this from.

  • fvillalba89fvillalba89 Member
    edited December 2016

    @Foul said:
    At least give credit to the site you copied and pasted this from.

    Hi @Foul

    It's an adaptation of mine, tutorial from theurbanpenguin.com

    The original: https://www.theurbanpenguin.com/apache-install-2-4-6-from-source-on-centos-6-4/

    Regards,

  • I love the 'Regards' part.

  • Thanked by 1tmwc
  • @Cdoe said:
    I love the 'Regards' part.

    It's all about building some reputation before spamming your recently made blogspot or .xyz

  • Why mods unlock those threads

  • fvillalba89fvillalba89 Member
    edited December 2016

    Hi,

    I do not understand so much free attack.

    The original tutorial does not appear: --prefix =/usr/local/apache2

    That's in the official Apache documentation.

    Also ./configure --prefix =/usr/local/apache2 --enable-ssl --enable-so --with-included-apr i was having trouble creating the makefile directly.

    Before I had to use the ./configure to dry

    Regards is not a Linux command haha. It's greetings in English. In Spanish it would be "Saludos".

    I do not understand why you have to close the thread.

    Vultures.

    Regards,

  • fvillalba89fvillalba89 Member
    edited December 2016

    @lion said:
    Why mods unlock those threads

    Why?

    The point is to bring knowledge.

    I have already linked to the original. And I've modified a line from the original tutorial.

    Regards,

  • fvillalba89fvillalba89 Member
    edited December 2016

    Okay. Well to install apache2 sudo aptitude install apache2 in Debian.

    Happy?

    I have also copied it?

    Hahaha.

  • Next best tutorial bu this troll, will be how to boil an egg in the morning.

This discussion has been closed.