Notes d'installation du serveur Yunohost pour le futur Chatons YesWiki
Serveur chez hetzner
https://robot.your-server.de/server
- 2x HDD SATA 6,0 TB Enterprise
- NIC 1 Gbit
- Location: FSN1
- 1 x Primary IPv4
IPv4 Address: 195.201.63.240
IPv6 Address: 2a01:4f8:13b:24e::2
Penser a passer le reverse DNS de hetzner pour faire le lien entre le nom yeswiki.net et les adresses ip du serveur
Installation serveur
DNS de yeswiki.net
faire les entrées DNS suivantes (en attendant de basculer sur yeswiki.net, on fait yunohost) :
``
*.yunohost 10800 IN A 195.201.63.240
*.yunohost 10800 IN AAAA 2a01:4f8:13b:24e::2
_dmarc.yunohost 10800 IN TXT "v=DMARC1; p=none"
_xmpp-client._tcp.yunohost 10800 IN SRV 0 5 5222 yunohost.yeswiki.net.
_xmpp-server._tcp.yunohost 10800 IN SRV 0 5 5269 yunohost.yeswiki.net.
mail._domainkey.yunohost 10800 IN TXT "v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC8l6u+HphGlk4IhSTVkXiHX+EIBOvJKoSzg+Fair5d50z5QGuNPd5+jHgComTBSUqamvl61Jzn9D8/HC1gz/yqpoVVAOjSCiZafJtbq8i3IfdLoAah7LxXrsFy/keyS2kIkv9cjH7MrTGHRjS+0SFLz3MFmESYRuwtVGsvyXTwHQIDAQAB"
muc.yunohost 10800 IN CNAME yunohost.yeswiki.net.
pubsub.yunohost 10800 IN CNAME yunohost.yeswiki.net.
vjud.yunohost 10800 IN CNAME yunohost.yeswiki.net.
xmpp-upload.yunohost 10800 IN CNAME yunohost.yeswiki.net.
yunohost 10800 IN A 195.201.63.240
yunohost 10800 IN AAAA 2a01:4f8:13b:24e::2
yunohost 10800 IN CAA 128 issue "letsencrypt.org"
yunohost 10800 IN MX 10 yunohost.yeswiki.net.
yunohost 10800 IN TXT "v=spf1 a mx -all"
`
Sur le serveur (basé sur une image debian bullseye base sans rien) en tant que root (puis admin apres avoir installé yunohost)
`
bash
sudo dpkg-reconfigure locales
`
cocher fr_FR.UTF8 et en_US.UTF8 puis fr_FR.UTF8 par défaut
`
sudo apt -y update && sudo apt -y upgrade
sudo apt install vim -y
sudo hostnamectl set-hostname yeswiki.net --static
sudo vim /etc/hosts
``
mettre
yeswiki.net
pour les ip4 et ip6 et puis
reboot
``
sudo wget https://install.yunohost.org/bullseye -O install_script
sudo bash install_script -d testing
sudo yunohost tools postinstall
`
domaine principal : yunohost.yeswiki.net
mot de passe admin :
<dispo sur cooptation>
- Pads avancés en Markdown https://md.yeswiki.net
`
sudo yunohost domain add md.yeswiki.net
sudo yunohost domain cert-install --no-checks
sudo yunohost app install hedgedoc -a "domain=md.yeswiki.net&path=/&is_public=yes&language=fr"
`
- Post-it scrumblr https://postit.yeswiki.net
`
sudo yunohost domain add postit.yeswiki.net
sudo yunohost domain cert-install --no-checks
sudo yunohost app install scrumblr -a "domain=postit.yeswiki.net&path=/&is_public=yes&language=fr"
`
- Cryptpad https://cryptpad.yeswiki.net
`
sudo yunohost domain add cryptpad.yeswiki.net
sudo yunohost domain cert-install --no-checks
sudo yunohost app install cryptpad -a "domain=cryptpad.yeswiki.net&path=/&is_public=yes&language=fr"
`
- Partage de texte (ou code) secret https://paste.yeswiki.net
`
sudo yunohost domain add paste.yeswiki.net
sudo yunohost domain cert-install --no-checks
sudo yunohost app install privatebin -a "domain=paste.yeswiki.net&path=/&is_public=yes&language=fr"
`
- Nextcloud https://nuage.yeswiki.net (remplacerait le cloud coop.tools)
`
sudo yunohost domain add nuage.yeswiki.net
sudo yunohost domain cert-install --no-checks
sudo yunohost app install nextcloud -a "domain=nuage.yeswiki.net&path=/&is_public=yes&language=fr"
`
- Sysadmin
Phpmyadmin https://sql.yeswiki.net
`
sudo yunohost domain add sql.yeswiki.net
sudo yunohost domain cert-install --no-checks
sudo yunohost app install phpmyadmin -a "domain=sql.yeswiki.net&path=/&is_public=yes&language=fr"
`
Grafana https://monitor.yeswiki.net
`
sudo yunohost domain add monitor.yeswiki.net
sudo yunohost domain cert-install --no-checks
sudo yunohost app install grafana -a "domain=monitor.yeswiki.net&path=/&is_public=yes&language=fr"
`
- Jeux
Sutom https://sutom.yeswiki.net
`
sudo yunohost domain add sutom.yeswiki.net
sudo yunohost domain cert-install --no-checks
sudo yunohost app install https://github.com/YunoHost-Apps/sutom_ynh/tree/testing -a "domain=sutom.yeswiki.net&path=/&is_public=yes&language=fr"
``
TODO
- Ferme a wiki
https://ferme.yeswiki.net
- Vidéo peertube
https://videos.yeswiki.net (qui contiendrait les video de coop.tools avec redirection de video.coop.tools vers videos.yeswiki.net)
- Pads
https://pad.yeswiki.net (qui contiendrait les pads de coop.tools avec redirection de pad.coop.tools vers pad.yeswiki.net)