Ubuntu22/Quick Reference

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
(Configure DHCP)
 
Line 54: Line 54:
 
  <nowiki>~$ gsettings set org.gnome.desktop.session idle-delay 1800 </nowiki>
 
  <nowiki>~$ gsettings set org.gnome.desktop.session idle-delay 1800 </nowiki>
 
==Configure DHCP==
 
==Configure DHCP==
  <nowiki>~$ vi /etc/netplay/00_config.yaml
+
  <nowiki>~$ vi /etc/netplan/00-installer-config.yaml
 
network:
 
network:
 
   version: 2
 
   version: 2
Line 63: Line 63:
  
 
~$ sudo netplan apply</nowiki>
 
~$ sudo netplan apply</nowiki>
 +
 
==ESXI server installation==
 
==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.
 
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.

Latest revision as of 01:24, 15 January 2023

Quick Reference

Contents

[edit] Base packages

[edit] General

~$ sudo apt install -y nodejs

[edit] New Gnome Console and text editor

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

[edit] 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)"

[edit] 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

[edit] 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

[edit] KeePassXC

~$ sudo apt install -y keepassxc

[edit] 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

[edit] 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

[edit] Zoom

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

[edit] hydrapaper

~$ sudo apt-get -y install hydrapaper 

[edit] System Config

[edit] Screen sleep after 30 minutes

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

[edit] Configure DHCP

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

~$ sudo netplan apply

[edit] 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