Catatan Harian Mas Andri

Silahkan digunakan dengan bijaksana

back

Install Let's Encrypt certificates di VPS Proxmox Turnkey Linux Debian 7 Wheezy

29 Desember 2016 || 22:02:45 WIB || ClassyID

Sebagai catatan, cara install let's encrypt di server vps proxmox

Lakukan download melalui terminal menggunakan command wget 

wget https://dl.eff.org/certbot-auto
--2016-12-29 20:41:22--  https://dl.eff.org/certbot-auto
Resolving dl.eff.org (dl.eff.org)... 173.239.79.196
Connecting to dl.eff.org (dl.eff.org)|173.239.79.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44442 (43K) [text/plain]
Saving to: `certbot-auto'
100%[====================================================================================================================>] 44,442       232K/s   in 0.2s    
2016-12-29 20:41:24 (232 KB/s) - `certbot-auto' saved [44442/44442]

Selanjutnya ketik ini : chmod a+x certbot-auto

setelah itu eksekusi dengan cara :

./certbot-auto 
Bootstrapping dependencies for Debian-based OSes...
Hit http://archive.turnkeylinux.org wheezy-security Release.gpg                                      
Hit http://security.debian.org wheezy/updates Release.gpg                                                              
Hit http://cdn.debian.net wheezy Release.gpg                                                                                                             
Hit http://packages.dotdeb.org wheezy-php56-zts Release.gpg                                                                                              
Hit http://security.debian.org wheezy/updates Release                                                                                                    
Hit http://cdn.debian.net wheezy Release                                                                          
Hit http://packages.dotdeb.org wheezy-php56-zts Release                                                          
Hit http://http.debian.net wheezy-backports Release.gpg                                                          
Hit http://archive.turnkeylinux.org wheezy Release.gpg                                     
Hit http://security.debian.org wheezy/updates/main amd64 Packages                                                            
Hit http://packages.dotdeb.org wheezy-php56-zts/all Sources                                                                                                  
Hit http://cdn.debian.net wheezy/main amd64 Packages                                                                                                
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages                                                                 
Hit http://packages.dotdeb.org wheezy-php56-zts/all amd64 Packages                                                                   
Hit http://archive.turnkeylinux.org wheezy-security Release                                                    
Hit http://cdn.debian.net wheezy/contrib Translation-en                                                                                                      
Hit http://http.debian.net wheezy-backports Release                                                                                                          
Hit http://security.debian.org wheezy/updates/contrib Translation-en                                                                                         
Hit https://deb.nodesource.com wheezy Release.gpg                                                                                                            
Hit http://cdn.debian.net wheezy/contrib amd64 Packages                                                                                             
Hit http://http.debian.net wheezy-backports/main amd64 Packages/DiffIndex                                                               
Hit http://security.debian.org wheezy/updates/main Translation-en                                                                       
Hit http://archive.turnkeylinux.org wheezy Release                                                                   
Hit https://deb.nodesource.com wheezy Release                                                                                 
Hit http://cdn.debian.net wheezy/main Translation-en                                                                          
Hit http://http.debian.net wheezy-backports/main Translation-en/DiffIndex                                                        
Hit https://deb.nodesource.com wheezy/main Sources                    
Hit http://archive.turnkeylinux.org wheezy-security/main amd64 Packages
Hit https://deb.nodesource.com wheezy/main amd64 Packages                                            
Ign http://packages.dotdeb.org wheezy-php56-zts/all Translation-en                
Hit http://archive.turnkeylinux.org wheezy/main amd64 Packages                    
Ign http://archive.turnkeylinux.org wheezy-security/main Translation-en       
Ign http://archive.turnkeylinux.org wheezy/main Translation-en
Ign https://deb.nodesource.com wheezy/main Translation-en                                                                                                    
Reading package lists... Done                                                                                                                                
No LSB modules are available.
To use the Apache Certbot plugin, augeas needs to be installed from wheezy-backports.
grep: /etc/apt/sources.list: No such file or directory
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgd2-xpm libnet-daemon-perl libopts25 libplrpc-perl libuuid-perl linux-base
Use 'apt-get autoremove' to remove them.
Suggested packages:
  augeas-doc augeas-tools
The following NEW packages will be installed:
  augeas-lenses libaugeas0
