-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pip instructions (barring DNS instructions fixes) * fix typo * use new id since pip is already in use * Fix non-DNS instructions * streamline instructions and start on DNS instructions * add symlink so DNS instructions work * Clean up instructions even more, including using terms from context * Use python instead of python3 Co-authored-by: Brad Warren <bmw@users.noreply.github.com> * Update _scripts/instruction-widget/templates/install/pip.html Co-authored-by: Brad Warren <bmw@users.noreply.github.com> * Update _scripts/instruction-widget/templates/install/pip.html Co-authored-by: Brad Warren <bmw@users.noreply.github.com> * Update _scripts/instruction-widget/templates/install/pip.html Co-authored-by: Brad Warren <bmw@users.noreply.github.com> * Remove third-party plugin instructions * move upgrade instructions to after confirming certbot worked * Remove other mentions of dev/devel * encourage people to uninstall and certbot os packages * more strongly suggest people keep cb up to date * improve readability of system dep installation instructions * tt is deprecated. I'm not fixing the whole site right now but new code shouldn't use it, at least. * remove unnecessary redhat-rpm-config * remove automatic updates line * put RHEL notes in full sentences * add dns plugin and sudo to installation instructions * streamline and rename dropdowns and uris Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
- Loading branch information
1 parent
93c2aea
commit 08afdce
Showing
6 changed files
with
138 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<aside class="note"> | ||
<div class="note-header"> | ||
<h3>Partial support</h3> | ||
</div> | ||
<p> | ||
The Certbot team supports this installation method on a best effort basis. If you are on | ||
a more obscure or heavily customized system, these instructions may not work and the | ||
Certbot team may be unable to help you resolve the problem. | ||
</p> | ||
</aside> | ||
|
||
{{> header}} | ||
<li> | ||
Install system dependencies | ||
|
||
<p>System dependencies may include Python 3.6+, including venv (this might be called <code>python3</code>, | ||
<code>python3</code>, or <code>python3-venv</code>) and Augeas for the Apache | ||
plugin (<code>libaugeas0</code> or <code>augeaslibs</code>).</p> | ||
|
||
<p>If you're having trouble installing cryptography, you may need to install additional | ||
dependencies. See | ||
<a href="https://cryptography.io/en/latest/installation.html#building-cryptography-on-linux"> | ||
the cryptography project's site</a> for more infoformation.</p> | ||
|
||
<p>Commands to install system dependencies may look like the following, run on the command | ||
line on the machine.</p> | ||
<p>For APT-based distributions (e.g. Debian, Ubuntu ...): | ||
<pre class="no-before"><ol> | ||
<li>sudo apt update</li> | ||
<li>sudo apt install python3 python3-venv libaugeas0</li> | ||
</ol></pre> | ||
</p> | ||
<p>For RPM-based distributions (e.g. Fedora, CentOS ...): | ||
<pre class="no-before"><ol> | ||
<li>sudo dnf install python3 augeas-libs</li></ol></pre></p> | ||
<p> | ||
* Note that old distributions use <code>yum</code> instead of <code>dnf</code>, and that | ||
RHEL-based distributions use <code>python3X</code> instead of <code>python3</code> | ||
(e.g. <code>python36</code>). | ||
</p> | ||
|
||
<p>These packages may have slightly different names on other distributions; a search such as | ||
"augeas on <your_system_name>" will probably yield helpful results.</p> | ||
</li> | ||
<li> | ||
Remove certbot-auto and any Certbot OS packages | ||
<p> | ||
If you have any Certbot packages installed using an OS package manager like | ||
<code>apt</code>, <code>dnf</code>, or <code>yum</code>, you should remove them before | ||
installing the Certbot snap to ensure that when you run the command | ||
<code>certbot</code> the snap is used rather than the installation from your OS | ||
package manager. The exact command to do this depends on your OS, but | ||
common examples are <code>sudo apt-get remove certbot</code>, <code>sudo dnf | ||
remove certbot</code>, or <code>sudo yum remove certbot</code>. | ||
</p> | ||
<p> | ||
If you previously used Certbot through the certbot-auto script, you should | ||
also remove its installation by following the instructions <a | ||
href="/docs/uninstall.html">here</a>. | ||
</p> | ||
</li> | ||
<li> | ||
Set up a Python virtual environment | ||
<p> | ||
Execute the following instructions on the command line on the machine to set up a virtual | ||
environment. | ||
<pre class="no-before"><ol> | ||
<li>sudo python3 -m venv /opt/certbot/</li> | ||
<li>{{install_command}} --upgrade pip</li> | ||
</ol></pre> | ||
</p> | ||
</li> | ||
|
||
{{> installcertbot}} | ||
{{>preparecertbotsymlinkcommand}} | ||
|
||
|
||
{{#advanced}} | ||
{{#dns_plugins}} | ||
{{/dns_plugins}} | ||
{{/advanced}} | ||
|
||
{{> dnspluginssetup}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters