ssh到server上的时候密码是对的但是报如下信息:# ssh 172.16.81.221root@172.16.81.221‘s password:Permission denied, please try again.这个是由于如果不输入用户名的时候默认的是root用户,但是安全期间ssh服务默认没有开root用户的ssh权限解决方法:用普通用户登录。http://desert.blog.51cto.com/779694/175333 原文:http://www.cnblogs.com/hanggegege/p/6062232.html
本文描述了如何在POWER8服务器上搭建一个本地化的Docker镜像仓库,主要涉及镜像制作,Docker Registry服务启动等。希望能够对在非X86服务器上搭建Docker仓库的同学提供参考。 声明:本文仅作为个人学习使用!第一步,在服务器上启动一个KVM虚拟机(ip: 172.16.13.221),编译Docker生成可执行文件,启动Docker Daemon服务。可参考我的另一篇文档。第二步,制作Registry镜像 由于Ubuntu环境中暂时还没有docker registry镜像,需要...
生成自己签名的证书生成签名的过程需要根据提示输入一些参数,需要注意的时Common Name的时候需要输入一个自己需要的域名,如果时内部域名记得访问的时候需要修改hosts。mkdir /data/certs -pcd /data/certsopenssl req -newkey rsa:4096 -nodes -sha256 \-keyout domain.key -x509 -days 365 -out domain.crt运行docker registry imagesdocker run -d -p 443:5000 --restart=always --name registry \> -v /data/certs:/certs \> ...
如何在Ubuntu14.04上搭建私有docker registry原文地址:https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-docker-registry-on-ubuntu-14-04作者:Nik van der Ploeg译者:陈正文(awenchen)简介docker是一款部署服务器的强有力工具。docker.io免费为用户提供上传镜像资源到官方registry的服务,然而,该registry对任何人均开放权限。也许对于一个非开源的项目,你并不情愿如此。本文将指导你如何搭建私...
一、环境
系统版本:Ubuntu18.04.2(内核版本:4.18.0-15-generic)gcc版本:7.4.0CUDA版本:10.0cuDNN版本:7.4.2Python版本:3.6.13torch版本:1.1.0**torchvision版本:0.2.2.post3
二、报错细节
在conda虚拟环境中输入以下命令安装mmcv 0.2.12时报错 pip install mmcv==0.2.12 -f https://download.openmmlab.com/mmcv/dist/cu100/torch1.1.0/index.html
解决方案
先安装g++,再重新安装mmcv sudo apt-get install g++
Then launch Grub Customizer, a graphical (Gtk) interface to configure some GRUB 2 settings, can be used to change the default GRUB boot menu order without having to manually edit configuration files, like /etc/default/grub
To change the GRUB boot menu order using Grub Customizer, go to the List configuration tab, select a boot menu entry and use the up and down arrows to change its position:
$ grep menuentry /boot/grub/grub.cfgif [ x"${feature_menuentry_id}" = xy ]; thenmenuentry_id_option="--id"menuentry_id_option=""
export menuentry_id_option
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c06f67d0-65bb-4544-8d46-12a37489d4cd' {
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c06f67d0-65bb...
下载镜像
首先我们将该仓库pull下来:
wxs@ubuntu:~$ docker pull registry
配置配置文件
默认情况下的registry不支持删除镜像,我们需要自己写配置文件,在容器启动时候映射进去,在/data目录下编写config.yml文件:
注意:该文件必须使用空格分隔,不能使用tab符。
version: 0.1
log:
fields:
service: registry
storage:
delete:
enabled: true
cache:
blobdescriptor: inmemory
filesystem:
rootdirec...