From 90dda23f3345a6191faa2c99c1ddf5ccd10758b5 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 27 Mar 2016 20:43:32 +0800 Subject: [PATCH] Install online. --- README.md | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a9ed443d..c44b0ea8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Just one script, to issue, renew your certificates automatically. Probably it's the smallest&easiest&smartest shell script to automatically issue & renew the free certificates from LetsEncrypt. -Do NOT require to be `root/sudoer`. +NOT require to be `root/sudoer`. #Tested OS 1. Ubuntu [![](https://cdn.rawgit.com/Neilpang/letest/master/status/ubuntu-latest.svg)](https://github.com/Neilpang/letest#here-are-the-latest-status) @@ -34,14 +34,30 @@ https://github.com/Neilpang/letest.git 3. Apache mode 4. Dns mode -#How to use +#How to install -1. Clone this project: https://github.com/Neilpang/le.git +1. Install online: -2. Install le: ``` +curl https://raw.githubusercontent.com/Neilpang/le/master/le.sh | INSTALLONLINE=1 bash + +``` + +Or: +``` +wget -O - https://raw.githubusercontent.com/Neilpang/le/master/le.sh | INSTALLONLINE=1 bash + +``` + + +2. Or, Install from git: +Clone this project: +``` +git clone https://github.com/Neilpang/le.git +cd le ./le.sh install ``` + You don't have to be root then, although it is recommended. Which does 3 jobs: