Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Help about MediaWiki
FUTO
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Introduction to a Self Managed Life: a 13 hour & 28 minute presentation by FUTO software
(section)
Main Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Step 1: Setting up Virtual Machine Manager (virsh) == <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_b51c10bd.png </gallery> <span id="create-new-virtual-machine"></span> ==== 1.0 Create new virtual machine ==== In '''Virtual Machine Manager''', click “Create a new virtual machine” (usually the first icon on the toolbar or select '''File > New Virtual Machine''' from the menu). <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_151745e3.png File:lu55028jxckj_tmp_9a251511.png File:lu55028jxckj_tmp_8bf9cc92.png </gallery> <span id="choose-installation-media"></span> ==== 1.1 Choose Installation Media ==== * Select '''“Local install media (ISO image or CDROM)”''' and click '''Forward'''. * Click '''Browse''' to select your Ubuntu Server ISO. * Choose the ISO file you prepared earlier (e.g., <code>/var/lib/libvirt/images/ubuntu-server.iso</code>) and click '''Forward'''. <span id="choose-operating-system-version"></span> ==== 1.2 Choose Operating System Version ==== * '''Virtual Machine Manager''' may automatically detect the OS. If not, search for <code>ubuntu</code> and choose what is closest to your version. When in total doubt, <code>linux generic 2022</code> works. Click '''Forward'''. <span id="configure-memory-and-cpu"></span> ==== 1.3 Configure Memory and CPU ==== * Allocate the resources for your VM: ** '''Set RAM:''' (e.g., 4096 MB). ** '''Set vCPUs:''' (e.g., 2 CPUs max for what we are doing here). * Click '''Forward'''. <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_52d81284.png </gallery> <span id="configure-storage"></span> ==== 1.4 Configure Storage ==== * Select “Create a disk image for the virtual machine”. * Allocate an initial disk size that is whatever you think the maximum amount of storage you will need for email, contacts, and calendar is (e.g., 25 GB). You’ll be able to resize this disk later, so make sure it’s large enough for your initial installation but leave room for growth. * Make sure the disk image format is '''QCOW2'''. This format supports resizing, and other cool features. * Click '''Forward'''. <blockquote>'''NOTE:''' QCOW2 format has a lot of useful features. It supports snapshots, which we aren’t using for our virtual machine backups, but it’s nice to have if you choose to use that. More importantly, qcow2 supports “sparse file allocation.” aka, it only uses physical disk space as it needs. Just because you say a virtual machine has access to 300 gigabytes, doesn’t mean it creates an image that actually takes up 300 gigabytes. </blockquote> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_a84796b3.png </gallery> <span id="set-up-networking-with-the-bridge-interface"></span> ==== 1.5 Set Up Networking with the Bridge Interface ==== * Choose '''“Bridge device”''' under '''“Network Selection”'''. * In the Device Name field, type '''br0''' (or whatever name you have given your bridge interface). * This will allow the VM to grab a static IP from the same network as your host machine, making sure it acts like an independent hardware device. * Click '''“Finish”'''. <blockquote>'''NOTE:''' Choosing “bridge device” allows the virtual machine to appear like a unique hardware device on your network. That’s the idea, for each of our virtual machines to seem like Pinnocchio; a real machine :) </blockquote> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_bcbe1ce7.png </gallery> </div> <span id="finish-customize-before-installing"></span> ==== 1.6 Finish & Customize Before Installing ==== * Name your virtual machine (e.g., '''“mailserver”'''), whatever you think makes sense for a contacts/calendar/mail machine. * Click '''“Finish”'''. <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_f5a5b1fa.png </gallery> </div> <span id="step-2-install-ubuntu-server-as-a-virtual-machine"></span>
Summary:
Please note that all contributions to FUTO may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FUTO:Copyrights
for details).
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:
Cancel
Editing help
(opens in new window)