BIOS needs to setup to allow booting from USB disk
| Launch CSM | Enabled |
| BOOT Device Control | UEFI only |
| BOOT from Network Device | UEFI driver first |
| BOOT from Storage Devices | UEFI driver first |
| BOOT from PCI-E/PCI Expansion Devices | UEFI driver first |
| OS Type | other OS |
Choose English as language, the U.S. as country. Always continue. Choose the first network card: ‘enp0s319f6: Intel corporation Ethernet [2] 1215-V’. Set the Hostname(rainbow), username. Always continue, No encryption. Choose East of the U.S. as the time zone. Unmount partitions that are in use? Yes.
From
to
/Don’t assign a swap partition, don't update the system auto.
| Samba server |
| SSH server |
groupadd -g 3500 xue * Edit passwd to change the belongings of the first user vim /etc/passwd into:yxue,3568(user id):3500(group id) *change the group belongings of folder yxue chown yxue:xue xue
apt-get install vim visudo
Add the following block in the text file invoked by visudo command
## Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL yxue ALL=(ALL) NOPASSWD: ALL zhouqiao ALL=(ALL) NOPASSWD: ALL panying ALL=(ALL) NOPASSWD: ALL
cp ~yxue/.vimrc .
*Edit sourcelist
*change Ubuntu mirror into http://mirror.tuna.tsinghua.edu.cn,uncomment security alternatives
vim /etc/apt/sourcelist
apt-get update
sudo apt-get install xfce4 xfce4-terminal
sudo apt-get install gcc gfortran g++
sudo apt-get install libopenblas-base libopenblas-dev sudo update-alternatives --all * to make sure openblas becomes the default BLAS library * path priority is */vim.basic > */vim.gtk3-py2 > */vim.gonme sudo apt-get install python-numpy python-matplotlib python-scipy ipython ipython-notebook
cd /usr/lib/python2.7/dist-packages/numpy/linalg ldd lapack_lite.x86_64-linux-gnu.so *u will find this libopenblas.so.0 => /usr/lib/libopenblas.so.0 (0x00007ff6ebd1b000)
sudo dpkg --purge xscreensaver
sudo dpkg --purge xscreensaver-data
dpkg: warning: ignoring request to remove xscreensaver-data which isn't installed???
sudo apt-get install chromium-browser leafpad mlterm rox-filer xpdf gimp imagemagick vim-gnome links geeqie
apt-get install libboost-all-dev
sudo apt-get install lib32z1 sudo apt-get install libx11-6:i386 sudo apt-get install libstdc++6:i386 # for sparky sudo apt-get install libxext6:i386 # for nmrPipe # fonts needed for nmrDraw sudo apt-get install xfonts-75dpi xfonts-100dpi # for running dtrek2jpeg only sudo apt-get install libjpeg62:i386
sudo apt-get install software-properties-common sudo add-apt-repository ppa:x2go/stable sudo apt-get update sudo apt-get install x2goserver x2goserver-xsession
vi /etc/network/interface
dns-nameservers 166.111.8.28 166.111.8.29 #add this line to appointed network interface
/etc/init.d/networking restart
sudo netplan generate
sudo vim /etc/netplan/01-netcfg.yaml
enp0s8:
dhcp4: no
dhcp6: no
addresses: [192.168.56.110/24, ]
gateway4: 192.168.56.1
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
sudo netplan apply