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:01] – mark_scottworld.net | technical:26.04_ultimate_ubuntu_server_install [2026/06/03 02:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| You will be asked. | You will be asked. | ||
| - | Select Language - (English UK) | + | |
| - | Select Keyboard Layout. | + | Select Keyboard Layout. - (English UK) |
| + | Select Ubuntu Server - not the minimized version. | ||
| + | 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. | ||
| + | (the install will check the mirror) - once it is on the network. | ||
| - | Select Ubuntu Server | + | Use the entire disk for the OS when asked - it will create |
| - | Check the box for Third Party Drivers | + | |
| - | Proxy address if you have one. | + | ===== Profile Configuration ===== |
| - | Use the entire disk | + | Your name |
| + | Your servers name | ||
| + | Username of the Admin | ||
| + | Password (and confirmation) | ||
| - | Your name | + | ===== Upgrade to Ubuntu Pro ===== |
| - | Your servers name | + | Skip ubuntu pro option (we can do that later) |
| - | username of the Admin | + | ===== SSH Configuration ===== |
| - | password | + | Install the SSH server when prompted so you can get remote access. |
| - | Skip ubuntu pro (we can do that later) | + | ===== Install Third Party Drivers ==== |
| - | Install | + | Install |
| + | |||
| + | ===== Featured | ||
| When asked to install snaps do not select any. | When asked to install snaps do not select any. | ||
| - | Language | ||
| - | Keyboard | ||
| - | Type of Ubuntu Install - Choose " | ||
| - | |||
| - | ===== Network Configuration ===== | ||
| - | Use the cursor keys to configure the network interface with a static IP address. (set the IPv6 option to Do Not Use) | ||
| - | Internet Proxy: Set to whatever you user (none if you don't user one) | ||
| - | Make sure you select "Use Third Party Drivers" | ||
| - | Select Install SSH server with relevant options (if you want to use certs etc) | ||
| - | |||
| - | ===== Disk Partitioning ===== | ||
| + | |||
| + | ===== Disk Partitioning ===== Move this up above Admin user | ||
| When prompted choose | When prompted choose | ||
| Line 74: | Line 75: | ||
| </ | </ | ||
| - | |||
| - | {{: | ||
| - | |||
| You can edit the disk partitions before submitting to add further disks at specific mount points. | You can edit the disk partitions before submitting to add further disks at specific mount points. | ||
| Line 90: | Line 88: | ||
| Make live with | Make live with | ||
| - | < | + | |
| systemctl restart procps.service | systemctl restart procps.service | ||
| + | |||
| + | You can check it is applied with | ||
| + | |||
| + | cat / | ||
| + | |||
| + | ===== Allow IP routing internally ===== | ||
| + | |||
| + | nano / | ||
| + | |||
| + | Add the following line. | ||
| + | |||
| + | net.ipv4.ip_forward=1 | ||
| + | |||
| + | Then to load this restart the procps service... | ||
| + | |||
| + | systemctl restart procps.service | ||
| + | |||
| + | |||
| + | ===== 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:) - and means we can swap the network interface out without changing all the apps. 26.04 uses netplan to configure its network configuration. | ||
| + | |||
| + | The following steps will set up a bridge with a static IP address. The interface is br0 | ||
| + | |||
| + | Change to the netplan directory. | ||
| + | |||
| + | NOTE: You may need to set the DNS server to be the local router - until you have set up BIND, then you can go back and edit this again. | ||
| + | |||
| + | cd / | ||
| + | nano 00-solaris.yaml | ||
| + | |||
| + | Content of the 00-solaris.yaml | ||
| + | |||
| + | < | ||
| + | # This is the network config made for solaris | ||
| + | network: | ||
| + | version: 2 | ||
| + | renderer: networkd | ||
| + | ethernets: | ||
| + | en01: {} | ||
| + | |||
| + | bridges: | ||
| + | br0: | ||
| + | critical: true | ||
| + | dhcp4: false | ||
| + | addresses: [ 10.3.200.1/ | ||
| + | routes: | ||
| + | - to: default | ||
| + | via: 10.3.1.1 | ||
| + | nameservers: | ||
| + | search: [ scottworld.net ] | ||
| + | addresses: [ 10.3.200.1 ] | ||
| + | interfaces: [ en01 ] | ||
| + | parameters: | ||
| + | stp: false | ||
| + | # Disable IPv6 | ||
| + | dhcp6: false | ||
| + | accept-ra: no | ||
| + | link-local: [] | ||
| </ | </ | ||
| + | Disable the cloud network configuration. | ||
| + | |||
| + | touch / | ||
| + | | ||
| + | You can check it with | ||
| + | |||
| + | cloud-init status | ||
| + | |||
| + | Update the permissions on the netplan config to remove the global r/w permissions | ||
| + | |||
| + | chomd 600 / | ||
| + | |||
| + | Apply the changes | ||
| + | |||
| + | netplan --debug apply | ||
| + | |||
| + | Reboot and check the network configuration with | ||
| + | |||
| + | ip addr | ||
| + | |||
| + | You should have an interface of br0: with the ip you specified. | ||
| + | |||
| + | < | ||
| + | 1: lo: < | ||
| + | link/ | ||
| + | inet 127.0.0.1/8 scope host lo | ||
| + | | ||
| + | inet6 ::1/128 scope host noprefixroute | ||
| + | | ||
| + | 2: enp1s0: < | ||
| + | link/ether 52: | ||
| + | altname enx525400ebcb22 | ||
| + | 3: br0: < | ||
| + | link/ether e2: | ||
| + | inet 10.3.200.10/ | ||
| + | | ||
| + | </ | ||
| - | ===== User Config ===== | + | Edit the file |
| - | When prompted create the system login user / password | + | nano /etc/hosts |
| - | The server will install the basics, set up your user / timezone | + | |
| - | Reboot Now | + | Comment out the entry for 127.0.1.1 and replace it with a Global server value. |
| + | 10.3.200.1 solaris.scottworld.net solaris | ||
technical/26.04_ultimate_ubuntu_server_install.1780434072.txt.gz · Last modified: by mark_scottworld.net
