Apache 2.4.6 Installation on Unix

A fast information to putting in Apache HTTP Server in a Linux setting

Apache is the preferred net server, and if you happen to work as a system administrator, likelihood is you will not cross the trail to Apache HTTP.

This isn’t typical Tasty set up as a substitute obtain the supply code and compile in your Linux setting.

Let’s begin with the obtain and set up process.

Obtain Apache HTTP

  • On this article, we use the most recent steady model of Apache Internet Server 2.4.6 obtainable on Centos 6.3 OS.
  • Obtain the Apache 2.4.6 model from https://httpd.apache.org/obtain.cgi
  • Let’s obtain to the /choose/apache folder
  • As soon as downloaded, it’s best to have that httpd-2.4.6.tar.gz

Set up Apache HTTP

We are going to set up Apache below /choose/apache listing with mod_ssl enabled.

Necessities

  • ANSI-C Compiler and Construct System – Ensure the GCC or CC compiler is put in in your server and arrange in PATH. This is set up GCC with yum.
# yum set up gcc
  • Apr/apr-util – be sure you have apr/apr-util 1.2 put in in your server.
  • OpenSSL – be sure you have the most recent OpenSSL model in your server. You may set up OpenSSL with yum as follows.
# yum set up openssl
  • Let’s extract the downloaded file below /choose/apache by working the command
# gunzip –c httpd-2.4.6.tar.gz | tar xvf –
  • Now you can see it has extracted every part within the new folder httpd-2.4.6
  • Go to the httpd-2.4.6 folder
  • Let’s compile and set up the Apache supply code
# ./configure --with-apr=/usr/native/apr/bin/apr-1-config --prefix=/choose/apache/ --enable-ssl --enable-so
# make
# make set up

Let’s higher perceive the configured syntax.

  • –with-apr= instructs to make use of a specified apr configuration file
  • –prefix= Specify the situation the place you need to set up, on this instance Apache shall be put in below /choose/apache
  • –enable-ssl it will compile apache with SSL enabled so Apache net server may be secured with SSL certificates.
  • –enable-so to allow shared modules

After profitable compilation, it’s best to see Apache put in below /choose/apache as follows.

Now we will delete httpd-2.4.6.tar.gz And httpd-2.4.6 folder from this location, as they’re now not wanted.

# rm –rf httpd-2.4.6.tar.gz httpd-2.4.6

Subsequent, chances are you’ll be concerned with securing it.

Leave a Comment

porno izle altyazılı porno porno