Install ubuntu:
1 2 3 4 5 |
1. download a linux operation system iso file. 2. change system setting from uefi to legacy, from ‘boot from hdd’ to ’boot from u disk’; 3. make a U disk for installation; 4. manually setting partition: all logical partition: |
Name | Size |
boot | 500 MB |
/ | 50 GB |
/home | 100 GB |
swap space | 8 GB |
1 |
boot: 每个内核大概占80MB,所以250MB可以放最多3个内核。大概可以用一个月,不删除内核。具体取决于内核更新的频率。 |
Configure Ubuntu
1 2 3 |
1. install adobe flash player for firefox move “libflashplayer.so” to firefox plugin file; cp libflashplayer.so ~/.mozilla/plugins/ |
Move files under the directory “usr” to usr;
sudo cp -r ./usr/* /usr/
1 2 3 4 5 |
2. upgrade: sudo apt-get update; sudo apt-get upgrade; 3. enable multiple desktops in ubuntu system settings → appearance → behavior → enable workspaces |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
4. install necessary softwares -------------------------------------------------------------------<strong> flacon</strong> Flacon extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. ------------------------------------------------------------------- <strong>wondershape</strong> wondershaper wlan0 1000 1000 ------------------------------------------------------------------- <strong>filezilla</strong> Kolourpaint ------------------------------------------------------------------- <strong>nethogs</strong> sudo apt-get nethogs <strong>foxit </strong> https://www.foxitsoftware.com/products/pdf-reader/ ------------------------------------------------------------------- <strong>tree chrome</strong> ------------------------------------------------------------------- <strong>g++ & gcc</strong> 先安装mpc,gmp & mpfr,然后添加其lib至LD_LIBRARY_PAYH; /gcc_6.3.0/gcc-6.3.0/configure --disable-multilib --prefix=/gcc_6.3.0/ --with-gmp=/gcc_6.3.0/addition/gmp_6.1.0/ --with-mpfr=/gcc_6.3.0/addition/mpfr_3.1.4/ --with-mpc=/gcc_6.3.0/addition/mpc_1.0.3/ && make -j 24 && make -j 24 check && make -j 24 install ------------------------------------------------------------------- <strong>vim</strong> sudo apt-get install vim |
1 2 3 4 5 |
5. mount windows partition sudo blkid vim /etc/fstab Add "/dev/sda5 /media/nolan/WORK/ ntfs defaults 0 0" sudo mount -a |
1 2 3 4 5 |
6.set dual monitor xrandr #to find the name of the monitors: DP-1 and eDP-1 xrandr --output DP-1 --left-of eDP-1 --auto #--left-of: set the relative place of two monitors #--auto: set resolutions of monitors |
1 2 3 |
7.set environment parameters(path and variable) set a local environment path: just add the path before the system path like this:PATH=/path/to/program/:$PATH set a variable: NAME=/path/of/the/program |
1 2 3 |
8.install nvidia driver GeForce: 840M notebook <a href="http://www.nvidia.com/Download/index.aspx">NVIDIA Driver Download</a> |
1 2 |
9.PPA (personal package archives) location: /etc/apt/sources.list.d/ |
10. foobar