Archive | November, 2022

Xubuntu 22.04 LTS Linux Install Notes

25 Nov

Initial Install
Install from USB drive with minimal software
Do not download packages when installing
Reboot and attempt login (may get black screen after login due to bad Nvidia drivers).

Nvidia Driver Fix
Boot into safe mode
sudo apt update
sudo apt upgrade
sudo reboot now

Follow instructions for Ubuntu LTS at:
https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html
sudo reboot now
nvidia-smi

Boot to Console
sudo cp /etc/default/grub /etc/default/grub.backup
sudo vi /etc/default/grub

Uncomment GRUB_TERMINAL=console
Remove “quiet splash”
sudo update-grub
sudo systemctl set-default multi-user.target

Network Config
IPV4: manual
Address: 192.168.1.2
Netmask: 255.255.255.0
Gateway: 192.168.1.1
Nameserver: 192.168.1.1
IPV6: ignore

Update the System
sudo apt update
sudo apt upgrade

Install Custom Shell Scripts
cp .bash_profile ~
cp .bashrc ~
cp .profile ~
cp .vimrc ~
sudo cp .bashrc /root

Directory Permissions
sudo chmod 777 /usr/local/src

Add Library Path to Linker
sudo vi /etc/ld.so.conf.d/usrlocal.conf
add /usr/local/lib
add /usr/local/lib64
sudo ldconfig

Firewall

Printer
sudo apt install system-config-printer
sudo system-config-printer

Search for network printer at 192.168.1.4
Use DirectJet port
Choose driver for Brother HL-5170DN
Use BR-Script3

Sound
sudo usermod -a -G audio username

Advertisement