Deep server from scratch
Posted nan0121
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Deep server from scratch相关的知识,希望对你有一定的参考价值。
Deep server from scratch
1.install Ubuntu16.04 via flash 2.wired Network by Ruijie 3.install google4.Sogou pinyin5.Tsinghua mirrors6.SSH server7. Typora8.sublime39.git10.NVIDIA drive + cuda + cudnn(1)NVIDIA drive: https://www.cnblogs.com/pprp/p/9463974.html(2)cuda_8.0.61_375.26_linux.run(3)cudnn-9.0-linux-x64-v7.1.tgz11.Pycharm12: miniconda
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
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
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的主要内容,如果未能解决你的问题,请参考以下文章
Applied Cloud Deep Semantic Recognition: Advanced Anomaly Detection(应用云深层语义识别:高级异态检测)——Chapter 1(示例代
[RxJS] Creating Observable From Scratch