Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tech:linux:setup_new_vm [2020/06/22 06:27] (current)
Line 1: Line 1:
 +====== Setting up a new Linux VM ======
 +This is similar to [[setup_new_box|Setup New Liux (Physical) Box]]
 +
 +This page goes through the various settings that take place to setup a new Ubuntu VM. In this case I was setting Ubuntu 20.10 Groovy Gorilla.
 +
 +===== Install Configuration / Steps =====
 +    * Postfix is no longer installed by default on Groovy - so please install
 +
 +===== System Configuration =====
 +  * Update system by running "​aptitude"​
 +    * Completed Security Upgrades
 +    * Complete Package Upgrades
 +    * Reboot
 +  * Network configuration
 +    * Settings are at [[setup_network_groovy|/​etc/​netplan/​00-installer-config.yaml]]
 +  * Update user settings with [[etc_skel|this]] set
 +  * Install the [[most_common_packages_v2|most common packages]] that will the required
 +
 +===== apt related =====
 +  * [[tech:​linux:​apt_upgrades|Automatic apt upgrades]]
 +  * [[tech:​linux:​apt_update_resource_overload|APT update resource overload]]
 +
 +===== More items =====
 +  * Mail
 +    * Setup postfix
 +  * SSH
 +    * Generate SSH private and public keys
 +  * Tuning
 +    * Change swapiness and other parameters based on server needs - [[tech:​linux:​sysctl_config|sysctl.conf]]
 +  * Others
 +    * Optionally ask server to reboot automatically on [[tech1:​linux:​kernel_panic|kernel panic]]
 +    * [[tech1:​linux:​others:​i2c_piix4|Disable module i2c_piix4]] on Virtual Machines
 +    * Install NRPE to be monitored
 +      * nagios-nrpe-server nagios-plugins
 +    * Install x11-utils x11-xserver-utils
 +
 +===== Other Items configuration =====
 +  * [[apache_configuration|Apache Configuration]]
 +  * [[sudo_without_password|Setup to sudo without password]]
 +  * [[tech:​linux:​mail_server_setup|Mail Server Configuration]]
 +  * [[tech:​linux:​mysql:​backups|MySQL Backups]]
 +  * [[tech:​linux:​others:​ntp_update|Reset System Clock with NTP Update]]
 +  * [[tech:​linux:​others:​pflogsumm_mail_report|Setup mail reporting using pflogsumm]]
 +  * [[tech:​linux:​others:​notify_reboot_req|Notify if the system requires a reboot]]
 +  * [[tech:​others:​mounting_usb_drive_in_ubuntu&#​permanently_mount_the_usb_drive|Mounting a USB drive permanently for Backups]]
 +  * Install telnetd - To be used in case SSH server is down.  Remember to change password immediately if doing a remote connection.
 +  * [[tech:​linux:​php_ini|Update php.ini]] configuration file to improve on default limits
 +  * [[apt_update_resource_overload|Disable APT update resource overload]]
 +  * Nagios
 +    * If only setting this up for being monitored install nagios-nrpe-server nagios-plugins
 +    * Share keys between Nagios host and the new VM
 +  * Backuppc
 +    * Setup key share access between backuppc host and the new VM
  

QR Code
QR Code tech:linux:setup_new_vm (generated for current page)