Files
sans.pub/install-serveur.md
T
2026-02-19 12:30:26 +01:00

102 lines
1.6 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Étapes de configuration du serveur
## Création compte
Cf https://fr-wiki.ikoula.com/fr/S%C3%A9curiser_sa_machine_Debian#Interdire_le_login_root
```
ssh root@xxx.xx.xx.xx
adduser zuckadduser zuck
usermod -a -G sudo zuck
```
Au cas où vous n'auriez pas la référence :
> Mark Zuckerberg est le cofondateur de Facebook.com !
> Il est né le 14 mai 1984 à White Plains
```
ssh-copy-id -i ~/.ssh/xxxxx.pub zuck@xx.xx.xx.xx
ssh zuck@xx.xx.xx.xx
sudo vim /etc/ssh/sshd_config
# -> modifier "PermitRootLogin no"
# -> modifier "Port 22"
sudo /etc/init.d/ssh restart
```
## TODO
### Utilisé
Toujours rien …
### En test (par moi)
## Configuration en cours
- Rainloop
- Writefreely
- Dokuwiki
### Installé
- Bitwarden
### Must have
- Etherpad
- OpenSondage
- NextCloud
- Baikal ?
- Matrix / Riot
- Tiny tiny RSS
BACKUPS !!!
### Nice to have
- Mastodon
- Gitea
- OnlyOffice ?
- Facebook -> Diaspora, Hubzilla ?
- PixelFed
- Mailman
- Peertube
- Pi-Hole
- searx
- Wallabag ?
- Discourse ?
## DNS
```
#
# Basic ipv4/ipv6 records
#
@ 3600 IN A 109.238.11.111
* 3600 IN A 109.238.11.111
# (If your server is IPv6 capable, there are some AAAA records)
@ 3600 IN AAAA 2a00:c70:1:109:238:11:111:0000
* 3600 IN AAAA 2a00:c70:1:109:238:11:111:0000
#
# XMPP
#
_xmpp-client._tcp 3600 IN SRV 0 5 5222 sans.pub.
_xmpp-server._tcp 3600 IN SRV 0 5 5269 sans.pub.
muc 3600 IN CNAME @
pubsub 3600 IN CNAME @
vjud 3600 IN CNAME @
#
# Mail (MX, SPF, DKIM and DMARC)
#
@ 3600 IN MX 10 sans.pub.
@ 3600 IN TXT "v=spf1 a mx ip4:109.238.11.111 -all"
mail._domainkey 3600 IN TXT "v=DKIM1; k=rsa; p=auinetapodtépledtaiunsetauieauiet787s"
_dmarc 3600 IN TXT "v=DMARC1; p=none"
```