UbuntuSetup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= After inistial install = | |||
<syntaxhighlight> | |||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get upgrade -y | sudo apt-get upgrade -y | ||
Line 9: | Line 10: | ||
sudo etckeeper init | sudo etckeeper init | ||
sudo vi .gitignore # remove sensitive files | sudo vi .gitignore # remove sensitive files | ||
</syntaxhighlight> | |||
Disable | ==Disable Guest Login== | ||
<syntaxhighlight> | |||
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 | ==Show username in Desktop Manager== | ||
<syntaxhighlight> | |||
gsettings set com.canonical.indicator.session show-real-name-on-panel true | gsettings set com.canonical.indicator.session show-real-name-on-panel true | ||
</syntaxhighlight> | |||
==Set vim Editor== | |||
<syntaxhighlight> | |||
sudo update-alternatives --set editor /usr/bin/vim.basic | sudo update-alternatives --set editor /usr/bin/vim.basic | ||
</syntaxhighlight> | |||
==Set passwordless sudo== | |||
<syntaxhighlight> | |||
visudo: | visudo: | ||
username ALL=(ALL) NOPASSWD: ALL | username ALL=(ALL) NOPASSWD: ALL | ||
</syntaxhighlight> | |||
=Install Main Apps= | |||
<syntaxhighlight> | |||
sudo apt-get install \ | sudo apt-get install \ | ||
keepass2 rdesktop \ | keepass2 rdesktop vncviewer \ | ||
lm-sensors p7zip-full exfat-utils exfat-fuse \ | lm-sensors p7zip-full exfat-utils exfat-fuse \ | ||
vim ssh git \ | vim ssh git \ | ||
ubuntu-restricted-extras qbittorrent gimp \ | ubuntu-restricted-extras qbittorrent gimp audacity \ | ||
icedtea-8-plugin \ | icedtea-8-plugin \ | ||
wireshark nmap \ | network-manager-openvpn wireshark nmap \ | ||
openvpn openssh-server fail2ban \ | |||
vlc vlc-plugin-fluidsynth ffmpeg atomicparsley \ | vlc vlc-plugin-fluidsynth ffmpeg atomicparsley \ | ||
chrome-gnome-shell \ | chrome-gnome-shell \ | ||
Line 33: | Line 48: | ||
** VirtualBox | ** VirtualBox | ||
** Chrome | ** Chrome, verify Google Hangouts | ||
** Insynq | ** Insynq | ||
** Atom | ** Atom | ||
** Synergy | |||
** Ramlog or equivalent for SSD | |||
** nvm | |||
** rvm | |||
oracle-java8-installer | oracle-java8-installer | ||
cairo-dock | cairo-dock | ||
adobe-flashplugin | adobe-flashplugin | ||
encfs youtube-dl nikto exiftool chkrootkit apache2-utils pidgin wavemon xd docker.io virtualenv python2.7-examples mailutils ansible namebench python-pip | 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 | xchat | ||
youtube-dl | youtube-dl | ||
</ | </syntaxhighlight> | ||
= Other = | |||
<syntaxhighlight> | |||
sudo apt-get install -y nfs-common cifs-utils ethtool pm-utils | |||
</syntaxhighlight> | |||
= Other Configuration = | |||
Remote syslog | |||
<syntaxhighlight> | |||
echo "*.* @192.168.1.200" >> /etc/rsyslog.d/50-default.conf | |||
</syntaxhighlight> | |||
*tmpfs for /tmp and (maybe make this a bind mount..) | |||
<syntaxhighlight> | |||
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0 | |||
</syntaxhighlight> | |||
*/etc/fstab | |||
<syntaxhighlight> | |||
192.168.1.200:/mnt/raid5 /mnt/raid5 nfs defaults 0 0 | |||
</syntaxhighlight> | |||
*web server if needed | |||
<syntaxhighlight> | |||
sudo apt-get install apache2 php5 php5-sqlite | |||
</syntaxhighlight> |
Revision as of 04:24, 29 December 2017
After inistial 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"
Show username in Desktop Manager
gsettings set com.canonical.indicator.session show-real-name-on-panel true
Set vim Editor
sudo update-alternatives --set editor /usr/bin/vim.basic
Set passwordless sudo
visudo:
username ALL=(ALL) NOPASSWD: ALL
Install Main Apps
sudo apt-get install \
keepass2 rdesktop vncviewer \
lm-sensors p7zip-full exfat-utils exfat-fuse \
vim ssh git \
ubuntu-restricted-extras qbittorrent gimp audacity \
icedtea-8-plugin \
network-manager-openvpn wireshark nmap \
openvpn openssh-server fail2ban \
vlc vlc-plugin-fluidsynth ffmpeg atomicparsley \
chrome-gnome-shell \
gnome-tweaks
** VirtualBox
** Chrome, verify Google Hangouts
** Insynq
** Atom
** Synergy
** Ramlog or equivalent for SSD
** nvm
** rvm
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
Other
sudo apt-get install -y nfs-common cifs-utils ethtool pm-utils
Other Configuration
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