HowTo Bi-DDarija: Free Server + Cloud storage + App+ 200 GB + 24 GB RAM + 4 OCPU (gratuit pour dima)
########Ubuntu#######
sudo -i
##(ou bien sudo su -)##
sudo apt-get update && sudo apt-get upgrade -y
sudo apt install xrdp -y
(sudo systemctl enable --now xrdp)
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 3389 -j ACCEPT
sudo apt install ubuntu-desktop
sudo reboot
sudo adduser ubuntu1
sudo usermod -G xrdp ubuntu1
sudo usermod -aG sudo ubuntu1
########Nextcloud#######
sudo snap install nextcloud
snap changes nextcloud
snap info nextcloud
snap connections nextcloud
sudo nextcloud.manual-install ubuntu1 Casablanca.1234
sudo nextcloud.occ config:system:get trusted_domains
sudo nextcloud.occ config:system:set trusted_domains 1 --value=000.000.000.000
Hostname -I
sudo nextcloud.occ config:system:set trusted_domains 2 --value=10.000.000.000
sudo ufw allow 80,443/tcp
sudo nextcloud.enable-https lets-encrypt
sudo nextcloud.enable-https self-signed
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 443 -j ACCEPT
sudo -i
sudo iptables-save (un caractere interdit par youtube, comme une V na3sa) /etc/iptables/rules.v4
########Webmin#######
sudo nano /etc/apt/sources.list
deb [ Ссылка ] sarge contrib
sudo apt update
wget -q -O- [ Ссылка ] | sudo apt-key add
sudo apt update
sudo apt install webmin
sudo ufw allow 10000
Ещё видео!