{"id":66,"date":"2020-07-26T16:24:20","date_gmt":"2020-07-26T14:24:20","guid":{"rendered":"https:\/\/cbulon.nl\/?p=66"},"modified":"2020-10-26T16:25:49","modified_gmt":"2020-10-26T15:25:49","slug":"server-virtualization-with-proxmox","status":"publish","type":"post","link":"https:\/\/www.cbulon.nl\/?p=66","title":{"rendered":"Server Virtualization with Proxmox"},"content":{"rendered":"\n<p>In my previous blog you can read about the server I build. This blog will describe the OS layer I will install on this build. I choose for <a href=\"https:\/\/www.proxmox.com\/\">Proxmox Virtual Environment<\/a> or in short, Proxmox VE. Proxmox VE is a complete open-source platform for enterprise virtualization. With the built-in web interface you can easily manage VMs and containers, software-defined storage and networking, high-availability clustering, and multiple out-of-the-box tools on a single solution.<\/p>\n\n\n\n<p>I have to say that <a href=\"https:\/\/www.proxmox.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Proxmox<\/a> is one of the better website which describe how to install and use their products. When you enter the <a href=\"https:\/\/www.proxmox.com\/en\/proxmox-ve\/get-started\">get-started<\/a> section of there website, there are 3 steps defined. See the <a href=\"https:\/\/pve.proxmox.com\/wiki\/Installation\">full installation guide<\/a> for more information.<\/p>\n\n\n\n<p><strong>Step 1: Download ISO image<\/strong><br>An ISO image file is an image of a disk. <a href=\"https:\/\/www.proxmox.com\/en\/downloads\">Download<\/a> the Proxmox VE ISO, then copy it to a USB flash drive or CD\/DVD in order to use it. Copy an ISO to my USB stick is not an everyday taks for me, so I used the steps from the full installation guide which was very detailed. Below I describe how you can do it on a MacOS, but Linux and Windows are also available. More info <a href=\"https:\/\/pve.proxmox.com\/wiki\/Prepare_Installation_Media\">here<\/a>. I downloaded version 6.2-1 when I write this blog.<\/p>\n\n\n\n<p>First we need to convert the .iso file to .img using the convert option of hdiutil. Go to the directory where you downloaded the ISO and run this command:<br><code># hdiutil convert -format UDRW -o proxmox-ve_6.2-1.dmg proxmox-ve_6.2-1.iso<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"302\" src=\"https:\/\/cbulon.nl\/wp-content\/uploads\/2020\/05\/Screenshot-2020-05-16-at-12.35.32-1024x302.png\" alt=\"\" class=\"wp-image-64\"\/><\/figure>\n\n\n\n<p>The new dmg file is about 900MB, but is probably compressed and will be uncompressed when we write it to the USB drive. My advise is to use an USB drive which is bigger than 1GB. <\/p>\n\n\n\n<p>To get the current list of devices run the command (see printscreen below)<br><code># diskutil list<\/code><\/p>\n\n\n\n<p>Write down the USB drive, in my case it is <code>\/dev\/disk3<\/code><br>The USB needs to be unmounted before you can write an image to it.<br>Unmount the disk with command<br><code># diskutil unmountDisk \/dev\/disk3<\/code><\/p>\n\n\n\n<p>Write the image to the USB with command <br><code># sudo dd if=proxmox-ve_6.2-1.dmg of=\/dev\/rdisk3 bs=1m<\/code><br><sub>* <em>We use rdiskX instead of&nbsp;diskX because it will increase the write speed.<\/em><\/sub><br>When this is finished, the USB is ready to use.<br>See below the output from the 3 commands<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"850\" src=\"https:\/\/cbulon.nl\/wp-content\/uploads\/2020\/05\/Screenshot-2020-05-16-at-12.52.00-1024x850.png\" alt=\"\" class=\"wp-image-69\"\/><\/figure>\n\n\n\n<p><strong>Step 2: Boot from USB<\/strong><br>Connect the USB drive to the server and make sure that booting from USB is enabled (check your servers BIOS settings). In my case I have to press F11 after I power on my server. Then follow the steps in the installation wizard. Full description can be found <a href=\"https:\/\/pve.proxmox.com\/wiki\/Installation#chapter_installation\">here<\/a>.<\/p>\n\n\n\n<p><em>Proxmox VE is based on Debian. This is why the install disk image include a complete Debian system (Debian 10 Buster for Proxmox VE version 6.x) as well as all necessary Proxmox VE packages.<\/em><\/p>\n\n\n\n<p>When you booted successful from the USB drive, you get a welcome screen.<br><code>Choose Install Proxmox VE<\/code><\/p>\n\n\n\n<p>Boot image starts and End User License Agreement (EULA) is displayed. <br><code>Click on I agree<\/code><br><br>Choose your target harddisk, I choose my SSD <code>\/dev\/sda<\/code> (465GB)<br>There is also a button <code>Options<\/code> where you can change your Filesystem and HDD size. At this moment I leave everything to default.<br>Click on <code>Next<\/code><br><br>At Location and Time Zone selection, I choose for Country: <code>Netherlands<\/code><br>The Time zone: <code>Europe\/Amsterdam<\/code> is automatically adjusted. <br>Choose your Keyboard Layout: <code>U.S. English<\/code><br>Click on <code>Next<\/code><br><br>Create your Administration Password and E-Mail Address and click on <code>Next<\/code>. This password will be connected to the root user.<br><br>Choose your Management Interface. I have only 1 network port, so I have only 1 option.<br>Choose your hostname, IP Address, Netmast, Gateway and DNS Server.<br>There is no automatically (or DHCP) option available. If you are already connected to the network and you have a DHCP configured, everything is already pre-filled for you with a DHCP address. Adjust what you want and click on <code>Next<\/code><br><br>On the next page you see a summary of your settings you just filled in.<br>Click on Previous if you want to change anything or Click on <code>Install<\/code> to start the installation process. <\/p>\n\n\n\n<p>When the installation process is finished, you received a message Installation Successful! Click on <code>Reboot<\/code> and remove the USB Stick you used for the installation.<br><br>On another computer\/laptop, go to <code>https:\/\/Proxmox_IP_address:8006<\/code><br>If you forget https:\/\/ there is a possibility that you receive an error. <\/p>\n\n\n\n<p><strong>Step 3: Configure via the GUI<\/strong><br>You can do everything from the website interfase. Just go to the website and login with <code>root<\/code> and the <code>password<\/code> you created during the installation process. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"800\" height=\"422\" src=\"https:\/\/cbulon.nl\/wp-content\/uploads\/2020\/05\/Screenshot-2020-05-16-at-15.55.24-e1589641201399.png\" alt=\"\" class=\"wp-image-72\"\/><\/figure>\n\n\n\n<p>Please notice, you receive a <code>No valid subscription<\/code> because you use the free version without support. If you want support on your server, please go to this <a href=\"https:\/\/www.proxmox.com\/en\/proxmox-ve\/pricing\">address<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"242\" src=\"https:\/\/cbulon.nl\/wp-content\/uploads\/2020\/05\/Screenshot-2020-05-16-at-15.55.38-1024x242.png\" alt=\"\" class=\"wp-image-73\"\/><\/figure>\n\n\n\n<p>After you clicked on OK, you can access your Proxmox Virtual Environment.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"459\" src=\"https:\/\/cbulon.nl\/wp-content\/uploads\/2020\/05\/Screenshot-2020-05-16-at-17.01.03-1024x459.png\" alt=\"\" class=\"wp-image-74\"\/><\/figure>\n\n\n\n<p>It is very easy to create a VM or CT from this point. I will write a blog about that later. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous blog you can read about the server I build. This blog will describe the OS layer I will install on this build. I choose for Proxmox Virtual Environment or in short, Proxmox VE. Proxmox VE is a complete open-source platform for enterprise virtualization. With the built-in web interface you can easily manage &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.cbulon.nl\/?p=66\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Server Virtualization with Proxmox&#8221;<\/span> verder lezen<\/a><\/p>\n","protected":false},"author":1,"featured_media":76,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[28,23,31,10,24,29,22,30,25,27],"_links":{"self":[{"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/posts\/66"}],"collection":[{"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=66"}],"version-history":[{"count":11,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/posts\/66\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/posts\/66\/revisions\/168"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=\/wp\/v2\/media\/76"}],"wp:attachment":[{"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cbulon.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}