technical:26.04_ultimate_ubuntu_server_install
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technical:26.04_ultimate_ubuntu_server_install [2026/06/02 23:18] – mark_scottworld.net | technical:26.04_ultimate_ubuntu_server_install [2026/06/03 02:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| Select Language - (English UK) | Select Language - (English UK) | ||
| - | Select Keyboard Layout. | + | Select Keyboard Layout. |
| Select Ubuntu Server - not the minimized version. | Select Ubuntu Server - not the minimized version. | ||
| Check the box for Third Party Drivers (to install things like NVIDIA drivers etc) | Check the box for Third Party Drivers (to install things like NVIDIA drivers etc) | ||
| + | You can leave the Network Configuration as default - This will set up the network for DHCP (using IPv4 and IPV6) We will be modifying this later. | ||
| Proxy address if you have one. | Proxy address if you have one. | ||
| + | (the install will check the mirror) - once it is on the network. | ||
| + | |||
| Use the entire disk for the OS when asked - it will create the relevent partitions. | Use the entire disk for the OS when asked - it will create the relevent partitions. | ||
| + | Leave the checkbox for an LVM group - (no need to Encrypt) | ||
| - | ===== Admin User Configuration ===== | + | ===== Profile |
| Your name | Your name | ||
| Line 23: | Line 27: | ||
| Password (and confirmation) | Password (and confirmation) | ||
| - | Skip ubuntu pro (we can do that later) | + | ===== Upgrade to Ubuntu Pro ===== |
| + | |||
| + | Skip ubuntu pro option | ||
| + | |||
| + | ===== SSH Configuration ===== | ||
| Install the SSH server when prompted so you can get remote access. | Install the SSH server when prompted so you can get remote access. | ||
| + | |||
| + | ===== Install Third Party Drivers ==== | ||
| + | |||
| + | Install any third party drivers if required | ||
| + | |||
| + | ===== Featured server snaps ===== | ||
| When asked to install snaps do not select any. | When asked to install snaps do not select any. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| - | ===== Disk Partitioning ===== | + | ===== Disk Partitioning ===== Move this up above Admin user |
| When prompted choose | When prompted choose | ||
| Line 69: | Line 88: | ||
| Make live with | Make live with | ||
| - | < | + | |
| systemctl restart procps.service | systemctl restart procps.service | ||
| - | </code> | + | |
| + | You can check it is applied with | ||
| + | |||
| + | cat /proc/ | ||
| ===== Allow IP routing internally ===== | ===== Allow IP routing internally ===== | ||
| Line 88: | Line 110: | ||
| ===== Network Interface Configuration (Netplan) ===== | ===== Network Interface Configuration (Netplan) ===== | ||
| - | Configure a network bridge to present a single interface to the world, this is handy for VMs / VPNs etc. as we only need to reference the bridge. (br0: | + | Configure a network bridge to present a single interface to the world, this is handy for VMs / VPNs etc. as we only need to reference the bridge. (br0: |
| - | The following steps will set up a bridge with a static IP address. | + | The following steps will set up a bridge with a static IP address. |
| Change to the netplan directory. | Change to the netplan directory. | ||
| Line 102: | Line 124: | ||
| < | < | ||
| - | # This is the network config | + | # This is the network config |
| network: | network: | ||
| version: 2 | version: 2 | ||
| renderer: networkd | renderer: networkd | ||
| ethernets: | ethernets: | ||
| - | | + | |
| bridges: | bridges: | ||
| Line 120: | Line 142: | ||
| search: [ scottworld.net ] | search: [ scottworld.net ] | ||
| addresses: [ 10.3.200.1 ] | addresses: [ 10.3.200.1 ] | ||
| - | interfaces: [ eno1 ] | + | interfaces: [ en01 ] |
| parameters: | parameters: | ||
| stp: false | stp: false | ||
| Line 127: | Line 149: | ||
| accept-ra: no | accept-ra: no | ||
| link-local: [] | link-local: [] | ||
| - | </ | ||
| - | |||
| - | |||
| - | Here is an example if you have dual NICs and want to team / bond them. | ||
| - | |||
| - | |||
| - | < | ||
| - | network: | ||
| - | version: 2 | ||
| - | renderer: networkd | ||
| - | ethernets: | ||
| - | enp1s0: {} | ||
| - | enp2s0: {} | ||
| - | |||
| - | bonds: | ||
| - | bond007: | ||
| - | interfaces: | ||
| - | - enp1s0 | ||
| - | - enp2s0 | ||
| - | parameters: | ||
| - | mode: balance-alb | ||
| - | |||
| - | bridges: | ||
| - | br0: | ||
| - | critical: true | ||
| - | dhcp4: false | ||
| - | addresses: [ 192.168.3.200/ | ||
| - | routes: | ||
| - | - to: default | ||
| - | via: 10.3.1.1 | ||
| - | nameservers: | ||
| - | search: [ scottworld.net ] | ||
| - | addresses: [ 192.168.3.200 ] | ||
| - | interfaces: [ bond007 ] | ||
| - | parameters: | ||
| - | stp: false | ||
| </ | </ | ||
| Line 168: | Line 154: | ||
| touch / | touch / | ||
| + | | ||
| + | You can check it with | ||
| + | |||
| + | cloud-init status | ||
| Update the permissions on the netplan config to remove the global r/w permissions | Update the permissions on the netplan config to remove the global r/w permissions | ||
| Line 184: | Line 174: | ||
| < | < | ||
| - | root@solaris:/ | ||
| 1: lo: < | 1: lo: < | ||
| link/ | link/ | ||
| Line 191: | Line 180: | ||
| inet6 ::1/128 scope host noprefixroute | inet6 ::1/128 scope host noprefixroute | ||
| | | ||
| - | 2: eno1: < | + | 2: enp1s0: < |
| - | link/ | + | link/ |
| - | altname | + | altname |
| 3: br0: < | 3: br0: < | ||
| - | link/ | + | link/ |
| - | inet 10.3.200.1/16 brd 10.3.255.255 scope global br0 | + | inet 10.3.200.10/16 brd 10.3.255.255 scope global br0 |
| - | | + | |
| - | inet6 fe80:: | + | |
| | | ||
| </ | </ | ||
| Line 209: | Line 196: | ||
| 10.3.200.1 solaris.scottworld.net solaris | 10.3.200.1 solaris.scottworld.net solaris | ||
| - | |||
| - | |||
| - | ===== User Config ===== | ||
| - | |||
| - | When prompted create the system login user / password | ||
| - | The server will install the basics, set up your user / timezone etc. Eventually you will be prompted to Reboot. | ||
| - | |||
| - | Reboot Now | ||
| - | |||
technical/26.04_ultimate_ubuntu_server_install.1780435128.txt.gz · Last modified: by mark_scottworld.net
