Ubuntu22/Quick Reference

From r00tedvw.com wiki
Revision as of 01:24, 15 January 2023 by R00t (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Quick Reference

Contents

Base packages

General

~$ sudo apt install -y nodejs

New Gnome Console and text editor

~$ sudo apt install -y gnome-console gnome-text-editor

oh-my-zsh

~$ sudo apt install -y build-essential curl file git git-core fonts-powerline
~$ sudo apt install -y zsh
~$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

DisplayLink Driver

Make sure secure boot is NOT enabled. It will prevent EDVI DKMS from being installed.

~$ sudo apt update -y && sudo apt install -y dkms libdrm-dev
~$ wget https://www.synaptics.com/sites/default/files/exe_files/2022-08/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu5.6.1-EXE.zip
~$ sudo displaylink-driver-5.3.0.xx.run

Chrome

~$ sudo apt update && sudo apt upgrade -y
~$ sudo apt install -y software-properties-common apt-transport-https wget ca-certificates gnupg2 ubuntu-keyring
~$ sudo wget -O- https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg
~$ echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | sudo tee /etc/apt/sources.list.d/google-chrome.list
~$ sudo apt update
~$ sudo apt install -y google-chrome-stable

KeePassXC

~$ sudo apt install -y keepassxc

Visual Studio Code

~$ sudo apt install -y software-properties-common apt-transport-https wget
~$ wget -O- https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor | sudo tee /usr/share/keyrings/vscode.gpg
~$ echo deb [arch=amd64 signed-by=/usr/share/keyrings/vscode.gpg] https://packages.microsoft.com/repos/vscode stable main | sudo tee /etc/apt/sources.list.d/vscode.list
~$ sudo apt update
~$ sudo apt install -y code

Also, you can set the behavior of git commits back to a single line display instead of opening the git commit file (recently changed around 7/2022)

  • File > Preferences > Settings
    • git.useEditorAsCommitInput --- disable

Spotify

~$ sudo apt install -y curl libcanberra-gtk-module software-properties-common apt-transport-https gnupg2 ubuntu-keyring
~$ wget -O- https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/spotify.gpg
~$ echo "deb [signed-by=/usr/share/keyrings/spotify.gpg] http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
~$ sudo apt update
~$ sudo apt install -y spotify-client

Zoom

~$ wget https://zoom.us/client/latest/zoom_amd64.deb
~$ wget https://zoom.us/linux/download/pubkey
~$ sudo apt install -y zoom_amd64.deb

hydrapaper

~$ sudo apt-get -y install hydrapaper 

System Config

Screen sleep after 30 minutes

~$ gsettings set org.gnome.desktop.session idle-delay 1800 

Configure DHCP

~$ vi /etc/netplan/00-installer-config.yaml
network:
  version: 2
  renderer: networkd
  ethernets:
    enp3s0:
      dhcp4: true

~$ sudo netplan apply

ESXI server installation

Both server 20.04 and 22.04 fail to install on esxi during the installation process. I was able to get past this by removing the network adapter before installation, then adding it back afterwards.

Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Covid
NCDMV
Toolbox