Category: Ubuntu

Ubuntu LTS update

Release upgrade ex. 16.04.x -> 18.04 $ sudo do-release-upgrade   Minor upgrade 16.04.x -> 16.04.3 ex. 16.04.2 -> 16.04.3 DeskTop: $ sudo apt install –install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04   Server: $ sudo apt install –install-recommends linux-generic-hwe-16.04

 

Ubuntu 18.04 network setting

Fixed IP Address Put under directory ‘/etc/netplan/’. example; 50-cloud-init.yaml network: ethernets: enp2s0: dhcp4: no dhcp6: no addresses: [192.168.1.20/24] gateway4: 192.168.1.1 nameservers: addresses: [192.168.1.1] #if use static route routes: – to: 192.168.11.0/24 via: 192.168.1.254 version: 2 Proxy used edit /etc/environment example; LAN http_proxy=”http://192.168.1.1:8080/” https_proxy=”http://192.168.1.1:8080/” no_proxy=localhost,127.0.0.1,192.168.0.0/16   example; external proxy http_proxy=”http://[user:password@]host.xxxx.net:8080/” https_proxy=”http://[user:password@]host.xxxx.net:8080/” no_proxy=localhost,127.0.0.1,192.168.0.0/16