ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

Deep server Ubuntu 22.04 from scratch

2022-06-25 21:02:17  阅读:171  来源: 互联网

标签:install scratch sudo apt 22.04 https Ubuntu com ubuntu


1.install Ubuntu22.04 via flash

rufus
https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview
https://blog.csdn.net/whatiscode/article/details/109153474
https://zhuanlan.zhihu.com/p/355314438

2.install google

download installation package:
https://www.google.cn/intl/zh-CN/chrome/

sudo apt install -y ./google-chrome-stable_current_amd64.deb

3.Tsinghua mirrors

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

4.fcitx pinyin

sudo apt-get install fcitx
sudo apt-get install fcitx-pinyin im-switch
reboot

Setting the input method in fcitx configuration

The source change from ibus to fcitx
ref: https://blog.csdn.net/weixin_43431593/article/details/106444769

Add to startup application,
command: fcitx

5.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

6. Typora

https://www.typora.io/#linux or download in software center

7.sublime3

ref:https://www.sublimetext.com/docs/3/linux_repositories.html#apt or download in software center

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

8.git

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

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

9.NVIDIA drive

(1)NVIDIA drive

ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
reboot

(2)Cuda

sudo apt install nvidia-cuda-toolkit

Or
https://ubuntu.com/tutorials/enabling-gpu-acceleration-on-ubuntu-on-wsl2-with-the-nvidia-cuda-platform#3-install-nvidia-cuda-on-ubuntu
But the path is confusing.
(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的安装

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

10: Anaconda

install:
https://tecadmin.net/how-to-install-anaconda-on-ubuntu-22-04/

bash anaconda.sh

show version:

 $ conda --version​
 # conda 4.3.14

create a new env:

 conda create -n cs285_env python=3.5

Update source of anaconda:
https://blog.csdn.net/moshiyaofei/article/details/122058922

11. Pytorch

original website.

标签:install,scratch,sudo,apt,22.04,https,Ubuntu,com,ubuntu
来源: https://www.cnblogs.com/nan0121/p/16412389.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有