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: Prepare the Ubuntu Server ISO == Before creating the virtual machine, you need to place the Ubuntu Server ISO file in the correct directory and set the proper permissions. <ol style="list-style-type: decimal;"> <li><p>Place the ISO file you used to create your installable Ubuntu USB onto your server. You can do this by attaching a disk to it, using SSH FTP and a program like filezilla to transfer it over. Or, if you’re an animal, you can download it again by going to ubuntu.com and downloading the LTS version of Ubuntu server again.</p></li> <li><p>Move the ISO file to <code>/var/lib/libvirt/images/</code>, obviously changing the source location & filename to whatever yours is. As long as the file ends up in <code>/var/lib/libvirt/images/</code> we’re good:</p> <pre>sudo mv ~/Downloads/ubuntu-server.iso /var/lib/libvirt/images/</pre></li> <li><p>Change the ownership and group of the ISO file:</p> <pre>sudo chown libvirt-qemu:libvirt /var/lib/libvirt/images/ubuntu-server.iso</pre></li> <li><p>Set the correct permissions:</p> <pre>sudo chmod 0640 /var/lib/libvirt/images/ubuntu-server.iso</pre></li> <li><p>To apply these settings to all ISO files in the directory:</p> <pre>sudo chown libvirt-qemu:libvirt /var/lib/libvirt/images/*.iso sudo chmod 0640 /var/lib/libvirt/images/*.iso</pre></li></ol> <blockquote>'''Note''': These settings make sure that the <code>libvirt-qemu</code> user, which runs the QEMU processes, can read and write the file, while members of the <code>libvirt</code> group can read it. Other users will have no access, so <code>virsh</code> & related tools can access the ISO files but others can’t. </blockquote> <span id="step-2-update-your-system"></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)