我有一个亚马逊 EC2 盒子。我已经在上面安装了 Apache、MariaDb 和 PHP。
除此之外,我想在 EC2 上托管几个 WordPress 网站。
如何在 Amazon Linux 上安装 Certbot,以便我可以为托管在 Apache 上的各种网站颁发 SSL 证书?
我在Certbot 的网站上找不到列出的 Amazon Linux ,我在某处读到 Amazon Linux 接近 CentOS/RHEL 7,所以我选择了它并尝试按照说明进行操作,但我必须
sudo yum install certbot-apache
Run Code Online (Sandbox Code Playgroud)
它没有用,我得到:
Loaded plugins: langpacks, priorities, update-motd
No package certbot-apache available.
Error: Nothing to do
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激。
我正在尝试在我的 CentOS 7 VPS 上设置 Nginx,我已经安装了 Nginx、MariaDb 和 PHP。
但是当我跑步时,nginx -t
我得到:
nginx: [emerg] module "/usr/lib64/nginx/modules/ngx_http_geoip_module.so" version 1012002 instead of 1014000 in /usr/share/nginx/modules/mod-http-geoip.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
Run Code Online (Sandbox Code Playgroud)
为什么会这样?我什至没有接触任何ngx_http_geoip_module.so
相关的东西。
版本信息
nginx版本:
nginx version: nginx/1.14.0
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module …
Run Code Online (Sandbox Code Playgroud)