UbuntuSetup

From DrewWiki
Jump to navigation Jump to search

After initial install

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade

sudo apt-get install -y etckeeper
cd /etc
sudo etckeeper init
sudo vi .gitignore # remove sensitive files

Disable Popcorn

dpkg-reconfigure popularity-contest

Disable Guest Login

sudo sh -c "echo 'allow-guest=false' >> /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"

Set vim Editor

sudo update-alternatives --set editor /usr/bin/vim.basic

Set passwordless sudo

visudo:
username ALL=(ALL) NOPASSWD: ALL

Dash to Dock

https://extensions.gnome.org/extension/307/dash-to-dock/

Set gnome-screenshot default save directory

?

Gnome3 Fix alt+tab to move across widnows and not just grouped apps

Open dconf-editor
Go to org/gnome/desktop/wm/keybindings
Move the value '<Alt>Tab' from switch-applications to switch-windows
Optionally move '<Shift><Alt>Tab' from switch-applications-backward to switch-windows-backward
If you want switch-windows to work across desktops, not just in the current desktop, you can also uncheck org/gnome/shell/window-switcher/current-workspace-only (Courtesy of @CharlBotha)
Close dconf-editor
Press <Alt>F2, then type r to restart Gnome.

[1]

Gnome Tweak Tool

TopIcons-plus - for Insync, Slack, Skype icons
Extension update notifier
Freon
Status area horizontal spacing
$ ~/.local/share/gnome-shell/extensions
sudo apt-get install chrome-gnome-shell
* restart GNOME Shell (Alt+F2, r, Enter) and enable the extension through gnome-tweak-tool.

Install Main Apps

sudo apt-get install \
keepass2 rdesktop vncviewer \
lm-sensors p7zip-full exfat-utils exfat-fuse encfs \
vim ssh git \
ubuntu-restricted-extras qbittorrent gimp audacity \ 
openjdk-8-jre icedtea-8-plugin oracle-java8-installer \
network-manager-openvpn wireshark nmap nikto chkrootkit wavemon namebench apache2-utils mailutils \
openvpn openssh-server fail2ban \
vlc vlc-plugin-fluidsynth ffmpeg atomicparsley \
virtualenv python2.7-examples python-pip \
xchat pidgin \
chrome-gnome-shell \
ansible \
gnome-tweaks

# xd exiftol
# openconnect network-manager-openconnect network-manager-openconnect-gnome # cisco vpn
  • Atom [2]
    • atom-beautify
    • linter-flake8
    • linter-pep8
    • autocomplete-python
    • django-templates
    • script-runner
    • teletype
  • sqlitebrowser
  • youtube-dl (via pip)
  • VirtualBox [3]
  • Vagrant [4]
    • vagrant plugin install vagrant-berkshelf
    • vagrant plugin install berkshelf
  • Terraform [5]
  • KeyBase [6]
  • DropBox [7]
  • Docker [8]
  • Chrome, verify Google Hangouts
  • Insynq [9]
  • Synergy
  • Ramlog or equivalent for SSD
  • nvm
  • gvm for goland
  • rvm Ubuntu RVM Instructions
  • Studio 3T (mongodb browswer) (https://studio3t.com/download/)
  • IntelliJ [10]
  • Android Studio [11]
  • Eclipse [12]
  • NetBeans [13]
  • PyCharm [14]
drew@drew-8570w:~$ snap list
Name                  Version                  Rev   Developer      Notes
core                  16-2.29.4.2              3604  canonical      core
cumulonimbus          1.6.7                    18    snapcrafters   -
drive                 current                  22    fireeye        -
gitter-desktop        3.1.0                    20    snapcrafters   -
juju                  2.3.1                    3106  canonical      classic
kubectl               1.9.0                    266   canonical      classic
picard                1.4.2                    2     pachulo        -
spotify               1.0.70.399.g5ffabd56-26  5     spotify        -
sqlitebrowser-casept  3.9.1                    2     casept         -
vault                 v0.9.0                   236   snapcrafters   -
vscode                1.19.1-1513676564        22    flexiondotorg  classic

Other NFS

sudo apt-get install -y nfs-common cifs-utils ethtool pm-utils
  • /etc/fstab
192.168.1.200:/mnt/raid5 /mnt/raid5	nfs	defaults	0 0

Other Syslog

Remote syslog

echo "*.* @192.168.1.200" >> /etc/rsyslog.d/50-default.conf

tmpfs if on SSD

  • tmpfs for /tmp and (maybe make this a bind mount..)
tmpfs   /tmp       tmpfs   defaults,noatime,mode=1777   0  0

Web server if needed

sudo apt-get install apache2 php7 php7-sqlite