Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Categories
Random page
Top Contributors
Recent changes
Contribute
Create a page
How to help
Wiki policy
Adapt videos to articles
Articles in need of work
Help
Frequently asked questions
Join the discord!
Help about MediaWiki
Consumer_Action_Taskforce
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Futotemporarywikipage
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
Purge cache
General
What links here
Related changes
Special pages
Page information
Cargo data
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 Consumer_Action_Taskforce are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (see
Consumer Action Taskforce:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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.
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)