Sv translation | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
Change to root
Update and Install Packages
Configure VIMVIM detects the mouse, and copy pasting between two terminal windows is annoying because of this. Disable this as follows for root and jtel:
Configure Sudo for jtel UserThe following command adds the jtel user to the sudo group:
Setup the FirewallThe following commands enable the firewall and allow ssh.
Setup chronyThe following commands install chrony and modify the basic chrony.conf file to remove usage of the default pool and any configured servers, and replace this with the 3 (very reliable) time servers from the German PTB.
Check chrony
Bash SettingsThe following script does the following:
Detect the Hypervisor
VMWareThe tools are installed as follows:
Hyper-V The tools are installed as follows:
KVM The tools are installed as follows:
Other Hypervisors Consult the manufacturer for further detals. RebootReboot to load the new kernel if one was downloaded and make sure the guest tools are running OK. Proxy ServerProxy ServerIf a proxy server is used, the following commands will configure the proxy server for root and the jtel user. The top 5 lines should be modified.
C |
Sv translation | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Changer à root
Mise à jour et installation des paquets
Configurer VIMLe VIM détecte la souris, et le copier-coller entre deux fenêtres de terminal est gênant à cause de cela. Désactivez cette fonction comme suit pour root et jtel :
Configurer Sudo pour l'utilisateur jtelLa commande suivante ajoute l'utilisateur jtel au groupe sudo :
Configurer le pare-feuLes commandes suivantes permettent d'activer le pare-feu et d'autoriser ssh.
Configurer chronyLes commandes suivantes installent chrony et modifient le fichier chrony.conf de base pour supprimer l'utilisation du pool par défaut et de tout serveur configuré, et le remplacer par les 3 serveurs de temps (très fiables) du PTB allemand.
Vérifier chrony
Paramètres bash:Le script suivant effectue les opérations suivantes:
Détecter l'hyperviseur
VMWareLes outils sont installés comme suit :
Hyper-V Les outils sont installés comme suit :
KVM Les outils sont installés comme suit :
Autres hyperviseurs Consultez le fabricant pour plus de détails. RedémarrerRedémarrez pour charger le nouveau noyau si un a été téléchargé et assurez-vous que les outils invités fonctionnent correctement. |