Ubuntu22/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
(→Configure DHCP) |
|||
(2 intermediate revisions by one user not shown) | |||
Line 9: | Line 9: | ||
~$ sudo apt install -y zsh | ~$ sudo apt install -y zsh | ||
~$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"</nowiki> | ~$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"</nowiki> | ||
− | |||
==DisplayLink Driver== | ==DisplayLink Driver== | ||
Make sure secure boot is NOT enabled. It will prevent EDVI DKMS from being installed. | Make sure secure boot is NOT enabled. It will prevent EDVI DKMS from being installed. | ||
Line 54: | Line 53: | ||
==Screen sleep after 30 minutes== | ==Screen sleep after 30 minutes== | ||
<nowiki>~$ gsettings set org.gnome.desktop.session idle-delay 1800 </nowiki> | <nowiki>~$ gsettings set org.gnome.desktop.session idle-delay 1800 </nowiki> | ||
+ | ==Configure DHCP== | ||
+ | <nowiki>~$ vi /etc/netplan/00-installer-config.yaml | ||
+ | network: | ||
+ | version: 2 | ||
+ | renderer: networkd | ||
+ | ethernets: | ||
+ | enp3s0: | ||
+ | dhcp4: true | ||
+ | |||
+ | ~$ sudo netplan apply</nowiki> | ||
+ | |||
+ | ==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. |
Latest revision as of 00: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.