[Seek Help] 第一次用求帮助
Tofloor
poster avatar
155******62
deepin
2023-02-15 17:35
Author

只用过虚拟机下的centos,我记得终端不是直接可以用npm、yum等等命令的吗,为啥这个好几个命令都没有,在网上搜了跟着弄了一下都不行。我只是想搭建一个写java的docker环境,用起来好麻烦啊,呜呜呜

Reply Favorite View the author
All Replies
DebuggerX
deepin
2023-02-15 17:45
#1

本想回的,看到最后三个字放弃了

Reply View the author
一帆
deepin
2023-02-15 17:45
#2

安装docker


curl -fsSL https://get.docker.com | bash -s docker –mirror Aliyun
sudo usermod -aG docker $USER
sudo systemctl enable docker
sudo systemctl daemon-reload
sudo systemctl restart docker

sudo apt install -y 包名 类似 yum -y install 包名

Reply View the author
HMOS1
deepin
2023-02-15 18:17
#3
DebuggerX

本想回的,看到最后三个字放弃了

最后三个字有何魔力?

Reply View the author
陌路拾荒
deepin
2023-02-15 18:22
#4

一个红帽系,一个debian系,为啥命令会通用

Reply View the author
安洛
deepin
2023-02-15 18:36
#5

那你为什么不装centos

Reply View the author
fax928
deepin
Q&A Team
2023-02-15 18:52
#6

学呗tail

Reply View the author
ad1998
deepin
2023-02-15 19:02
#7

先学习什么叫linux发行版,再学什么叫包管理器

Reply View the author
babyfengfjx
Super Moderator
CQA
2023-02-15 19:03
#8
DebuggerX

本想回的,看到最后三个字放弃了

😂

Reply View the author
deepin_xiaoqian
deepin testing team
2023-02-15 19:22
#9

给您推荐我们的deepin 20.8系统哦~

下载docker容器命令是:sudo apt install docker (或docker.io), 至于搭建docker环境可以在我们论坛中咨询下技术大牛7047c125-e0e2-413c-8c6b-726368bb4879.png

Reply View the author
momen
deepin
2023-02-15 20:42
#10

sudo apt install docker.io会比较好一些

Reply View the author
momen
deepin
2023-02-15 20:43
#11

deepin的话npm需要自己装,yum对应的是apt,用apt来代替yum的基础操作即可

Reply View the author
晚秋(lateautumn)
Moderator
2023-02-16 01:18
#12
DebuggerX

本想回的,看到最后三个字放弃了

别放弃,要用我们的真诚来打动刚刚接触深度的用户。applaud

Reply View the author
ho******ie@gmail.com
deepin
2023-03-03 01:21
#13
It has been deleted!