• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 742
  • Last Modified:

apxs not installed when trying to install mod_gzip

Hi,

Im trying to install mod_gzip but have found that i cantt because apxs isnt installed on apache. I get a bad command error.

How can i go about installing apxs so that i can install mod_gzip on the server?

Thanks
0
coolispaul
Asked:
coolispaul
  • 8
  • 6
1 Solution
 
gheistCommented:
Operating system name and version, please?
0
 
coolispaulAuthor Commented:
its unix - how can i find the version

Thanks
0
 
coolispaulAuthor Commented:
GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)

does this help

Thanks
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
gheistCommented:
uname -a
gcc -v | tail -1

Thank you.
0
 
gheistCommented:
(further instructions to detect package management system ma follow)
0
 
gheistCommented:
$ uname -a
Linux linux-andrew 2.6.22.9-0.4-default #1 SMP 2007/10/05 21:32:04 UTC x86_64 x86_64 x86_64 GNU/Linux
$ gcc -v 2>&1 | tail -1
gcc version 4.2.1 (SUSE Linux)
0
 
coolispaulAuthor Commented:
hi,

so could you explain how i go about installing apxs - ultimately i want to install mod gzip

thanks
0
 
gheistCommented:
Post you operating system&version. Generic methods on apache.org are undesirable for most systems.
0
 
coolispaulAuthor Commented:
not sure if this helps

perl-Apache-ASP         -           2.59-ubuntu6.06.build82070918.10
0
 
gheistCommented:
Ok, fine. You have Ubuntu linux v 6.0.6

apt-cache search apache
apt-cache search gzip

apt-get (whatever is mod_gzip named)

DO NOT BUILD SOURCE
0
 
coolispaulAuthor Commented:
hi,

i tried running those commands when logged onto the server with putty but it says the command is not found

cheers
0
 
gheistCommented:
You need to become root user

sudo bash

# enter command here
0
 
coolispaulAuthor Commented:
Hi,

I get returned the following message;

bash: apt-cache: command not found

thanks
0
 
gheistCommented:
You have to find your instalation CD and install apt-cache: apt-get apt-cache
It is your fault you did not take warnings about minimal system.

There is documentation for your system:
https://help.ubuntu.com/7.10/add-applications/C/advanced.html#apt

0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now