mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:04:31 +02:00
bootstrap: _rpm_common.sh, centos fixes
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Tested with:
|
||||||
|
# - Fedora 22 (x64)
|
||||||
|
# - Centos 7 (x64: on AWS EC2 t2.micro, DigitalOcean droplet)
|
||||||
|
|
||||||
|
# "git-core" seems to be an alias for "git" in CentOS 7 (yum search fails)
|
||||||
|
yum install -y \
|
||||||
|
git-core \
|
||||||
|
python \
|
||||||
|
python-devel \
|
||||||
|
python-virtualenv \
|
||||||
|
python-devel \
|
||||||
|
gcc \
|
||||||
|
swig \
|
||||||
|
dialog \
|
||||||
|
augeas-libs \
|
||||||
|
openssl-devel \
|
||||||
|
libffi-devel \
|
||||||
|
ca-certificates \
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Tested with: Centos 7 on AWS EC2 t2.micro (x64)
|
|
||||||
|
|
||||||
yum install -y \
|
|
||||||
git \
|
|
||||||
python \
|
|
||||||
python-devel \
|
|
||||||
python-virtualenv \
|
|
||||||
python-devel \
|
|
||||||
gcc \
|
|
||||||
swig \
|
|
||||||
dialog \
|
|
||||||
augeas-libs \
|
|
||||||
openssl-devel \
|
|
||||||
libffi-devel \
|
|
||||||
ca-certificates \
|
|
||||||
python-setuptools \
|
|
||||||
readline-devel
|
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
_rpm_common.sh
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Tested with:
|
|
||||||
# - Fedora 22 (x64)
|
|
||||||
|
|
||||||
yum install -y \
|
|
||||||
git-core \
|
|
||||||
python \
|
|
||||||
python-devel \
|
|
||||||
python-virtualenv \
|
|
||||||
python-devel \
|
|
||||||
gcc \
|
|
||||||
swig \
|
|
||||||
dialog \
|
|
||||||
augeas-libs \
|
|
||||||
openssl-devel \
|
|
||||||
libffi-devel \
|
|
||||||
ca-certificates \
|
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
_rpm_common.sh
|
||||||
+11
-7
@@ -70,12 +70,23 @@ Mac OSX
|
|||||||
|
|
||||||
sudo ./bootstrap/mac.sh
|
sudo ./bootstrap/mac.sh
|
||||||
|
|
||||||
|
|
||||||
Centos 7
|
Centos 7
|
||||||
--------
|
--------
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
sudo ./bootstrap/centos.sh
|
sudo ./bootstrap/centos.sh
|
||||||
|
|
||||||
|
For installation run this modified command (note the trailing
|
||||||
|
backslash):
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
SWIG_FEATURES="-includeall -D__`uname -m`__-I/usr/include/openssl" \
|
||||||
|
./venv/bin/pip install -r requirements.txt functools32
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
@@ -84,13 +95,6 @@ Installation
|
|||||||
virtualenv --no-site-packages -p python2 venv
|
virtualenv --no-site-packages -p python2 venv
|
||||||
./venv/bin/pip install -r requirements.txt
|
./venv/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
Installation on Centos 7
|
|
||||||
============
|
|
||||||
|
|
||||||
.. code-block:: shell
|
|
||||||
|
|
||||||
virtualenv --no-site-packages -p python2 venv
|
|
||||||
env SWIG_FEATURES="-cpperraswarn -includeall -D__`uname -m`__ -I/usr/include/openssl" ./venv/bin/python setup.py install
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|||||||
Reference in New Issue
Block a user