Distribution : Debian 9
CPU : 4
RAM : 4 Go
Nom du disque système : sysdiskhl02
Taille : 15 Go
Nom (Hostname) : serverhl02
Identifiant administrateur : admin
util01@station02:~$ ssh admin@217.70.189.227
admin@217.70.189.227's password:
Linux serverhl02 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64
...
admin@serverhl02:~$
admin@serverhl02:~$ su
Password:
root@serverhl02:/home/admin#
root@serverhl02:/home/admin# apt-get update && apt-get upgrade
root@serverhl02:/home/admin# apt-get install mc vim htop screen
Ouvrir :
/etc/locale.gen
Chercher et décommenter :
# fr_FR ISO-8859-1
# fr_FR.UTF-8 UTF-8
Actions :
root@serverhl02:/home/admin# locale-gen
root@serverhl02:/home/admin# export LANGUAGE=fr_FR.UTF-8
root@serverhl02:/home/admin# export LANG=fr_FR.UTF-8
root@serverhl02:/home/admin# export LC_ALL=fr_FR.UTF-8
root@serverhl02:/home/admin# apt-get install nginx
Ouvrir :
/etc/apt/sources.list.d/debian-stretch.list
Ajouter à la fin :
deb [arch=amd64] http://deb.debian.org/debian stretch-backports main contrib non-free
deb-src [arch=amd64] http://deb.debian.org/debian stretch-backports main contrib non-free
Action :
root@jitsi:/# apt update
root@serverhl02:/home/admin# apt install certbot python-certbot-nginx -t stretch-backports
root@serverhl02:/home/admin# certbot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Enter email address (used for urgent renewal and security notices) (Enter 'c' to
cancel): lesanglierdesardennes@gmail.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A)gree/(C)ancel: A
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let's Encrypt project and the non-profit
organization that develops Certbot? We'd like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: N
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter 'c' to cancel): jitsi.hacklab.fr
...
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you're confident your site works on HTTPS. You can undo this
change by editing your web server's configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
...
Congratulations! You have successfully enabled https://jitsi.hacklab.fr
...
root@serverhl02:/home/admin#
root@serverhl02:/home/admin# apt-get install openjdk-8-jre-headless ca-certificates-java
root@serverhl02:/home/admin# echo 'deb https://download.jitsi.org stable/' >> /etc/apt/sources.list.d/jitsi-stable.list
root@serverhl02:/home/admin# wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -
root@serverhl02:/home/admin# apt-get update
root@serverhl02:/home/admin# apt-get install jitsi-meet
- Configuring jitsi-videobridge
Hostname : jitsi.hacklab.fr
- Configuring jitsi-meet-web-config
SSL certificate for the Jitsi Meet instance : Generate a new self-signed certificate (You will later get a chance to obtain a Let's Encrypt certificate)
- < OK>
root@serverhl02:/home/admin# rm /etc/nginx/sites-enabled/default.conf
root@serverhl02:/home/admin# service nginx restart