This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:linux:ubuntu_14.04 [2014/05/17 15:48] gcooper |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu 14.04 ( Trusty Tahr ) ====== | ||
- | http:// | ||
- | |||
- | http:// | ||
- | |||
- | ===== Configure Repositories ===== | ||
- | |||
- | **Dash -> Software & Updates** | ||
- | |||
- | * **Other Software -> Enable Canonical Partners Repos** | ||
- | * **Updates -> Check for Updates Weekly** | ||
- | |||
- | ===== Update the New Installation ===== | ||
- | |||
- | ==== Activate SSD Support ==== | ||
- | |||
- | :!: A weekly trim is enabled by default for Intel and Samsung SSDs. | ||
- | |||
- | http:// | ||
- | |||
- | Test TRIM support at the command line: | ||
- | |||
- | < | ||
- | sudo fstrim -v / | ||
- | </ | ||
- | |||
- | Run the command daily: | ||
- | |||
- | < | ||
- | mv / | ||
- | </ | ||
- | |||
- | Make it work for non-Intel/ | ||
- | |||
- | < | ||
- | vim / | ||
- | |||
- | exec fstrim-all --no-model-check | ||
- | </ | ||
- | |||
- | ==== Install Ubuntu Updates ==== | ||
- | |||
- | < | ||
- | sudo apt-get update && sudo apt-get dist-upgrade | ||
- | sudo reboot | ||
- | </ | ||
- | |||
- | ===== Software Tweaks ===== | ||
- | |||
- | < | ||
- | sudo apt-get autoremove unity-lens-shopping vim-tiny empathy | ||
- | </ | ||
- | |||
- | < | ||
- | sudo apt-get install ubuntu-restricted-extras gnome-tweak-tool vim-nox minicom rdesktop wget pidgin \ | ||
- | whois vncviewer compizconfig-settings-manager keepassx unrar zip unzip rar cabextract gimp | ||
- | </ | ||
- | |||
- | ===== System Tweaks ===== | ||
- | |||
- | ==== Enable ' | ||
- | |||
- | < | ||
- | sudo passwd root | ||
- | </ | ||
- | |||
- | ==== Configure Bash Shell ==== | ||
- | |||
- | < | ||
- | cat >> ~/.bashrc << EOF | ||
- | |||
- | alias ll='ls -l' | ||
- | alias la='ls -al' | ||
- | alias l='ls -CF' | ||
- | alias ls=" | ||
- | alias free=" | ||
- | export GREP_OPTIONS=' | ||
- | PS1=' | ||
- | export HISTCONTROL=ignoredups | ||
- | EOF | ||
- | </ | ||
- | |||
- | ===== GUI Tweaks ===== | ||
- | |||
- | :!: Adjust these settings as a regular user. | ||
- | |||
- | File Manager tweaks: | ||
- | |||
- | - Open a file manager (Nautilus) window | ||
- | - **Edit -> Preferences -> Behavior -> Include a Delete Command That Bypasses Trash** | ||
- | |||
- | Start the CompizConfig Settings Manager as a regular user: | ||
- | |||
- | < | ||
- | ccsm | ||
- | </ | ||
- | |||
- | Adjust your workspaces (virtual desktops): | ||
- | |||
- | **General -> General Options -> Desktop Size** | ||
- | |||
- | * **Horizontal Virtual Size -> 3** | ||
- | * **Vertical Virtual Size -> 2** | ||
- | |||
- | For windows to display on all workspaces: | ||
- | |||
- | **Utility -> Workarounds -> Window Stickyness -> Make "on all desktops" | ||
- | |||
- | Show day and date: | ||
- | |||
- | < | ||
- | gsettings set com.canonical.indicator.datetime show-date true | ||
- | gsettings set com.canonical.indicator.datetime show-day true | ||
- | </ | ||
- | |||
- | Move Minimize/ | ||
- | |||
- | < | ||
- | gsettings set org.gnome.desktop.wm.preferences button-layout ': | ||
- | </ | ||
- | |||
- | ===== Printing ===== | ||
- | |||
- | **Dash -> Printers -> Add** | ||
- | |||
- | ===== Oracle Java ===== | ||
- | |||
- | http:// | ||
- | |||
- | < | ||
- | sudo add-apt-repository ppa: | ||
- | sudo apt-get update | ||
- | sudo apt-get install oracle-java7-installer | ||
- | sudo update-java-alternatives -s java-7-oracle | ||
- | java -version | ||
- | </ | ||
- | |||
- | If necessary: | ||
- | |||
- | < | ||
- | sudo update-java-alternatives -s java-7-oracle | ||
- | sudo apt-get install oracle-java7-set-default | ||
- | sudo update-alternatives --config java # switch between Java versions | ||
- | sudo apt-get remove oracle-java7-installer | ||
- | </ | ||
- | |||
- | **Java Test Page**: http:// | ||
- | |||
- | ===== Applications ===== | ||
- | |||
- | ==== Dropbox ==== | ||
- | |||
- | See also **[[computing: | ||
- | |||
- | < | ||
- | sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E | ||
- | sudo add-apt-repository "deb http:// | ||
- | sudo apt-get update && sudo apt-get install dropbox python-gpgme | ||
- | </ | ||
- | |||
- | === Tweaks to Use Dropbox === | ||
- | |||
- | < | ||
- | # SSH | ||
- | rm -rf ~/.ssh | ||
- | ln -s ~/ | ||
- | |||
- | # Documents Folder | ||
- | rm -rf ~/Documents | ||
- | ln -s ~/ | ||
- | |||
- | # Fonts Folder | ||
- | ln -s ~/ | ||
- | |||
- | #Pidgin | ||
- | rm -rf ~/.purple | ||
- | ln -s ~/ | ||
- | |||
- | # Remina | ||
- | rm -rf ~/.remmina | ||
- | echo "" | ||
- | ln -sf ~/ | ||
- | </ | ||
- | |||
- | ==== Instant Messaging ==== | ||
- | |||
- | :!: Note that the commands above uninstall Empathy and install Pidgin. | ||
- | |||
- | === Empathy === | ||
- | |||
- | Empathy is the default IM client and is pre-installed. | ||
- | |||
- | **System Settings -> Add Online Accounts** | ||
- | |||
- | === Pidgin === | ||
- | |||
- | Pidgin is also integrated well into the UI. | ||
- | |||
- | Pidgin is the 'Old Reliable' | ||
- | |||
- | ==== Calibre for E-books ==== | ||
- | |||
- | http:// | ||
- | |||
- | http:// | ||
- | |||
- | < | ||
- | sudo apt-get update && sudo apt-get install calibre | ||
- | </ | ||
- | |||
- | ==== Kompozer ==== | ||
- | |||
- | < | ||
- | cd ~/Downloads | ||
- | wget http:// | ||
- | sudo dpkg -i kompozer*.deb | ||
- | </ | ||
- | |||
- | ===== Multimedia ===== | ||
- | |||
- | This will install the VLC media player and HandBrake DVD ripper: | ||
- | |||
- | < | ||
- | sudo add-apt-repository ppa: | ||
- | sudo apt-get update | ||
- | sudo apt-get install vlc libdvdread4 handbrake-gtk | ||
- | sudo / | ||
- | </ | ||
- | |||
- | ==== Netflix ==== | ||
- | |||
- | :!: Installing this will likely install a TON of dependencies. Un-tested for that reason. | ||
- | |||
- | http:// | ||
- | |||
- | ===== Portable Computers (Laptops) ===== | ||
- | |||
- | ==== Enable Hibernation ==== | ||
- | |||
- | < | ||
- | sudo gedit / | ||
- | </ | ||
- | |||
- | < | ||
- | [Re-enable hibernate by default in upower] | ||
- | Identity=unix-user: | ||
- | Action=org.freedesktop.upower.hibernate | ||
- | ResultActive=yes | ||
- | |||
- | [Re-enable hibernate by default in logind] | ||
- | Identity=unix-user: | ||
- | Action=org.freedesktop.login1.hibernate | ||
- | ResultActive=yes | ||
- | </ | ||
- | |||
- | Restart your PC then check to verify the '' | ||
- | |||
- | ===== Remote Access ===== | ||
- | |||
- | Enable VNC access to your desktop: | ||
- | |||
- | **Applications -> Desktop Sharing** | ||
- | |||
- | * **Allow other users to view your desktop** | ||
- | * **Require the user to enter this password** | ||
- | |||
- | :!: You will need to forward TCP port 5900 to your PC. | ||
- | |||
- | ===== Virtualization ===== | ||
- | |||
- | :!: KVM virtualization is the default in Ubuntu, but I go straight to Virtualbox for Desktops and XenServer for servers. | ||
- | |||
- | ==== Virtualbox ==== | ||
- | |||
- | :!: Enable the Partner Repos per above. | ||
- | |||
- | :!: Install the Extension Pack from here when done: https:// | ||
- | |||
- | Install Virtualbox: | ||
- | |||
- | < | ||
- | sudo apt-get update && sudo apt-get install virtualbox | ||
- | </ | ||
- | |||
- | ===== Security ===== | ||
- | |||
- | https:// | ||
- | |||
- | Enable the built-in firewall: | ||
- | |||
- | < | ||
- | sudo ufw enable | ||
- | </ | ||
- | |||
- | Show the firewall status: | ||
- | |||
- | < | ||
- | sudo ufw status verbose | ||
- | sudo ufw show raw | ||
- | </ | ||
- | |||
- | Manage the firewall: | ||
- | |||
- | You can use the command line to modify the firewall like this: | ||
- | |||
- | < | ||
- | sudo ufw allow ssh/tcp | ||
- | </ | ||
- | |||
- | or install a GUI tool: | ||
- | |||
- | < | ||
- | sudo apt-get install gufw | ||
- | </ | ||
- | |||
- | **Applications -> Firewall Configuration** | ||
- | |||
- | :!: Note that the rules files are in ''/ |