UbuntuSetup: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
(added docker to install script)
(updated script for 18.04, automated additional tasks via shell, cleaned up documentation)
Line 2: Line 2:
Run install script from [https://github.com/drew-holt/u1710-setup-bash/blob/master/drew-8570w_u1710setup.sh]
Run install script from [https://github.com/drew-holt/u1710-setup-bash/blob/master/drew-8570w_u1710setup.sh]
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
wget https://raw.githubusercontent.com/drew-holt/u1710-setup-bash/master/drew-8570w_u1710setup.sh
wget https://raw.githubusercontent.com/drew-holt/u1710-setup-bash/master/drew-8570w_setup.sh
chmod 755 drew-8570w_u1710setup.sh
chmod 755 drew-8570w_u1710setup.sh
./drew-8570w_u1710setup.sh | tee -a setup-$(date '+%Y-%m-%d-%H.%M.%S%z').log
./drew-8570w_u1710setup.sh | tee -a setup-$(date '+%Y-%m-%d-%H.%M.%S%z').log
</syntaxhighlight>
Additional install script for extra [https://github.com/drew-holt/u1710-setup-bash/blob/master/drew-8570w_u1710setup_extra.sh]
<syntaxhighlight lang=bash>
wget https://raw.githubusercontent.com/drew-holt/u1710-setup-bash/master/drew-8570w_u1710setup_extra.sh
chmod 755 drew-8570w_u1710setup_extra.sh
./drew-8570w_u1710setup_extra.sh | tee -a setup-$(date '+%Y-%m-%d-%H.%M.%S%z').log
</syntaxhighlight>
</syntaxhighlight>


Line 31: Line 24:
* Oracle JDK 8 [https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04]
* Oracle JDK 8 [https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04]
* Docker [https://docs.docker.com/install/linux/docker-ce/ubuntu/#upgrade-docker-ce]
* Docker [https://docs.docker.com/install/linux/docker-ce/ubuntu/#upgrade-docker-ce]
* awscli (pip) [https://aws.amazon.com/cli/]
* awscli [https://aws.amazon.com/cli/]
* youtube-dl (pip) [https://rg3.github.io/youtube-dl/]
* youtube-dl (pip) [https://rg3.github.io/youtube-dl/]
* nvm ''requires '''/bin/bash --login''' or fixed shell'' [https://github.com/creationix/nvm]
* rvm ''requires '''/bin/bash --login''' or fixed shell'' [https://github.com/rvm/ubuntu_rvm Ubuntu RVM Instructions]
* rvm ''requires '''/bin/bash --login''' or fixed shell'' [https://github.com/rvm/ubuntu_rvm Ubuntu RVM Instructions]
* nvm ''requires '''/bin/bash --login''' or fixed shell'' [https://github.com/creationix/nvm]


Without repos:
== Install Manually ==
* VirtualBox (script this?) [https://www.virtualbox.org/]
* VirtualBox (script this?) [https://www.virtualbox.org/]
* Vagrant (script this?) [https://www.vagrantup.com/]
* Vagrant (script this?) [https://www.vagrantup.com/]
Line 85: Line 78:


==Set default downloads directory to Desktop==
==Set default downloads directory to Desktop==
command for firefoxx, chrome, qbit, skype, slack, hangouts, etc
command for firefox, chrome, qbit, skype, slack, hangouts, etc


== Gnome Tweak Tool ==
== Gnome Tweak Tool ==
Install extension then use Tweak tool to configure.
Install and configure extensions (done via script).
=== Dash to Dock ===
* Dash to Dock [https://extensions.gnome.org/extension/307/dash-to-dock/]
* Dash to Dock [https://extensions.gnome.org/extension/307/dash-to-dock/]
* TopIcons-plus [https://extensions.gnome.org/extension/1031/topicons/] - for Insync, Slack, Skype icons
* TopIcons-plus [https://extensions.gnome.org/extension/1031/topicons/] - for Insync, Slack, Skype icons
* OpenWeather [https://extensions.gnome.org/extension/750/openweather/]
* Grown-up notifications [https://extensions.gnome.org/extension/1335/grown-up-notifications/]


Extensions installed into:
==Gmail to handle mailto: links==
<syntaxhighlight lang=bash>
Partially scripted.
$ ~/.local/share/gnome-shell/extensions
* restart GNOME Shell (Alt+F2, r, Enter) and enable the extension through gnome-tweak-tool.
</syntaxhighlight>


==Gmail to handle mailto: links==
https://developers.google.com/web/updates/2012/02/Getting-Gmail-to-handle-all-mailto-links-with-registerProtocolHandler
https://developers.google.com/web/updates/2012/02/Getting-Gmail-to-handle-all-mailto-links-with-registerProtocolHandler



Revision as of 02:27, 28 April 2018

Install Main Apps

Run install script from [1]

wget https://raw.githubusercontent.com/drew-holt/u1710-setup-bash/master/drew-8570w_setup.sh
chmod 755 drew-8570w_u1710setup.sh
./drew-8570w_u1710setup.sh | tee -a setup-$(date '+%Y-%m-%d-%H.%M.%S%z').log

Installers needing extra config

run_keybase
insync start ### do some magic here so we don't have to resync 200GB of google drive

Install Manually

  • VirtualBox (script this?) [13]
  • Vagrant (script this?) [14]
  • ChefDK (script this) [15]

When needed

drew@drew-8570w:~$ snap list
Name                  Version                  Rev   Developer      Notes
core                  16-2.29.4.2              3604  canonical      core
drive                 current                  22    fireeye        -
juju                  2.3.1                    3106  canonical      classic
kubectl               1.9.0                    266   canonical      classic

Configure misc

Configure SSH keys

Create new ones or replenish from vault.

Configure GPG keys

Pull from vault, set git config

gpg --import drewholt-private-2018.03.01.key
gpg --edit-key {KEY} trust quit

git config --global user.signingkey 7A27C99359698874

vi ~/.gnupg/gpg.conf:
default-key 2018-03-01

gpg -d somefile.tar.xz.pgp | tar -tJ

Set gnome-screenshot default save directory

?

Set default downloads directory to Desktop

command for firefox, chrome, qbit, skype, slack, hangouts, etc

Gnome Tweak Tool

Install and configure extensions (done via script).

  • Dash to Dock [22]
  • TopIcons-plus [23] - for Insync, Slack, Skype icons

Gmail to handle mailto: links

Partially scripted.

https://developers.google.com/web/updates/2012/02/Getting-Gmail-to-handle-all-mailto-links-with-registerProtocolHandler

Maybe Snaps

drew@drew-8570w:~$ snap list
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