Ubuntu basic

Table of Contents

Next: , Up: (dir)   [Contents]

Ubuntu basic

This manual is for program, version version.


Previous: , Up: Top   [Contents]

1 Introduction

Download ubuntu 16.04.1 ubuntu16.04.1
Make USB boot sudo dd if=ubuntu-16.04.1-desktop-amd64.iso of=/dev/sdc bs=8M;sync
Note
ubuntu-16.04.1-desktop-amd64.iso
/dev/sdc is your USB device
Ubuntu16.04 (Long Term Support till 2021)
simple edit: sudo apt-get install gedit
vim: sudo apt-get install vim
emacs: sudo apt-get install emacs
git: sudo apt-get install git
ctags: sudo apt-get install ctags
cscope: sudo apt-get install cscope
basic development: sudo apt-get install build-essential
ssh: sudo apt-get install openssh-server openssh-client
Atom: https://atom.io/

one more terminal
sudo apt-get install mate-terminal
sudo apt-get install roxterm

install sublime editor
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
https://www.sublimetext.com/
http://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3

install iptux
sudo apt-get install iptux

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-7-jdk
sudo update-alternatives --config java   # change java version
sudo update-alternatives --config javac  # change javac version
java -verson                             # check out current Java version
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable
Command line          sudo apt-get install fcitx-googlepinyin
Setting               System settings -> Language support -> Keyboard input method system -> change to fcitx.
PC reset              Log out/log in
Setting               Ubuntu Search -> Input -> Text entry setting
Using Fcitx           Click + -> Search "Google" -> find "Google Pinyin (Fcitx)"
Change input methods  Use "Ctrl+space" to switch between input methods
point release upgrade
sudo apt-get update
sudo apt-get upgrade
(or run sudo apt-get dist-upgrade)

next release upgrade
sudo apt-get update
sudo do-release-upgrade

reference
https://askubuntu.com/questions/804016/how-to-upgrade-from-16-04-lts-to-16-04-1-lts // ubuntu 小版本升级
https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts
https://help.ubuntu.com/lts/serverguide/installing-upgrading.html
https://askubuntu.com/questions/81585/what-is-dist-upgrade-and-why-does-it-upgrade-more-than-upgrade
http://manpages.ubuntu.com/manpages/zesty/en/man8/apt-get.8.html
http://lawrit.lawr.ucdavis.edu/it-help-center/how-to/upgrading-ubuntu-via-command-line
install tools
	sudo apt-get install openconnect
	sudo apt-get install vpnc
get vpnc-script
	curl -O https://free-time-team.github.io/bank/00resource/system/vpnc-script
	copy vpnc-script to /etc/vpnc/vpnc-script
run
	sudo openconnect --script /etc/vpnc/vpnc-script -u user_name https://vpn.example.com/
reference
	http://www.infradead.org/openconnect/vpnc-script.html
	http://www.infradead.org/openconnect/