This article is the 22nd day article of "Linux Advent Calendar 2019".
When you install Ubuntu, everything comes with it. Not to mention the desktop environment,
etc… This time, I will install __Ubuntu core part __ in VirtualBox without installing all of them.
The mini.iso of this Ubuntu 18.04 LTS (i836) is [here](http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-i386/current/images/netboot/mini. iso)
From the setup of VirtualBox, there is no time to write everything, so I will write the part that seems to be important.
The name is a virtual machine name, so you can use it as you like, but it won't work unless you specify the type and version properly.
The minimum installation startup conditions like this one are not officially stated. There is Ubuntu Server in a similar environment, so if you follow the startup conditions of it, there is almost no problem. By the way, the startup conditions for Ubuntu Server 18.04 LTS are as follows.
|1GHz or higher (64bit)||1GB or more||5GB or more|
CPU and memory from this site. The disk space is the number that I installed once and thought "I need this much".
Put the mini.iso you downloaded earlier in a virtual optical drive.
The heart of this article. You will be asked what other software to install. If you select
You will be asked if you want to install the GRUB bootloader, select
You will be asked if you want to set the system time to UTC, so if you are not particular about the system time,
Since the installation is complete, it is said that the installation disk is removed, so remove it from the VirtualBox settings.
When the installation is complete, remove the disk and select
Perhaps when you start using it with the default settings, you'll see something like this when you log in. There is no problem in operating it, but it feels uncomfortable.
Shut down Ubuntu once.
When I'm using it, the letters become "◆" and I don't know what it is.
Well, like this.
.bashrc in your home directory with
nano or something.
Add the following to the end and save.
#Fix diamond character. case $TERM in linux) LANG=C ;; *) LANG=ja_JP.UTF-8;; esac
Ctrl + O→
By the way, if you set the language to English at the time of installation, you will not encounter this. Even if you install it in Japanese, the CUI is in English anyway, so you may proceed with the installation in English.
As a result of installing in variable size vdi format, the capacity of the virtual hard disk is less than 3.5GB. It was a great installation method for me, who hates eating a lot of space. By the way, when I hit
df -BM on Ubuntu, it was supposed to use about 2.5GB.
I think this is enough for people who install Ubuntu but only use the terminal. At least I'm satisfied with this.
[^ 1]: When "64bit Intel / AMD (x86_64)" is installed, [loop phenomenon occurs] during the installation process when Japanese is selected in the language selection (https://forums.ubuntulinux. jp / viewtopic.php? id = 20057).