0 upgraded, 2 newly installed, 0 to remove and 34 not upgraded.
Need to get 683 kB of archives.
After this operation, 1876 kB of additional disk space will be used.
Get:1 http://http.debian.net/debian/ wheezy-backports/main augeas-lenses all 1.2.0-0.2+deb8u1~bpo70+1 [387 kB]
Get:2 http://http.debian.net/debian/ wheezy-backports/main libaugeas0 amd64 1.2.0-0.2+deb8u1~bpo70+1 [296 kB]
Fetched 683 kB in 3s (199 kB/s)     
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package augeas-lenses.
(Reading database ... 31207 files and directories currently installed.)
Unpacking augeas-lenses (from .../augeas-lenses_1.2.0-0.2+deb8u1~bpo70+1_all.deb) ...
Selecting previously unselected package libaugeas0.
Unpacking libaugeas0 (from .../libaugeas0_1.2.0-0.2+deb8u1~bpo70+1_amd64.deb) ...
Setting up augeas-lenses (1.2.0-0.2+deb8u1~bpo70+1) ...
Setting up libaugeas0 (1.2.0-0.2+deb8u1~bpo70+1) ...
Counting objects: 5853, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1778/1778), done.
Writing objects: 100% (5853/5853), done.
Total 5853 (delta 3588), reused 5853 (delta 3588)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version.
ca-certificates set to manually installed.
dialog is already the newest version.
dialog set to manually installed.
gcc is already the newest version.
gcc set to manually installed.
python is already the newest version.
python set to manually installed.
The following packages were automatically installed and are no longer required:
  libgd2-xpm libnet-daemon-perl libopts25 libplrpc-perl libuuid-perl linux-base
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libexpat1-dev libpython2.7 python-pkg-resources python-setuptools python2.7-dev
Suggested packages:
  python-distribute python-distribute-doc
Recommended packages:
  libssl-doc python-pip
The following NEW packages will be installed:
  libexpat1-dev libffi-dev libpython2.7 libssl-dev python-dev python-pkg-resources python-setuptools python-virtualenv python2.7-dev
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.8 MB of archives.
After this operation, 46.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://security.debian.org/ wheezy/updates/main libexpat1-dev amd64 2.1.0-1+deb7u4 [225 kB]
Get:2 http://cdn.debian.net/debian/ wheezy/main libffi-dev amd64 3.0.10-3 [116 kB]                                 
Get:3 http://cdn.debian.net/debian/ wheezy/main python-dev all 2.7.3-4+deb7u1 [920 B]                              
Get:4 http://cdn.debian.net/debian/ wheezy/main python-pkg-resources all 0.6.24-1 [63.6 kB]                                                   
Get:5 http://cdn.debian.net/debian/ wheezy/main python-virtualenv all 1.7.1.2-2 [2121 kB]                                                                
Get:6 http://cdn.debian.net/debian/ wheezy/main python-setuptools all 0.6.24-1 [449 kB]
Get:7 http://security.debian.org/ wheezy/updates/main libpython2.7 amd64 2.7.3-6+deb7u3 [1207 kB]       
Get:8 http://security.debian.org/ wheezy/updates/main libssl-dev amd64 1.0.1t-1+deb7u1 [1791 kB]                       
Get:9 http://security.debian.org/ wheezy/updates/main python2.7-dev amd64 2.7.3-6+deb7u3 [22.8 MB]                                                           
Fetched 28.8 MB in 39s (730 kB/s)                                                                                                                            
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libexpat1-dev.
(Reading database ... 31585 files and directories currently installed.)
Unpacking libexpat1-dev (from .../libexpat1-dev_2.1.0-1+deb7u4_amd64.deb) ...
Selecting previously unselected package libffi-dev:amd64.
Unpacking libffi-dev:amd64 (from .../libffi-dev_3.0.10-3_amd64.deb) ...
Selecting previously unselected package libpython2.7.
Unpacking libpython2.7 (from .../libpython2.7_2.7.3-6+deb7u3_amd64.deb) ...
Selecting previously unselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_1.0.1t-1+deb7u1_amd64.deb) ...
Selecting previously unselected package python2.7-dev.
Unpacking python2.7-dev (from .../python2.7-dev_2.7.3-6+deb7u3_amd64.deb) ...
Selecting previously unselected package python-dev.
Unpacking python-dev (from .../python-dev_2.7.3-4+deb7u1_all.deb) ...
Selecting previously unselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6.24-1_all.deb) ...
Selecting previously unselected package python-setuptools.
Unpacking python-setuptools (from .../python-setuptools_0.6.24-1_all.deb) ...
Selecting previously unselected package python-virtualenv.
Unpacking python-virtualenv (from .../python-virtualenv_1.7.1.2-2_all.deb) ...
Processing triggers for man-db ...
Setting up libexpat1-dev (2.1.0-1+deb7u4) ...
Setting up libffi-dev:amd64 (3.0.10-3) ...
Setting up libpython2.7 (2.7.3-6+deb7u3) ...
Setting up libssl-dev (1.0.1t-1+deb7u1) ...
Setting up python2.7-dev (2.7.3-6+deb7u3) ...
Setting up python-dev (2.7.3-4+deb7u1) ...
Setting up python-pkg-resources (0.6.24-1) ...
Setting up python-setuptools (0.6.24-1) ...
Setting up python-virtualenv (1.7.1.2-2) ...
Counting objects: 5853, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1778/1778), done.
Writing objects: 100% (5853/5853), done.
Total 5853 (delta 3588), reused 5853 (delta 3588)
Creating virtual environment...
Installing Python packages...
Installation succeeded.

Selanjutnya akan muncul mode grafik install ssl dan pastikan domain sudah siap

sebagai contoh domain opac.ppkn.fkip.unpkediri.ac.id

Next

Next

Next

Next

next

Dan Akhirnya selesai dan berhasil

untuk configurasi webserver apache nya seperti ini :

Demikian langkah install Let's Encrypt di VPS Proxmox, semoga berguna