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 |
| Debain desktop environment |
| Xfce |
| LXDE |
| SSH server |
| standard system utilities |
groupadd -g 3500 xue
apt-get install vim visudo
Add the following block in the text file invoked by visudo command
apt-get install tcsh mc python python-dev screen links
sudo apt-get install xfce4 xfce4-terminal sudo dpkg --purge xscreensaver # remove screensave to save CPU resources sudo dpkg --purge xscreensaver-data
sudo apt-get install iceweasel
sudo apt-get update sudo dpkg --add-architecture i386 sudo apt-get update 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
sudo apt-get install python-pip mkdir ~/build/numpy cd ~/build/numpy pip install -d . numpy # download numpy source code
Now create a site.cfg file with the following content进行这一步
apt-cache search openblas # search for openblas sudo apt-get install libopenblas-base libopenblas-dev sudo apt-get install python2.7-dev
sudo apt-get install python-pip mkdir ~/build/numpy cd ~/build/numpy pip install -d . numpy unzip numpy*.zip cd numpy-* cp site.cfg.example site.cfg # Create site.cfg with the following content: # [default] # library_dirs= /usr/lib/openblas-base # # [atlas] # atlas_libs = openblas python setup.py build
ldd build/lib.linux-x86_64-2.7/numpy/linalg/lapack_lite.so
You should see something like
linux-vdso.so.1 (0x00007ffe387f9000) libopenblas.so.0 => /usr/lib/libopenblas.so.0 (0x00007f44e35ed000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f44e33cf000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f44e3024000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f44e2d23000) libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007f44e2a04000) /lib64/ld-linux-x86-64.so.2 (0x000055a81f0ec000) libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007f44e27c7000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f44e25b1000)
sudo python setup.py install
sudo pip install scipy sudo apt-get install matplotlib sudo apt-get install ipython
sudo dpkg --purge --force-all python-numpy
sudo dpkg -r --ignore-depends=python-numpy python-numpy
sudo -s apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E editor /etc/apt/sources.list.d/x2go.list apt-get update apt-get install x2go-keyring && apt-get update apt-cache search x2go
sudo apt-get install x2goserver x2goserver-xsession