Y
Y
yurygolikov2016-08-08 13:37:26
linux
yurygolikov, 2016-08-08 13:37:26

I can't install the module under Apache, why doesn't it work?

OS - Ubuntu 16.04 LTS (GNU/Linux 2.6.32-042stab116.2 x86_64)
The module I want to install - https://tn123.org/mod_xsendfile/
Put the module in the root. I enter apxs -cia mod_xsendfile.c . Answer: -bash: apxs: command not found
Then I realized that apxs(APache_eXStension) was not installed, futile attempts to figure out how to install it led to failure.
Then I realized that I needed to "build a module for apache". As I understand it, fastening is no longer a problem, just register the connection of the module and its settings in the config files.
But after googling, I didn’t find anything about it, mb leave the links or point me in the right direction of google. Thank you!
ps do not beat me, I know that I'm not well versed, but it takes a lot of time to fundamentally study ubuntu, and I really need this module.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danil Biryukov-Romanov, 2016-08-08
@yurygolikov

1. Throw out Ubuntu. Take Debian or CentOS. If you want to learn linux even deeper - Gentoo or Arch.
2. On any Linux, you DO NOT need to build anything from source code. There are only two exceptions - if building from source is the only way to install software (as in Gentoo for example) or if you KNOW EXACTLY what and most importantly why you are doing it.
3. Learn how to install software in your distribution, and through the package manager, and not through building software from source.
4. If you need a module, you can install it using standard OS tools:
Run in the terminal as root user.
I found the package name like this:
apt-cache search xsendfile

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question