Deep server from scratch

浪尽此生 提交于 2020-01-18 23:49:21

 

Deep server from scratch

1.install Ubuntu16.04 via flash

https://www.cnblogs.com/pprp/p/9607245.html

2.wired Network by Ruijie

https://www.cnblogs.com/nanzhao/p/9575226.html

3.install google

https://blog.csdn.net/lxlong89940101/article/details/86287279

4.Sogou pinyin

https://blog.csdn.net/sophia_xw/article/details/83004263

ref:

https://pinyin.sogou.com/linux/help.php

link for download: https://pinyin.sogou.com/linux/

5.Tsinghua mirrors

https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

6.SSH server

sudo apt-get install openssh-server

sudo service ssh start

sudo service ssh status

optional: sudo servicessh restart

solutions for error(Package 'openssh-server' has no installation candidate): https://blog.csdn.net/sunshingheavy/article/details/53174461

7. Typora

https://www.typora.io/#linux

8.sublime3

ref:https://www.sublimetext.com/docs/3/linux_repositories.html#apt

  • apt - Ubuntu, Debian

  • pacman - Arch

  • yum - CentOS

  • dnf - Fedora

  • zypper - openSUSE

    apt

    Install the GPG key:

     wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

    Ensure apt is set up to work with https sources:

     sudo apt-get install apt-transport-https

    Select the channel to use:

    • Stable

      echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

    • Dev

      echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

    Update apt sources and install Sublime Text

     sudo apt-get update sudo apt-get install sublime-text
9.git

git clone --recursive git://github.com/Valloric/YouCompleteMe

ref:https://www.linuxidc.com/Linux/2017-11/148192.htm

10.NVIDIA drive + cuda + cudnn
(1)NVIDIA drive: https://www.cnblogs.com/pprp/p/9463974.html
(2)cuda_8.0.61_375.26_linux.run

link for download: https://developer.nvidia.com/cuda-toolkit-archive

ref1: https://www.cnblogs.com/pprp/p/9463974.html

ref2:https://blog.csdn.net/wanzhen4330/article/details/81699769#cuda%E7%9A%84%E5%AE%89%E8%A3%85

  • sudo sh cuda_8.0.61_375.26_linux.run

  • accept

     

    n(driver is not needed, we finish it in last step)

     

    y

     

    y

     

    y

  • sudo gedit ~/.bashrc

add the contents below:

 export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
  • sudo gedit /etc/profile

    add content in the tail of file: export PATH=/usr/local/cuda/bin:$PATH

  • sudo gedit /etc/ld.so.conf.d/cuda.conf

add content: /usr/local/cuda/lib64

  • sudo ldconfig

test cuda

 cd ~/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery ​ make ​ ./deviceQuery

pass is right.

(3)cudnn-9.0-linux-x64-v7.1.tgz

link for download: https://developer.nvidia.com/rdp/cudnn-archive

ref1: https://www.cnblogs.com/pprp/p/9463974.html

ref2:https://blog.csdn.net/wanzhen4330/article/details/81699769#cuda%E7%9A%84%E5%AE%89%E8%A3%85

sudo tar -xzf cudnn-9.0-linux-x64-v7.1.tgz -C /usr/local

show cudnn version:

cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

11.Pycharm

link for download: https://www.jetbrains.com/pycharm/download/#section=linux

install instructions: https://www.cnblogs.com/bighong/p/7899832.html

ref: https://www.jetbrains.com/help/pycharm/installation-guide.html#

12: miniconda

link for download: https://docs.conda.io/en/latest/miniconda.html

install:https://www.cnblogs.com/YLDream/p/6940085.html

bash Miniconda3-latest-Linux-x86_64.sh

show version:

 $ conda --version ​ # conda 4.3.14

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!