UbuntuSetup: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
(removed section of using dconf in favor of using built in System GUI)
(rewrite based on latest install)
Line 1: Line 1:
 
=Install Main Apps=
= After initial install =
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
sudo apt-get update
sudo apt-get update
Line 7: Line 6:


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


==Disable Popcorn==
export DEBIAN_FRONTEND=noninteractive
<syntaxhighlight lang=bash>
sudo apt-get install -y \
dpkg-reconfigure popularity-contest
keepass2 gnome-tweak-tool chrome-gnome-shell `#tools` \
</syntaxhighlight>
vim vim-scripts vim-runtime vim-doc curl xd \
lm-sensors p7zip-full exfat-utils exfat-fuse encfs libimage-exiftool-perl `#systools` \
ubuntu-restricted-extras gimp audacity vlc vlc-plugin-fluidsynth ffmpeg atomicparsley `#media` \
openjdk-8-jdk icedtea-8-plugin `#java` \
openssh-server fail2ban `#daemon` \
openvpn network-manager-openconnect-gnome network-manager-openvpn-gnome `#network-client` \
rdesktop freerdp2-x11 xtightvncviewer sshpass qbittorrent wireshark nmap nikto chkrootkit wavemon namebench apache2-utils mailutils `#netutils` \
virtualenv python2.7-examples python-pip `#python` \
build-essential `#build-tools` \
xchat pidgin `#chatapps` \
ansible `#automation`


==Set full vim editor and set as default==
unset DEBIAN_FRONTEND
Install full vim
<syntaxhighlight lang=bash>
sudo apt install -y vim-scripts vim-runtime vim-doc vim
</syntaxhighlight>
 
Set Default Editor
<syntaxhighlight lang=bash>
sudo update-alternatives --set editor /usr/bin/vim.basic
</syntaxhighlight>
 
==Set passwordless sudo==
<syntaxhighlight lang=bash>
visudo:
username ALL=(ALL) NOPASSWD: ALL
</syntaxhighlight>
 
== 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 windows and not just grouped apps ==
Application Launcher > Settings > Keyboard
* Under Navgiation, Set Switch Windows to alt+tab and replace. Yes to confirm override of "Switch Applications"
 
== Gnome Tweak Tool ==
<syntaxhighlight lang=bash>
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.
</syntaxhighlight>
 
=Install Main Apps=
<syntaxhighlight lang=bash>
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
</syntaxhighlight>
</syntaxhighlight>


