码迷,mamicode.com
首页 > 其他好文 > 详细

Deep server from scratch

时间:2020-01-19 00:20:42      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:evel   contain   head   cat   focus   download   conda   idc   x86   

 

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

 

Deep server from scratch

标签:evel   contain   head   cat   focus   download   conda   idc   x86   

原文地址:https://www.cnblogs.com/nan0121/p/12210747.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!