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 2: Install Ubuntu Server as a Virtual Machine == <blockquote>'''Note:''' I will be blazing through the installing of Ubuntu here, since we already installed Ubuntu server once onto this physical server. </blockquote> '''Keep in mind the following:''' We are NOT using LUKS encryption here. There is no need since the image is going to be stored on an encrypted partition. We are NOT using RAID – this is a disk image that is being stored on a RAID array, so we are not doing that. We are configuring networking the same as we did before, but we will be using a '''''different''''' IP address! <blockquote>'''NOTE:''' Setting a unique static IP address to each virtual machine is necessary. It’s like having 5 businesses in the same building and expecting the postman to deliver laptops to the right address.. that’s never a problem that plagued me in new york city. If something else is using that IP address, you cannot use it again. You don’t want your packets ending up in Berwick Maine. </blockquote> <span id="start-the-installation-process-in-the-virtual-machine"></span> ==== 2.1 Start the installation process in the virtual machine ==== Choose your language and select '''“Try or install Ubuntu Server”'''. Follow the installation prompts. <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_a561e59a.png </gallery> </div> <span id="configure-static-ip-address"></span> ==== 2.2 Configure Static IP Address ==== * When you reach the Network configuration screen, select the network interface that corresponds to your network interface. * Choose the option '''“Configure network manually”'''. * Enter the following details: ** IP Address: '''192.168.5.3''' ** Subnet: '''192.168.5.0/24''' ** Gateway: '''192.168.5.1''' ** Nameserver: '''192.168.5.1''' * Make sure you enter all the details correctly to provide the virtual machine has the correct static IP configuration. <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_cd2383aa.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_1d3ec660.png </gallery> </div> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_e896bdf7.png File:lu55028jxckj_tmp_b1313746.png File:lu55028jxckj_tmp_664e174.png File:lu55028jxckj_tmp_9a7daf09.png File:lu55028jxckj_tmp_cd86d6ef.png File:lu55028jxckj_tmp_9b21c766.png </gallery> <span id="partition-the-virtual-drive"></span> ==== 2.3 Partition the virtual “drive” ==== * When you reach the Filesystem setup section, select '''“Use an entire disk”''' and then choose the disk you want to install Ubuntu Server on. * Choose the option '''“Set up this disk as an LVM group”'''. * '''Important:''' At this stage, edit the partition sizes as Ubuntu’s installer usually allocates 2 GB for boot which is ridiculous and even worse it only uses half the available space for your LVM & root. The Ubuntu auto partitioner is horrible. * Reduce the boot partition to 512 MB. * Delete the old LVM & root partition. * Create a new LVM taking up the entire disk. * Create a logical volume for the root filesystem, using all available space. * '''Do not encrypt the volume''' (it’s unnecessary since the host drive is already encrypted, and it is not my intention for you to have these VMs running on other people’s servers). <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxckj_tmp_b4178b46.png File:lu55028jxckj_tmp_3d6c5298.png File:lu55028jxckj_tmp_751040c0.png </gallery> <span id="finalize-installation-do-not-install-docker"></span> ==== 2.4 Finalize installation & do not install docker ==== * Set up your username and password. * '''Choose to install OpenSSH server.''' <blockquote>'''NOTE:''' ''DO NOT CHOOSE TO INSTALL PACKAGES THROUGH THE PROMPTS AFTER THIS. THEY INSTALL VIA SNAP. DOCKER INSTALLED VIA SNAP IS CANCER. USING THE SNAP VERSION OF DOCKER WILL PROVIDE YOU WITH MANY AGGRAVATING HEADACHES. DON’T DO IT. IGNORE ME NOW? SUFFER LATER!'' </blockquote> * After configuring the partition sizes, proceed with the installation process as usual, following the prompts to set up any additional software you want to install. * Once the installation is complete, the system will automatically apply your network and partitioning settings. * When prompted, remove the installation media (ISO) from the virtual machine settings. * Restart the virtual machine. <span id="step-3-post-installation-tasks"></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)