Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
tutoriel:internet:disque_internet:owncloud:raspi:start [2022/03/02 23:58] – [Première étape] admin | tutoriel:internet:disque_internet:owncloud:raspi:start [2022/03/03 09:43] – [Autres étapes] admin | ||
---|---|---|---|
Ligne 17: | Ligne 17: | ||
===== Première étape ===== | ===== Première étape ===== | ||
+ | <WRAP list-deep> | ||
- **Étape 1 : Ce dont vous avez besoin** | - **Étape 1 : Ce dont vous avez besoin** | ||
- **Étape 2 : Configurer le réseau Télécharger le logiciel**< | - **Étape 2 : Configurer le réseau Télécharger le logiciel**< | ||
Ligne 28: | Ligne 29: | ||
Enter pass phrase for server.key: | Enter pass phrase for server.key: | ||
writing RSA key | writing RSA key | ||
- | |||
- | pi@raspberrypi ~ $ sudo openssl rsa -in server.key -out server.key.insecure | ||
- | pi@raspberrypi ~ $ sudo openssl req -new -key server.key -out server.csr | ||
- | pi@raspberrypi ~ $ sudo openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt | ||
- | pi@raspberrypi ~ $ sudo cp server.crt / | ||
- | sudo cp server.key / | ||
- | sudo a2enmod ssl | ||
- | sudo a2ensite default-ssl</ | ||
- | <cli prompt=' | ||
- | Enter pass phrase for server.key: | ||
- | writing RSA key | ||
- | Enter pass phrase for server.key: | ||
- | You are about to be asked to enter information that will be incorporated | ||
- | into your certificate request. | ||
- | What you are about to enter is what is called a Distinguished Name or a DN. | ||
- | There are quite a few fields but you can leave some blank | ||
- | For some fields there will be a default value, | ||
- | If you enter ' | ||
- | ----- | ||
- | Country Name (2 letter code) [AU]: | ||
- | State or Province Name (full name) [Some-State]: | ||
- | Locality Name (eg, city) []: | ||
- | Organization Name (eg, company) [Internet Widgits Pty Ltd]: | ||
- | Organizational Unit Name (eg, section) []: | ||
- | Common Name (e.g. server FQDN or YOUR name) []: | ||
- | Email Address []: | ||
- | |||
- | Please enter the following ‘extra’ attributes | ||
- | to be sent with your certificate request | ||
- | A challenge password []:pass | ||
- | An optional company name []: | ||
- | Signature ok | ||
- | subj ect=/ | ||
- | Getting Private key | ||
- | Enter pass phrase for server.key: | ||
- | Enabling module ssl. | ||
- | See / | ||
- | To activate the new configuration, | ||
- | service apache2 restart | ||
- | Enabling site default-ssl. | ||
- | To activate the new configuration, | ||
- | service apache2 reload | ||
- | pi@raspberrypi ~ $ </ | ||
- | <WRAP list-deep> | ||
- | - **Étape 2 : Configuration du réseau, Téléchargement du logiciel** :<cli prompt=' | ||
pi@framboise4: | pi@framboise4: | ||
Enter pass phrase for server.key: | Enter pass phrase for server.key: | ||
Ligne 88: | Ligne 44: | ||
Organizational Unit Name (eg, section) []: | Organizational Unit Name (eg, section) []: | ||
Common Name (e.g. server FQDN or YOUR name) []: | Common Name (e.g. server FQDN or YOUR name) []: | ||
- | Email Address []:moi@mail.fr | + | Email Address []: |
Please enter the following ' | Please enter the following ' | ||
to be sent with your certificate request | to be sent with your certificate request | ||
- | A challenge password []: | + | A challenge password []:pass |
An optional company name []: | An optional company name []: | ||
pi@framboise4: | pi@framboise4: | ||
Signature ok | Signature ok | ||
- | subject=C = FR, ST = Some-State, O = Internet Widgits Pty Ltd, emailAddress = nicolas@nfrappe.fr | + | subject=C = FR, ST = Some-State, O = Internet Widgits Pty Ltd |
Getting Private key | Getting Private key | ||
Enter pass phrase for server.key: | Enter pass phrase for server.key: | ||
Ligne 102: | Ligne 58: | ||
pi@framboise4: | pi@framboise4: | ||
pi@framboise4: | pi@framboise4: | ||
- | Considering dependency setenvif for ssl: | + | ... |
- | Module setenvif already enabled | + | |
- | Considering dependency mime for ssl: | + | |
- | Module mime already enabled | + | |
- | Considering dependency socache_shmcb for ssl: | + | |
- | Enabling module socache_shmcb. | + | |
Enabling module ssl. | Enabling module ssl. | ||
See / | See / | ||
Ligne 113: | Ligne 64: | ||
systemctl restart apache2 | systemctl restart apache2 | ||
pi@framboise4: | pi@framboise4: | ||
- | ERROR: Site default.ssl does not exist! | + | Enabling site default-ssl. |
- | pi@framboise4:~ $ | + | To activate the new configuration, |
+ | systemctl restart apache2 | ||
</ | </ | ||
</ | </ | ||
===== Autres étapes ===== | ===== Autres étapes ===== | ||
+ | Tout d' | ||
+ | <WRAP list-deep> | ||
+ | - Éditez avec les droits d' | ||
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | - Redémarrez le réseau :<cli prompt=' | ||
+ | </ | ||
===== Conclusion ===== | ===== Conclusion ===== | ||