{"id":164,"date":"2024-06-06T17:07:05","date_gmt":"2024-06-06T16:07:05","guid":{"rendered":"https:\/\/thevadasan.com\/?p=164"},"modified":"2024-05-29T17:25:10","modified_gmt":"2024-05-29T16:25:10","slug":"top-10-things-to-do-when-you-first-install-proxmox","status":"publish","type":"post","link":"https:\/\/thevadasan.com\/?p=164","title":{"rendered":"Top 10 Things to Do When You First Install Proxmox"},"content":{"rendered":"\n<p>Proxmox Virtual Environment (VE) is a powerful, open-source virtualization platform that combines KVM (Kernel-based Virtual Machine) and LXC (Linux Containers) with a web-based management interface. If you&#8217;ve just installed Proxmox, there are a few essential steps to take to ensure your setup is secure, efficient, and ready for production. Here are the top 10 things to do when you first install Proxmox.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. <strong>Update Your Proxmox Installation<\/strong><\/h4>\n\n\n\n<p>The first step after installing Proxmox is to update it to the latest version. This ensures you have the latest features, improvements, and security patches.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">apt update &amp;&amp; apt full-upgrade<\/code><\/pre>\n\n\n\n<p>After updating, reboot your server to apply the changes.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">2. <strong>Set Up a Static IP Address<\/strong><\/h4>\n\n\n\n<p>A static IP address ensures that your Proxmox server is easily accessible on your network.<\/p>\n\n\n\n<p>Edit the network configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">nano \/etc\/network\/interfaces<\/code><\/pre>\n\n\n\n<p>Update the configuration to use a static IP. Here\u2019s an example configuration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">auto lo\niface lo inet loopback\n\nauto eth0\niface eth0 inet static\n    address 192.168.1.100\n    netmask 255.255.255.0\n    gateway 192.168.1.1<\/code><\/pre>\n\n\n\n<p>Save the file and restart the networking service:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">systemctl restart networking<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">3. <strong>Configure DNS and Hostname<\/strong><\/h4>\n\n\n\n<p>Proper DNS and hostname settings are crucial for the smooth operation of your Proxmox server.<\/p>\n\n\n\n<p>Set the hostname:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">hostnamectl set-hostname yourhostname<\/code><\/pre>\n\n\n\n<p>Edit the <code>\/etc\/hosts<\/code> file to include your server\u2019s hostname and IP address:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">nano \/etc\/hosts<\/code><\/pre>\n\n\n\n<p>Add a line like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">192.168.1.100 yourhostname<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">4. <strong>Set Up Email Notifications<\/strong><\/h4>\n\n\n\n<p>Configuring email notifications allows you to stay informed about the status and issues of your Proxmox server.<\/p>\n\n\n\n<p>Go to <code>Datacenter<\/code> -&gt; <code>Options<\/code> in the Proxmox web interface, and configure the email settings under <code>Email from address<\/code> and <code>Notification email<\/code>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">5. <strong>Create a Proxmox Subscription<\/strong><\/h4>\n\n\n\n<p>While Proxmox VE is free, a subscription provides access to the enterprise repository, which offers tested and stable updates. You can purchase a subscription from the Proxmox website and enter it in the web interface under <code>Datacenter<\/code> -&gt; <code>Subscription<\/code>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">6. <strong>Add a Storage Backend<\/strong><\/h4>\n\n\n\n<p>Proxmox supports various storage backends, including local storage, NFS, and iSCSI. Adding a storage backend allows you to store VM and container data efficiently.<\/p>\n\n\n\n<p>To add storage, go to <code>Datacenter<\/code> -&gt; <code>Storage<\/code> -&gt; <code>Add<\/code>, and choose the storage type. Configure it according to your storage setup.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">7. <strong>Configure Backup Settings<\/strong><\/h4>\n\n\n\n<p>Regular backups are critical for data protection. Proxmox makes it easy to configure backup jobs.<\/p>\n\n\n\n<p>Go to <code>Datacenter<\/code> -&gt; <code>Backup<\/code> -&gt; <code>Add<\/code> and configure a backup job. Choose the storage location, schedule, and the VMs\/containers to back up.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">8. <strong>Set Up a Firewall<\/strong><\/h4>\n\n\n\n<p>Proxmox includes a built-in firewall to enhance security. You can configure rules at the datacenter, host, or VM level.<\/p>\n\n\n\n<p>Enable the firewall by going to <code>Datacenter<\/code> -&gt; <code>Firewall<\/code> and toggle the <code>Firewall<\/code> switch. Then, add rules as needed under <code>Datacenter<\/code> -&gt; <code>Firewall<\/code> -&gt; <code>Rules<\/code>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">9. <strong>Enable Two-Factor Authentication<\/strong><\/h4>\n\n\n\n<p>To add an extra layer of security, enable two-factor authentication (2FA).<\/p>\n\n\n\n<p>Go to <code>Datacenter<\/code> -&gt; <code>Permissions<\/code> -&gt; <code>Realm<\/code> and select <code>TFA<\/code>. Configure the 2FA method (e.g., TOTP, WebAuthn) and follow the setup instructions.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">10. <strong>Create Your First VM or Container<\/strong><\/h4>\n\n\n\n<p>Finally, start creating VMs or containers to utilize your Proxmox server&#8217;s capabilities.<\/p>\n\n\n\n<p>To create a VM, click <code>Create VM<\/code> and follow the wizard to set up your virtual machine. For containers, click <code>Create CT<\/code> and configure your container settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>By following these steps, you&#8217;ll ensure that your Proxmox server is secure, up-to-date, and ready for production use. Proxmox VE offers a robust set of features for virtualization, and setting it up correctly from the start will help you get the most out of this powerful platform. Happy virtualizing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Proxmox Virtual Environment (VE) is a powerful, open-source virtualization platform that combines KVM (Kernel-based Virtual Machine) and LXC (Linux Containers) with a web-based management interface. If you&#8217;ve just installed Proxmox, there are a few essential steps to take to ensure your setup is secure, efficient, and ready for production. Here are the top 10 things [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":165,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[34,24],"tags":[27],"_links":{"self":[{"href":"https:\/\/thevadasan.com\/index.php?rest_route=\/wp\/v2\/posts\/164"}],"collection":[{"href":"https:\/\/thevadasan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thevadasan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thevadasan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thevadasan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":1,"href":"https:\/\/thevadasan.com\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":166,"href":"https:\/\/thevadasan.com\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions\/166"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thevadasan.com\/index.php?rest_route=\/wp\/v2\/media\/165"}],"wp:attachment":[{"href":"https:\/\/thevadasan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thevadasan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thevadasan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}