X类分类_docker常用操作
文章平均质量分 96
雪球干死黄旭东
这个作者很懒,什么都没留下…
展开
-
docker安装mysql
参考文章:https://www.runoob.com/docker/docker-install-mysql.html参考文章:https://blog.csdn.net/BThinker/article/details/123471514系统环境:腾讯云广州 | 广州六区入门型CPU - 2核 内存 - 4GB系统盘 - SSD云硬盘 60GiB流量包 - 500GB/月(带宽:5Mbps)镜像:Docker基础镜像。原创 2024-04-09 17:28:36 · 952 阅读 · 0 评论 -
Docker使用记录
参考文章:https://stackoverflow.com/questions/70789307/how-to-fix-the-following-signatures-couldnt-be-verified-because-the-public-key。而且镜像的每一层都可以被共享。如果多个容器共享一份基础镜像,当某个容器修改了基础镜像的内容,比如 /etc 下的文件,这时其他容器的 /etc 是不会被修改的,修改只会被限制在单个容器内。可见,容器层保存的是镜像变化的部分,不会对镜像本身进行任何修改。原创 2023-06-13 16:30:52 · 5540 阅读 · 3 评论 -
SecureCRT&docker使用记录(1)
遇到的问题SecureCRT问题1:The remote system refused the connection.解决方法: 首先安装2个东西1.sudo apt-get install openssh-client2.sudo apt-get install openssh-server安装好后,输入ps -e|grep ssh 查看启动服务,若有:1418 ? ...原创 2019-06-03 17:34:25 · 785 阅读 · 0 评论 -
SecureCRT&docker使用记录(2)docker配置mysql
使用 Docker 镜像查询镜像 :docker search [funtion] eg: docker search library安装镜像: docker pull [选项] [Docker Registry地址]<仓库名>:<标签> eg: docker pull mysql:5.7查询镜像:docker images删除镜像: docker rm...原创 2019-06-03 17:35:23 · 359 阅读 · 0 评论 -
SecureCRT&docker使用记录(2)(Ubuntu16.04mysql安装配置)
安装mysqlsudo apt-get install mysql-server mysql-client有时会提示下列异常解决方法:删除所有apt程序使用ps -A | grep apt查看,sudo kill -9 processnumber删除程序再安装即可中间会提示设置mysql的root用户的密码测试是否安装成功sudo netstat -tap | grep ...原创 2019-06-03 17:39:15 · 172 阅读 · 0 评论 -
SecureCRT&docker使用记录(3)(Ubuntu 16.04 hadoop安装配置)
创建hadoop用户sudo useradd -m hadoop -s /bin/bash设置密码sudo passwd hadoop (123456)增加管理员权限sudo adduser hadoop sudo更新aptsudo apt-get update安装vimsudo apt-get install vim安装Java ( on...原创 2019-06-03 17:42:44 · 190 阅读 · 0 评论