no package 'py37-certbot' has been found in FreeBSD 12.2 - apache

When I execute pkg install py37-certbot on my FreeBSD 12.2 NAS, trying to use it for Apache, it get the Message:
"pkg: No packages available to install matching'py37-certbot' have been found in the repositories"
Have do I have to do to get Certbot working?

Related

Centos 8, yum update command not working. given following error. can't find php-common-7.2

I've tried to remove php-common-7.2 but couldn't find where it located.
Problem: package php-pecl-igbinary-3.2.2-1.el8.remi.7.2.x86_64 requires php(api) = 20170718-64, but none of the providers can be installed
- package php-pecl-igbinary-3.2.2-1.el8.remi.7.2.x86_64 requires php(zend-abi) = 20170718-64, but none of the providers can be installed
- cannot install both php-common-7.2.34-3.el8.remi.x86_64 and php-common-7.4.16-1.el8.remi.x86_64
- cannot install both php-common-7.2.34-4.el8.remi.x86_64 and php-common-7.4.16-1.el8.remi.x86_64
- cannot install the best update candidate for package php-pecl-igbinary-3.2.1-1.el8.remi.7.4.x86_64
- problem with installed package php-common-7.4.16-1.el8.remi.x86_64
- package php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64 is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
My server configuration is
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
Apache Web Server
php7.4-cli
using Webmin & virtaulmin`
You are trying to install igbinary extension for PHP 7.2 with PHP 7.4. This cannot work.
For a proper configuration, please follow the Wizard instructions
And not enough information for more help:
rpm -qa php\*
dnf repolist
dnf module list PHP

How to fix: fatal error: openssl/opensslv.h: No such file or directory in RedHat 7

I have RedHat Enterprise Linux Server 7, and I downloaded the linux kernel version 4.12.10 which I am trying to compile but when I execute the following command:
make modules
I get the following error:
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
Does anyone have an idea to fix this please ?
To fix this problem, you have to install OpenSSL development package, which is available in standard repositories of all modern Linux distributions.
To install OpenSSL development package on Debian, Ubuntu or their derivatives:
$ sudo apt-get install libssl-dev
To install OpenSSL development package on Fedora, CentOS or RHEL:
$ sudo yum install openssl-devel
Edit :
As #isapir has pointed out, for Fedora version>=22 use the DNF package manager :
dnf install openssl-devel
For Alpine Linux:
apk add openssl-dev
On CYGwin, you can install this as a typical package in the first screen. Look for
libssl-devel
for resolving this issue install:
# yum install openssl openssl-devel
and then try again to do make bzImage.

Centos 6.7 install PHP module for Apache

Im using a vagrant build vm and trying to install mod_php.
yum install mod_php
.....
Error: php70u-common conflicts with php-common-5.6.17-1.el6.remi.x86_64
Error: httpd24u conflicts with httpd-2.2.15-47.el6.centos.1.x86_64
Error: httpd24u-tools conflicts with httpd-tools-2.2.15-47.el6.centos.1.x86_64
I guess hes trying to download the module for php 7?
How can i install it for php 5.6?
you're installing the wrong version of mod_php. try: yum install mod_php70u

Problems Updating Bacula (`GLIBC_2.8' not found (required by /usr/bin/dpkg))

I have a server with Debian Lenny and Bacula 2.2.8 installed. I decided to update the bacula.
I tried to follow several tutorials I found on the web but ended with this error "GLIBC_2.11' not found" after I execute a apt-get -f install to install dependencies.

Passenger Apache Module install - installer not finding installed libraries

I am trying to host a Rails app, in a VPS server. The server already, has Apache, installed, so I am trying to install passenger first, then passenger-apache-module.
I have installed RVM as the user, and ruby 1.9.3 and set it as the default ruby. Then, I installed passenger gem, version 3.0.17, as we are migrating the rails app, and the passenger version in the old server is 3.0.17. I was able to install passenger gem with the command gem install passenger -v 3.0.17.
After installing passenger, I went ahead and tried to install passenger-apache-module using the passenger-install-apache2-module command. I am getting this output:
Checking for required software...
* GNU C++ compiler... not found
* Curl development headers with SSL support... not found
* OpenSSL development headers... not found
* Zlib development headers... not found
* Ruby development headers... found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /home/federaltitle/.rvm/wrappers/ruby-1.9.3-p448/rake
* rack... found
* Apache 2... found at /usr/local/apache/bin/httpd
* Apache 2 development headers... found at /usr/bin/apxs
* Apache Portable Runtime (APR) development headers... found at /usr/local/apache/bin/apr-1-config
* Apache Portable Runtime Utility (APU) development headers... found at /usr/local/apache/bin/apu-1-config
Some required software is not installed.
But don't worry, this installer will tell you how to install them.
Press Enter to continue, or Ctrl-C to abort.
When I hit Enter, I am getting this output:
Installation instructions for required software
* To install GNU C++ compiler:
Please run yum install gcc-c++ as root.
* To install Curl development headers with SSL support:
Please run yum install curl-devel as root.
* To install OpenSSL development headers:
Please run yum install openssl-devel as root.
* To install Zlib development headers:
Please run yum install zlib-devel as root.
If the aforementioned instructions didn't solve your problem, then please take
a look at the Users Guide:
/home/federaltitle/.rvm/gems/ruby-1.9.3-p448/gems/passenger-3.0.17/doc/Users guide Apache.html
But, when I try to install the libraries mentioned in the message (yum install gcc-c++, yum install curl-devel, yum install openssl-devel, yum install zlib-devel) as root user, it is saying all the libraries are already installed and up-to-date.
Server Details
OS - CENTOS 6.4 x86_64
I was able to install the rvm, ruby and passenger as root, and the issue was fixed. Something to do with permission, when done as user. But I had to do some workarounds for the user related activities on the ruby part like bundle install, rake assets:precompile (had to do this as root, so gave sudo permission for the local user to perform these).