2020년 9월 19일 토요일

How to Generate Initial Setup on Ubuntu-Server 20.04

How to Generate Initial Setup on Ubuntu-Server 20.04


 ##############################################################


Environment

  OS : Ubuntu-Sever 20.04

  Host : test (192.168.101.99)


##############################################################


1. Upgrade System

$ sudo apt update ; sudo apt dist-upgrade -y ; sudo apt autoremove -y


2. Change Network Setting

### Check Ethernet Inteface 

$ ip link


### Generate Network Setting 

$ sudo cp /usr/share/doc/netplan/examples/static.yaml /etc/network/99_config.yaml

$ sudo nano /etc/netplan/99_config.yaml

Change Configuration

network:
  version: 2
  renderer: networkd
  ethernets:
    enp3s0:
      addresses:
        - 10.10.10.2/24
      gateway4: 10.10.10.1
      nameservers:
          search: [mydomain,otherdomain]
          addresses: [10.10.10.1, 1.1.1.1]
=>
network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s3:
      addresses:
        - 192.168.101.99/24
      gateway4: 192.168.101.1
      nameservers:
          search: [test.com]
          addresses: [192.168.101.210, 8.8.8.8]


$ sudo netplan apply

$ sudo shutdown -r now


3. Install Apps

### Install Mouse Driver for Console

$ sudo apt install gpm

### Install Apps

$ sudo apt install mc net-tools byobu -y


4. Install IceWM on Ubuntu-server 20.04

### Install IceWM

$ sudo apt install icewm xinit -y

$ sudo apt install firefox -y

### Install xrdp

$ sudo apt install xrdp -y

### Connect to Server with Remote Desktop

How To Install Docker on Odroid-C2 (or ARM64)

How To Install Docker on Odroid-C2 (or ARM64) Environment Device : Odroid-C2 OS : Ubuntu-20.04 1. Install Dock...