Post

yunohost-debian-stretch

yunohost-debian-stretch

yunohost-debian-stretch

Yunohost Debian Stretch

Installation Openssh + Systèmes

  • Serveur virtuel 64 bits : DebianStretch
  • machine : stretch
  • domaine :
  • root : ytreu49
  • Utilisateur : usera
  • Mot de passe : usera49

Installation en utilisant image netinstall (debian-9.3.0-amd64-netinst.iso)

Première connexion utilisateur, on relève adresse ip ip addr
192.168.0.29
Connexion via SSH

1
ssh usera@192.168.0.29

Passage en super utilisateur

1
su

Installer sudo

1
apt install sudo

Utilisateur avec droits su

1
2
echo "usera     ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
exit

Ajout dépot et mise à jour

1
sudo nano /etc/apt/sources.list.d/yunohost.list

deb http://vinaigrette.yunohost.org/debian/ stretch stable testing unstable testing unstable

1
sudo apt update

Erreur

1
Erreur de GPG : http://vinaigrette.yunohost.org/debian stretch InRelease : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 360AAF3259A3E6FF
1
gpg --keyserver pgpkeys.mit.edu --recv-key 59A3E6FF
1
2
3
gpg: failed to start the dirmngr '/usr/bin/dirmngr': Aucun fichier ou dossier de ce type
gpg: connecting dirmngr at '/home/usera/.gnupg/S.dirmngr' failed: Aucun fichier ou dossier de ce type
gpg: keyserver receive failed: Pas de dirmngr

Installer le paquet manquant

1
sudo apt-get install dirmngr --install-recommends

Récupérer la clé publique

1
gpg --keyserver pgpkeys.mit.edu --recv-key 59A3E6FF
1
2
3
4
gpg: /home/usera/.gnupg/trustdb.gpg: trustdb created
gpg: key 360AAF3259A3E6FF: public key "YunoHost <build@yunohost.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Exportez cette clé dans le système APT :

1
2
gpg -a --export 59A3E6FF | sudo apt-key add -
  OK

Mise à jour

1
sudo apt update && sudo apt dist-upgrade

Yunohost

Installez git

1
sudo apt install git

Le nouveau script https://github.com/YunoHost/install_script/blob/stretch/install_yunohost

1
nano /tmp/install_yunohost
1
2
3
4
...
#

...

Lancement installation

1
cd /tmp && sudo ./install_yunohost

/!\ Ne pas lancer la post installation

Pour récupérer le log

1
scp usera@192.168.0.29:/var/log/yunohost-installation.log /home/yannick/scripts/yunohost/

Post-installation https://yunohost.org/#/postinstall_fr Z4xS34QCafpT

DNS OVH

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$TTL 3600
@	IN SOA dns200.anycast.me. tech.ovh.net. (2018022100 86400 3600 3600000 300)
                         IN NS     dns200.anycast.me.
                         IN NS     ns200.anycast.me.
                         IN MX 10  cinay.pw.
                         IN A      93.113.206.145
                         IN AAAA   2a03:75c0:39:6a3f::1
                         IN TXT    "v=spf1 a mx ip4:93.113.206.145 ip6:2a03:75c0:39:6a3f::1 -all"
*                        IN CNAME  cinay.pw.
_dmarc                   IN TXT    "v=DMARC1; p=none"
_xmpp-client._tcp        IN SRV    0 5 5222 cinay.pw.
_xmpp-server._tcp        IN SRV    0 5 5269 cinay.pw.
mail._domainkey          IN TXT    ( "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC+M/ejK9RvHSuR1FEqrunyWZeykuFdOelkysfMWRhq9cJGgRcwewhzOhH0NTbqHS1z2r8oTzuXwnid2pCaA9iNsaHTeuDWxIUTh8NcL81PwOqPLQOtGnE9vTPAuh2lbaDui2KWvLrS01bg1U5cIiIzeuxAWhKnzZyRue1lK/OHPQIDAQAB" )
muc                      IN CNAME  cinay.pw.
pubsub                   IN CNAME  cinay.pw.
vjud                     IN CNAME  cinay.pw.
Cet article est sous licence CC BY 4.0 par l'auteur.