###1.查看Linux内核依赖 kernel version >= 3.8 查看代码: uname -a | awk '{split($3, arr, "-"); print arr[1]}' ###2.使用Docker repository安装 1)更新apt包索引: sudo apt-get ...
分类:
系统相关 时间:
2020-12-03 12:27:19
阅读次数:
14
Linux服务器权限管理之sudo高级应用Linux服务器权限管理之sudo高级应用前面提到Linux系统修改权限与默认权限,它都是征对用户对于目录或文件的一些权限控制,那么其实真正从安全性角度上来考虑的话,是要控制用户一定执行命令的权限,也就是哪些用户可以执行哪些命令,不可以执行哪些命令,因此也就有了sudo这个应用对于sudo提权,也就是修改/etc/sudoers的配置文件[root@Cen
分类:
系统相关 时间:
2020-12-02 12:42:00
阅读次数:
15
1、安信可官方方法 :http://aiclouds3.0-docs.aithinker.com/#/2.device/configuration_linux 一堆必安的依赖包 :sudo apt-get install git wget flex bison gperf python python ...
分类:
其他好文 时间:
2020-12-02 12:26:38
阅读次数:
4
1.打开shell终端,输入 sudo vi /etc/rc.local 2.在编辑器里面输入自己要启动的脚本 #!/bin/bash echo "run incar ai program..." cd /opt/robot nohup bash autorobot.sh & 2>/dev/null ...
分类:
系统相关 时间:
2020-12-01 12:15:17
阅读次数:
12
安装依赖软件包:sudoaptinstall-ycurlgnupg2添加docker-ce源sudovim/etc/apt/sources.list.d/docker.list#deb-src[arch=amd64]https://mirrors.aliyun.com/docker-ce/linux/debianbusterstabledeb[arch=amd64]http://mirrors.u
分类:
其他好文 时间:
2020-12-01 11:46:00
阅读次数:
2
编写dockerFile 注:docker端口集合 ? 2377/tcp 客户端和swarm的通信 ? 7946/tcp 和 7946/tcp 用于控制面 gossip 的分发 ? 4789/dup 用于VXLAN的覆盖网络 1、dockerfile 中各个命令含义: 2、cmd和entrypoin ...
分类:
其他好文 时间:
2020-11-30 15:43:44
阅读次数:
4
##错误 huny@DESKTOP-N1EBKQP:/mnt/c/Users/Administrator$ sudo apt-get install python3 Reading package lists... Done Building dependency tree Reading stat ...
分类:
编程语言 时间:
2020-11-30 15:30:15
阅读次数:
8
编辑用户级配置文件 vim ~/.bashrc 添加配置信息: export PATH=/usr/local/mongodb/mongodb-3.6.5/bin:$PATH (中间那部分就是你的安装目录下的bin) 保存退出,刷新:source ~/.bashrc 我们输入mongo,显示版本信息, ...
分类:
其他好文 时间:
2020-11-27 11:48:48
阅读次数:
36
跟着网上的步骤走就好了,这里就记录一个过程: 先加个docker的源 1 curl -fsSL https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian/gpg | sudo apt-key add - 2 3 echo 'deb htt ...
分类:
其他好文 时间:
2020-11-27 10:55:57
阅读次数:
5
方法一:设置时区 在ubuntu的终端中执行命令: sudo tzselect 依次选择: 4) Asia 9) China 1) Beijing Time1) Yes之后会有提示如下: You can make this change permanent for yourself by appen ...