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/01 13:44] – [Première étape] admin | tutoriel:internet:disque_internet:owncloud:raspi:start [2022/03/03 09:49] – [Autres étapes] admin | ||
---|---|---|---|
Ligne 18: | Ligne 18: | ||
<WRAP list-deep> | <WRAP list-deep> | ||
- | - **Configuration du réseau, Téléchargement du logiciel** | + | - **Étape 1 : Ce dont vous avez besoin** |
+ | - **Étape 2 : Configurer le réseau | ||
Generating RSA private key, 1024 bit long modulus (2 primes) | Generating RSA private key, 1024 bit long modulus (2 primes) | ||
.....................+++++ | .....................+++++ | ||
Ligne 28: | Ligne 29: | ||
Enter pass phrase for server.key: | Enter pass phrase for server.key: | ||
writing RSA key | writing RSA key | ||
- | pi@framboise4: | + | pi@framboise4: |
+ | 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]:FR | ||
+ | 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 ' | ||
+ | to be sent with your certificate request | ||
+ | A challenge password []:pass | ||
+ | An optional company name []: | ||
+ | pi@framboise4: | ||
+ | Signature ok | ||
+ | subject=C = FR, ST = Some-State, O = Internet Widgits Pty Ltd | ||
+ | Getting Private key | ||
+ | Enter pass phrase for server.key: | ||
+ | pi@framboise4: | ||
+ | pi@framboise4: | ||
+ | pi@framboise4: | ||
+ | ... | ||
+ | Enabling module ssl. | ||
+ | See / | ||
+ | To activate the new configuration, | ||
+ | systemctl restart apache2 | ||
+ | pi@framboise4: | ||
+ | Enabling site default-ssl. | ||
+ | To activate the new configuration, | ||
+ | systemctl restart apache2 | ||
</ | </ | ||
- | <cli prompt=' | ||
- | sudo openssl rsa in server.key -out server.key.insecure | ||
- | sudo openssl req -new -key server.key -out server.csr | ||
- | sudo openssl x509 -reg -days 365 -in server.csr -signkey server.key -out server.crt | ||
- | sudo cp server.crt / | ||
- | sudo cp server.key / | ||
- | sudo a2enmod ssl;sudo a2ensite default.ssl</ | ||
</ | </ | ||
===== 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=' | ||
+ | - Mettez à jour le Pi et téléchargez le logiciel :<cli prompt=' | ||
+ | - Installez Apache, SSL, PHP5, PHP APC qui chargeront les pages plus rapidement :<cli prompt=' | ||
+ | </ | ||
===== Conclusion ===== | ===== Conclusion ===== | ||