mirror of
https://github.com/certbot/certbot.git
synced 2026-08-06 21:34:58 +02:00
31 lines
533 B
Bash
Executable File
31 lines
533 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Tested with:
|
|
# - Fedora 22 (x64)
|
|
# - Centos 7 (x64: on AWS EC2 t2.micro, DigitalOcean droplet)
|
|
|
|
if type yum 2>/dev/null
|
|
then
|
|
tool=yum
|
|
elif type dnf 2>/dev/null
|
|
then
|
|
tool=dnf
|
|
else
|
|
echo "Neither yum nor dnf found. Aborting bootstrap!"
|
|
exit 1
|
|
fi
|
|
|
|
# "git-core" seems to be an alias for "git" in CentOS 7 (yum search fails)
|
|
$tool install -y \
|
|
git-core \
|
|
python \
|
|
python-devel \
|
|
python-virtualenv \
|
|
python-devel \
|
|
gcc \
|
|
dialog \
|
|
augeas-libs \
|
|
openssl-devel \
|
|
libffi-devel \
|
|
ca-certificates \
|