Ubuntu 18 setup checklist

Here I’d like to have a list of programs setups  that I use after clean Ubuntu installation.

Install Chrome

Download latest official version. Then:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.debsudo apt install -f

Install basic tools from apt

sudo apt install guake byobu git openssh-server openssh-client unrar vim chromium-browser gnome-tweaks make maven

  • Chromium – The open source chrome
  • Guake – A nice terminal. Always in the background, just press F12. Type byobu to enter it
  • Byobu – Terminal multiplexer, allows tabs and other tricks. F2 – for new tab F3 switching between tabs
  • Git – The source control tool
  • Openssh – SSH server
  • Unrar – fixes built in rar extractor
  • Maven – Java package manager

Missing dependencies

If there are missing dependencies after an installation run this:

sudo apt install -f

Miscellaneous

  • Set guake to load on startup. Search → Startup Applications → Add command: guake
  • Terminator. Open 4 windows in terminator → Preferences → layout → name:me → save. Settings → Keyboard → Shortcuts → Ctrl + Alt + R -> terminator –maximise –borderless –layout=me
  • Disable Alt+Shift change language. Super -> tweaks (gnome-tweaks) -> Keyboard and Mouse -> Switch to another layout -> Uncheck Alt+Shift
  • Fix if nautilus can’t see samba servers. Edit file ‘vim /etc/samba/smb.conf’ after line ‘workgroup = WORKGROUP’ add:
    client max protocol = NT1
  • Save terminal tabs https://askubuntu.com/questions/310705/some-fast-way-to-save-and-restore-tabs-of-terminal

Add SSH key for git to work without password

https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html

Install PyCharm community

sudo snap install pycharm-community --classic

Install latest JDK or JRE

JDK includes JRE plus compiler and debugger.

Check what JRE version you have
java -version

Check what JDK version you have
javac -version

Install JRE
sudo apt-get install default-jre

Install JDK
sudo apt install default-jdk

Install Eclipse

sudo snap install --classic eclipse

Install IntelliJ

sudo snap install intellij-idea-community --classic --edge

Install miniconda

Miniconda is virtual environment manager + installer for complicated dependency packages like numpy etc.

Download the conda. http://conda.pydata.org/miniconda.html

bash Miniconda3-latest-Linux-x86_64.sh

Check “conda” command in the terminal. If it’s unavailable try:

export PATH="/home/oleg/miniconda3/bin:$PATH"

You can now create new virtual environments from the terminal or directly from the pyCharm. Check the conda tutorial here.

Install docker

According to official instructions. https://docs.docker.com/engine/installation/linux/ubuntu/

Install forticlient VPN

Install forticlient VPN from https://hadler.me/linux/forticlient-sslvpn-deb-packages/

run

sudo dpkg -i forticlient-sslvpn_4.4.2333-1_amd64.deb

Sublime text editor

Download from https://www.sublimetext.com/download

wget -qO – https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add –
sudo apt-add-repository “deb https://download.sublimetext.com/ apt/stable/”
sudo apt install sublime-text

Settings for sublime

  • Settings
    • Duplicate line shortcut. Preferences → Key bindings → User → add { “keys”: [“ctrl+d”], “command”: “duplicate_line” }
    • Disable word wrap by default. Preferences -> Syntax Specific add
      "word_wrap": false
  •  Plugins
    • Pretty JSON. Ctrl + Alt + J
    • Indent XML. Ctrl-K, F

Angular NPM and Angular CLI

sudo apt install npm
sudo npm install -g @angular/cli

Setup AWS

$ apt install awscli
$ aws configure

.ssh/config host alias list

Create login shortcuts for ssh connect. Edit file ~/.ssh/config, add entity like following:

Host fileserver
    HostName 10.0.0.6
    User john

or

Host fileserver
    HostName 10.0.0.6
    User john
    IdentityFile ~/.ssh/fileserver.pem

Now you can connect ssh fileserver

You can also save the password:

ssh-copy-id fileserver

Skype

sudo snap install skype --classic

Draw.io

User friendly diagram editor. Available web and desktop versions. https://www.draw.io/

Apps from Ubuntu software store

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s