UbuntuSetup: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
(updated links and main install command)
Line 15: Line 15:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
sudo sh -c "echo 'allow-guest=false' >> /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"
sudo sh -c "echo 'allow-guest=false' >> /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf"
</syntaxhighlight>
==Show username in Desktop Manager==
<syntaxhighlight lang=bash>
gsettings set com.canonical.indicator.session show-real-name-on-panel true
</syntaxhighlight>
</syntaxhighlight>


Line 52: Line 47:
== Gnome Tweak Tool ==
== Gnome Tweak Tool ==
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
TopIcons-plus - for insync prime, slack
TopIcons-plus - for Insync, Slack, Skype icons
Extension update notifier
Extension update notifier
Freon
Freon
Line 65: Line 60:
sudo apt-get install \
sudo apt-get install \
keepass2 rdesktop vncviewer \
keepass2 rdesktop vncviewer \
lm-sensors p7zip-full exfat-utils exfat-fuse \
lm-sensors p7zip-full exfat-utils exfat-fuse encfs \
vim ssh git \
vim ssh git \
ubuntu-restricted-extras qbittorrent gimp audacity \  
ubuntu-restricted-extras qbittorrent gimp audacity \  
icedtea-8-plugin \
openjdk-8-jre icedtea-8-plugin oracle-java8-installer \
network-manager-openvpn wireshark nmap \
network-manager-openvpn wireshark nmap nikto chkrootkit wavemon namebench apache2-utils mailutils \
openvpn openssh-server fail2ban \
openvpn openssh-server fail2ban \
vlc vlc-plugin-fluidsynth ffmpeg atomicparsley \
vlc vlc-plugin-fluidsynth ffmpeg atomicparsley \
virtualenv python2.7-examples python-pip \
xchat pidgin \
chrome-gnome-shell \
chrome-gnome-shell \
ansible \
gnome-tweaks
gnome-tweaks


** Atom
#xd exiftol
</syntaxhighlight>
 
** Atom [https://atom.io/]
** sqlitebrowser
** sqlitebrowser
** VirtualBox
** youtube-dl (via pip)
** Vagrant
** VirtualBox [https://www.virtualbox.org/]
** vagrant plugin install vagrant-berkshelf
** Vagrant [https://www.vagrantup.com/]
** vagrant plugin install berkshelf
*** vagrant plugin install vagrant-berkshelf
** Docker
*** vagrant plugin install berkshelf
** Terraform [https://www.terraform.io/]
** Docker [https://docs.docker.com/install/linux/docker-ce/ubuntu/]
** Chrome, verify Google Hangouts
** Chrome, verify Google Hangouts
** Insynq
** Insynq [https://www.insynchq.com/downloads]
** Synergy
** Synergy
** Ramlog or equivalent for SSD
** Ramlog or equivalent for SSD
** nvm
** nvm
** rvm
** gvm for goland
** Studio 3T (mongodb browswer)
** rvm [https://github.com/rvm/ubuntu_rvm Ubuntu RVM Instructions]
** IntelliJ
** Studio 3T (mongodb browswer) (https://studio3t.com/download/)
** Android Studio
** IntelliJ [https://www.jetbrains.com/idea/download/]
** Eclipse
** Android Studio [https://developer.android.com/studio/index.html]
** NetBeans
** Eclipse [https://www.eclipse.org/]
** PyCharm
** NetBeans [https://netbeans.org/downloads/]
** PyCharm [https://www.jetbrains.com/pycharm/download/#section=linux]


<syntaxhighlight lang=bash>
drew@drew-8570w:~$ snap list
drew@drew-8570w:~$ snap list
Name                  Version                  Rev  Developer      Notes
Name                  Version                  Rev  Developer      Notes
atom                  1.23.1                  109  snapcrafters  classic
core                  16-2.29.4.2              3604  canonical      core
core                  16-2.29.4.2              3604  canonical      core
cumulonimbus          1.6.7                    18    snapcrafters  -
cumulonimbus          1.6.7                    18    snapcrafters  -
drive                current                  22    fireeye        -
drive                current                  22    fireeye        -
gitter-desktop        3.1.0                    20    snapcrafters  -
gitter-desktop        3.1.0                    20    snapcrafters  -
go                    1.9.2                    1016  mwhudson      classic
jenkins              2.8                      6    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
lxd                  2.21                    5408  canonical      -
mongo33              3.3.9                    2    niemeyer      -
openhab              2.0.0                    167  openhab        -
picard                1.4.2                    2    pachulo        -
picard                1.4.2                    2    pachulo        -
pycharm-professional  2017.3.2                46    jetbrains      classic
spotify              1.0.70.399.g5ffabd56-26  5    spotify        -
spotify              1.0.70.399.g5ffabd56-26  5    spotify        -
sqlitebrowser-casept  3.9.1                    2    casept        -
sqlitebrowser-casept  3.9.1                    2    casept        -
vault                v0.9.0                  236  snapcrafters  -
vault                v0.9.0                  236  snapcrafters  -
vscode                1.19.1-1513676564        22    flexiondotorg  classic
vscode                1.19.1-1513676564        22    flexiondotorg  classic
oracle-java8-installer
cairo-dock
adobe-flashplugin
encfs youtube-dl nikto exiftool chkrootkit apache2-utils pidgin wavemon xd docker.io virtualenv python2.7-examples mailutils ansible namebench python-pip (via apt)
xchat
youtube-dl
</syntaxhighlight>
</syntaxhighlight>


= Other =
= Other NFS =
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
sudo apt-get install -y nfs-common cifs-utils ethtool pm-utils
sudo apt-get install -y nfs-common cifs-utils ethtool pm-utils
</syntaxhighlight>
</syntaxhighlight>


= Other Configuration =
= Other Syslog =
Remote syslog
Remote syslog
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>

Revision as of 08:49, 16 February 2018

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 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
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

Other Syslog

Remote syslog

echo "*.* @192.168.1.200" >> /etc/rsyslog.d/50-default.conf
  • tmpfs for /tmp and (maybe make this a bind mount..)
tmpfs   /tmp       tmpfs   defaults,noatime,mode=1777   0  0
  • /etc/fstab
192.168.1.200:/mnt/raid5 /mnt/raid5	nfs	defaults	0 0
  • web server if needed
sudo apt-get install apache2 php5 php5-sqlite