Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
bordertrue
Column
width100px50%

Unix/Solaris

Check if gcc compiler is installed:

Code Block
languagebash
themeDJango
$ which gcc

# which is dependent on environment variables being set correctly.  
# Alternatively check the /usr/bin and /usr/sfw/bin paths.

If no compiler found, install it:

Code Block
languagebash
themeDJango
$ pkg install gcc-3  # or whatever version you need
Column
width100px50%

Linux

Chech if gcc compilete is installed:

Code Block
languagebash
themeDJango
$ which gcc

If no compiler found, install it:

Code Block
languagebash
themeDJango
# Debian/Ubuntu
$ sudo apt-get install build-essential

# RHEL/CentOS/Fedora
$ sudo yum group install "Development Tools" 

...

Code Block
languagebash
themeDJango
# Change version number/archive type as required
$ wget --no-check-certificate https://archive.apache.org/dist/httpd/httpd-2.42.2923.tar.bz2 [ -e use-proxy=yes -e https_proxy=xxxxx ]


# Apache also provides MD5 hashes to verify your downloads, so you could do the following to generate a local MD5 hash to compare
wget -O - https://archive.apache.org/dist/httpd-2.4.29.tar.bz2 | tee httpd-2.42.2923.tar.bz2 | md5sum > md5sum.local

Unpack the archive:

Section
bordertrue
Column
width50%

Unix/Solaris

Code Block
languagebash
themeDJango
# Use -k switch to preserve the original archive
$ bzip2 -d[k] httpd-2.2.32.tar.bz2
$ tar -xvf httpd-2.2.32.tar

Linux

Column
width50%

$ tar -xvf httpd-2.2.32.tar.qz