Skip to content

Latest commit

 

History

History
130 lines (87 loc) · 3.73 KB

VIRTUALMIN.md

File metadata and controls

130 lines (87 loc) · 3.73 KB

logo dev in the hood

License Version

Configuration de serveurs

Installation Virtualmin

logo Virtualmin

Installation

Téléchargement

wget http://software.virtualmin.com/gpl/scripts/install.sh

Installation

dites oui à la question posée lors de l'installation et exemple de hostname défini si demandé: devinthehood01.devinthehood.com

source install.sh 

Configuration

Dans webmin > webmin configuration > ports and ip address

changer les deux 10000 by 8000

Activer DKIM

dans email settings > domainKeys identified mail

now you can install packages updates and re-check the config, correcting the errors like this

This virtual server is using the mod_php or FPM execution mode for PHP, such does not allow per-directory version selection.

Dans virtualmin -> Server configuration -> Website options -> choisir fcgid

The mailman queue processor /usr/lib/mailman/bin/qrunner is not running on your system.

System Settings -> Features and Plugins, et vous pouvez désactiver "Mailman feature"
et "ENABLE SSL WEBSITE"

Mots-clefs: map, dependant Sender Dependent Outgoing IP Address

nano /etc/postfix/main.cf

Chercher la ligne "sender_dependent_default_transport_maps" . Ajouter cette ligne si elle n'existe pas encore

sender_dependent_default_transport_maps = hash:/etc/postfix/dependent

Permettre les emails smtp depuis Django

smtpd_sender_restrictions = permit_mynetworks, warn_if_reject

Adapter pour respecter ceci

myhostname = ##REVERSE_DNS_IPV4##
myorigin = ##REVERSE_DNS_IPV4##
mydestination = localhost.localdomain, localhost, ##REVERSE_DNS_IPV4##
relayhost =
mynetworks = 127.0.0.0/8, ##IPV4_PUBLIQUE_SERVEUR## [::1]/18
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4

Commandes à lancer

touch /etc/postfix/dependent && postmap hash:/etc/postfix/dependent &&
a2dissite 000-default.conf &&
service postfix restart && service apache2 restart

Change les ips en cas de problème

Synchroniser les horloges

verifier l heure systeme puis webmin/hardware/system time/update timezone (europe/brussels) puis webmin/others/php configuration/other settings et changer la timezone pour les 3 lignes du tableau (manage)

⚠️ VERIFIER L HEURE EXACTE APRES LA CREATION DU PREMIER SERVEUR VIRTUEL (pour corriger un serveur: virtualmin/choix du serveur/services/phpX configuration et changer timezone)

Restauration en ligne de commandes

virtualmin restore-domain --source /path/FILE.tar.gz --all-domains --all-features

Corriger problèmes d'accès DB

Aller dans webmin > servers > mysql > databases privilèges et sélectionner la liste des droits

Modèles de fichiers de conf Apache Enregistrements DNS Ajouter un serveur virtuel Certificat SSL

License

The Server Config is open-sourced software licensed under the MIT license.

© 2019 dev in the hood