--- Ubuntu Template ---
/root/Desktop/Documents/00-StepsForOracleLinux-Master-00.odt
/root/Desktop/Documents/00-StepsForOracleLinux-Master.odt
### As sudo user
### Change password and unlock it
> sudo-i
# passwd root
# passwd -u root
### permit root logins
/etc/ssh/sshd_config
#PermitRootLogin prohibit-password
PermitRootLogin yes
NETPLAN
https://www.linux.com/topic/distributions/how-use-netplan-network-configuration-tool-linux/
https://netplan.io/examples/
# indenting is important -- creats 'sections'
# cat 00-installer-config.yaml
network:
ethernets:
ens160:
addresses:
- 128.226.1.13/24
gateway4: 128.226.1.1
nameservers:
addresses:
- 128.226.1.11
- 128.226.1.18
search:
- binghamton.edu
- cc.binghamton.edu
version: 2
### gateway might not be needed
ens224:
mtu: 9000
addresses:
- 10.1.2.98/24
gateway4: 10.1.3.1
netplan try
-- errors will appear with some help
### update the software that was installed
apt update
apt upgrade
https://centostwo.binghamton.edu/legacychouck/public_html/projects/HostnameChange.html
### change the hostname and ip
hostnamectl set-hostname ksam
change it in /etc/hosts
### GRUB Changes
cd /etc/default
cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=20
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="splash"
GRUB_CMDLINE_LINUX=""
/etc/grub.d/30_os-prober
ssh-copy-id root@128.226.1.13
### add a GUI
apt install tasksel
tasksel install ubuntustudio-desktop
... systemctl set-default graphical.target
## INCREASE timeout for grub menu