* Chrome, verify Google Hangouts
* Atom [https://atom.io/]
* Atom [https://atom.io/]
** atom-beautify
** atom-beautify
Line 83: Line 37:
** script-runner
** script-runner
** teletype
** teletype
= Next =
* sqlitebrowser
* sqlitebrowser
* youtube-dl (via pip)
* youtube-dl (via pip)
Line 93: Line 49:
* DropBox [https://dropbox.com]
* DropBox [https://dropbox.com]
* Docker [https://docs.docker.com/install/linux/docker-ce/ubuntu/]
* Docker [https://docs.docker.com/install/linux/docker-ce/ubuntu/]
* Chrome, verify Google Hangouts
* Insynq [https://www.insynchq.com/downloads]
* Insynq [https://www.insynchq.com/downloads]
* Synergy
* Synergy
* Gitter
* Ramlog or equivalent for SSD
* Ramlog or equivalent for SSD
* nvm
* nvm
Line 101: Line 57:
* rvm [https://github.com/rvm/ubuntu_rvm Ubuntu RVM Instructions]
* rvm [https://github.com/rvm/ubuntu_rvm Ubuntu RVM Instructions]
* Studio 3T (mongodb browswer) (https://studio3t.com/download/)
* Studio 3T (mongodb browswer) (https://studio3t.com/download/)
* Oracle Java 8 (if needed)
* IntelliJ [https://www.jetbrains.com/idea/download/]
* IntelliJ [https://www.jetbrains.com/idea/download/]
* Android Studio [https://developer.android.com/studio/index.html]
* Android Studio [https://developer.android.com/studio/index.html]
Line 111: Line 68:
Name                  Version                  Rev  Developer      Notes
Name                  Version                  Rev  Developer      Notes
core                  16-2.29.4.2              3604  canonical      core
core                  16-2.29.4.2              3604  canonical      core
cumulonimbus          1.6.7                    18    snapcrafters  -
drive                current                  22    fireeye        -
drive                current                  22    fireeye        -
gitter-desktop        3.1.0                    20    snapcrafters  -
juju                  2.3.1                    3106  canonical      classic
juju                  2.3.1                    3106  canonical      classic
kubectl              1.9.0                    266  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
</syntaxhighlight>
</syntaxhighlight>


= Other NFS =
=Configure misc=
= After initial install =
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
sudo apt-get install -y nfs-common cifs-utils ethtool pm-utils
sudo apt-get install -y
sudo update-alternatives --set editor /usr/bin/vim.basic
</syntaxhighlight>
</syntaxhighlight>


*/etc/fstab
==Disable Popcorn==
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
192.168.1.200:/mnt/raid5 /mnt/raid5 nfs defaults 0 0
dpkg-reconfigure popularity-contest
</syntaxhighlight>
</syntaxhighlight>


= Other Syslog =
==Set passwordless sudo==
Remote syslog
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
echo "*.* @192.168.1.200" >> /etc/rsyslog.d/50-default.conf
visudo:
username ALL=(ALL) NOPASSWD: ALL
</syntaxhighlight>
</syntaxhighlight>


= tmpfs if on SSD =
== Dash to Dock ==
*tmpfs for /tmp and (maybe make this a bind mount..)
https://extensions.gnome.org/extension/307/dash-to-dock/
 
==  Set gnome-screenshot default save directory ==
?
== Gnome3 Fix alt+tab to move across windows and not just grouped apps ==
Application Launcher > Settings > Keyboard
* Under Navgiation, Set Switch Windows to alt+tab and replace. Yes to confirm override of "Switch Applications"
 
== Gnome Tweak Tool ==
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
tmpfs  /tmp      tmpfs  defaults,noatime,mode=1777  0  0
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.
</syntaxhighlight>
</syntaxhighlight>


= Web server if needed =
==Maybe Snaps==
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
sudo apt-get install apache2 php7 php7-sqlite
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
</syntaxhighlight>
</syntaxhighlight>

Revision as of 23:04, 28 March 2018

Install Main Apps

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

export DEBIAN_FRONTEND=noninteractive
sudo apt-get install -y \
keepass2 gnome-tweak-tool chrome-gnome-shell `#tools` \
vim vim-scripts vim-runtime vim-doc curl xd \
lm-sensors p7zip-full exfat-utils exfat-fuse encfs libimage-exiftool-perl `#systools` \
ubuntu-restricted-extras gimp audacity vlc vlc-plugin-fluidsynth ffmpeg atomicparsley `#media` \
openjdk-8-jdk icedtea-8-plugin `#java` \
openssh-server fail2ban `#daemon` \
openvpn network-manager-openconnect-gnome network-manager-openvpn-gnome `#network-client` \
rdesktop freerdp2-x11 xtightvncviewer sshpass qbittorrent wireshark nmap nikto chkrootkit wavemon namebench apache2-utils mailutils `#netutils` \
virtualenv python2.7-examples python-pip `#python` \
build-essential `#build-tools` \
xchat pidgin `#chatapps` \
ansible `#automation`

unset DEBIAN_FRONTEND
  • Chrome, verify Google Hangouts
  • Atom [1]
    • atom-beautify
    • linter-flake8
    • linter-pep8
    • autocomplete-python
    • django-templates
    • script-runner
    • teletype

Next

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

After initial install

sudo apt-get install -y
sudo update-alternatives --set editor /usr/bin/vim.basic

Disable Popcorn

dpkg-reconfigure popularity-contest

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 windows and not just grouped apps

Application Launcher > Settings > Keyboard

  • Under Navgiation, Set Switch Windows to alt+tab and replace. Yes to confirm override of "Switch Applications"

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.

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