New ubuntu system setup steps
I keep my ubuntu system initial setup checklist here in case of future need when I get some new computer to set up. System clone can be tricky when setting up a new machine with different hardware. Build from the ground up is a safer way to do it. It will cost you some time but it always results in a familiar and convenient environment.
{% asset_img 2018-11-07-computer-setup-guild_2018-11-07-12-12-03.png %}
-
Configure
sources.list
file, use tuna mirrors at tsinghua university, it is the fastest mirror in my location.sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo gedit /etc/apt/sources.list
Change the file content to tsinghua mirror deb lists.
-
Update the system
sudo apt update
sudo apt upgrade
-
Modify the grup default startup
If the computer has diffirent os other than ubuntu, need modify
/etc/default/grub
, setGRUB_DEFULT
to according startup item list sequence, like 4. setGRUB_TIMEOUT
Then run
sudo update-grub
to enable the modification. -
Setup network proxy
Install putty.
sudo apt install putty
Copy required session and ppk files into new system, the fix folder is
$HOME/.putty/session
and '$HOME/Tools/EC2-Ubuntu` respectively.After copy the files, run putty and start the session EC2.
Start System setting toolsSettings/Network/Network Proxy
, selectAutomatic
, set the Configuration URL tofile:///$HOME/Tools/vpnPAC/OmegaProfile_Proxy.pac
Install Chromium-browser, sign in google acount and sync.
sudo apt install chromium-browser
-
Install fcitx and Sougou Pinyin for linux by following this link
sudo apt install fcitx
install the deb file downloaded from the link above.
Open
Settings/Region & Language
, Manage Installed Languages, install Simple Chinese and set the Keyboard input method system to fcitx.Configure input method, add sougou Pinyin.
-
Mails
Copy old mails from
$HOME/.thunderbird
and paste them to the corresponding folders. -
Keyboard Shortcuts Settings
- Home folder: Super+E
- Launch Terminal: Super+T
- Settings: Super+C
- Close Window: Super+X
- Hide Window: Super+Z
- PrtSc-Area-cliboard: Ctrl+Alt+C:
gnome-screenshot -a -c
- System-Monitor: Ctrl+Alt+M:
gnome-system-monitor
- PrtSc-Area: Ctrl+Alt+A:
gnome-screenshot -a
- fsearch: Super+F:
fsearch
-
Install development supporting apt packages and required softwares.
sudo apt-get install git build-essential automake autoconf libtool pkg-config intltool autoconf-archive libpcre3-dev libglib2.0-dev libgtk-3-dev libxml2-utils
sudo apt install doublecmd-gtk gnome-tweaks dconf-tools virtualbox wps-office default-jre default-jdk openjdk-8-jre openjdk-8-jdk
- fsearch
- Double commander, You will encounter an error when you want to extract rar files under doublecmd. Linux Mint Debian Edition (LMDE) does not include
libunrar.so
, this means you cannot open RAR files with Double Commander. You need to buildlibunrar.so
yourself by following the link at the beginning of this paragraph. - anaconda using mirror at Tsinghua tuna mirror site
- FoxitReader
- Visual Studio Code, extensions can be installed by copy
$HOME/.vscode/extensions
folder to the according folder. - Zotero
- Docear, docear need java 8 runtime, run
sudo update-alternatives --config java
to config the java runtime to openjave-8-jre. The compatible PDf Viewer selection under ubuntu is tricky, the version is V2.5 build 322.9, it’s a green edition, and the pdf management configuration need to bewine*$HOME/Tools/PDFXViewer/PDFXCview.exe*/A*page=$PAGE*$FILE
. Also need to set the copy comment to clipboard and single document settings in PDFXViewer. - Gitkraken
- Wps Office need to download and install wps-fonts, one need to copy them into the exact folder
/usr/share/fonts/wps-fonts
.
-
Set the dock click action to minimize. using
dconf-editor
tools, gotoorg/gnome/shell/extensions/dash-to-dock/click-action
,
change the custom value to ‘minimize’ -
Install Windows in Virtualbox, the installation is simple strait forward, the tricky part is the Virtualbox extensions pack, to use software like Altium Designer in virtualbox and USB 3.0 hard drives, one need to enable 3D acceleration and USB 3.0 respectively, in order to do that, install the extensions pack in windows safe mode, which can enter by click F8 at the startup.