https://github.com/onggizam/my-ubuntu
Install Ubuntu on Oracle VirtualBox
https://github.com/onggizam/my-ubuntu
linux oracle-virtualbox ubuntu ubuntu2204 virtualbox vm
Last synced: 9 months ago
JSON representation
Install Ubuntu on Oracle VirtualBox
- Host: GitHub
- URL: https://github.com/onggizam/my-ubuntu
- Owner: onggizam
- Created: 2025-01-17T10:41:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-17T11:45:02.000Z (over 1 year ago)
- Last Synced: 2025-09-15T13:34:29.495Z (10 months ago)
- Topics: linux, oracle-virtualbox, ubuntu, ubuntu2204, virtualbox, vm
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Oracle VirtualBox Ubuntu Setting Docs
This repo is a document with Ubuntu servers installed in Oracle Virtualbox.
## Contents
### [1. Install Tools.](#install)
### [2. Settings Ubuntu.](#settings)
## 1. Install Tools.
### Install Oracle VirtualBox
### [Download Link 👈](https://www.virtualbox.org/)
### Install Ubuntu 22.04 LTS Server

### [Download Link 👈](https://releases.ubuntu.com/jammy/)
When the installation is complete, turn on the `Oracle virtualbox` and create a new virtual machine. At this time, insert the downloaded `Ubuntu ISO image` and create it.
## 2. Settings ubuntu.
Download the required Linux package. If you install `net-tools`, you can use the `ifconfig` command.
```bash
$ sudo apt install net-tools
$ ifconfig
# Show your IP Addresses and Adapter Names
```
I will fix my VM(virtual machine) IP Addresses.
```bash
$ sudo vi /etc/netplan/50-cloud-init.yaml
# File name can be difference. ex) 00-installer-config.yaml
```
And typing like this..
```yaml
network:
ethernets:
enp0s3:
addresses:
- 192.168.1.10/24 # Input the IP Address you want.
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
routes:
- to: default
via: 192.168.1.1
version: 2
```
```bash
# Apply command
$ sudo netplan apply
# Check Ip address.
$ ifconfig
```
But it is not done. because we can `Port Fowarding`.
Open Oracle VirtualBox Manager. And Click `Tools -> Network`.

Create, Typing General Options, Typing Port Forwarding. Like This..

Finally, Fix Master VM Network.

We Are Done!!
### If you want intall Hadoop Cluster and Kubernetes Cluster?
[Hadoop Settings Link 👈](https://github.com/seunggihong/hadoop-install-guide)
[Kubernetes Settings Link 👈](https://github.com/seunggihong/k8s-cluster-setting)