会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
老王的农场
有才而性缓定属大才,有智而气和斯为大智。李叔同
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
17
下一页
2022年5月23日
k8s
摘要: [root@k8s-master ~]# kubectl get ep ##查看service关联的pod 虚拟的负载均衡器 NAME ENDPOINTS AGE java-demo 10.244.169.140:8080 6d21h kubernetes 192.168.115.71:6443 1
阅读全文
posted @ 2022-05-23 20:34 老王的农场
阅读(32)
评论(0)
推荐(0)
2022年5月11日
linux基础
摘要: cat 段文件 more 长文件 [root@ol85 ~]# head -n 15 anaconda-ks.cfg [root@ol85 ~]# tail -n 10 anaconda-ks.cfg [root@ol85 ~]# cat anaconda-ks.cfg | tr [a-z] [A-
阅读全文
posted @ 2022-05-11 09:07 老王的农场
阅读(18)
评论(0)
推荐(0)
2022年5月9日
dockerfile自动构建镜像
摘要: 构建一个镜像 [root@ol85 ~]# mkdir dockerfile[root@ol85 ~]# cd dockerfile/ FROM centos:7RUN yum install epel-release -y && \ yum install nginx -y CMD ["nginx
阅读全文
posted @ 2022-05-09 20:03 老王的农场
阅读(35)
评论(0)
推荐(0)
容器网络
摘要: [root@ol85 ~]# ip addr [root@ol85 ~]# docker run -itd busybox docker使用iptables实现网络通信 [root@ol85 ~]# ss -antp |grep 88 外部访问容器 [root@ol85 ~]# iptables -
阅读全文
posted @ 2022-05-09 17:56 老王的农场
阅读(48)
评论(0)
推荐(0)
容器数据持久化
摘要: [root@ol85 ~]# docker exec -it web bashroot@web:/# cd /usr/share/nginx/html/root@web:/usr/share/nginx/html# root@web:/usr/share/nginx/html# echo "<h1>
阅读全文
posted @ 2022-05-09 16:40 老王的农场
阅读(105)
评论(0)
推荐(0)
2022年5月8日
创建容器常用选项
摘要: [root@ol85 ~]# docker run --help [root@ol85 ~]# docker ps [root@ol85 ~]# docker exec -it 6e7e651ec0a2 bash [root@ol85 ~]# docker run -d -e env=prod -p
阅读全文
posted @ 2022-05-08 19:04 老王的农场
阅读(44)
评论(0)
推荐(0)
2022年5月7日
常用的镜像管理命令
摘要: [root@ol85 ~]# docker run -d nginx 配置镜像加速器 [root@ol85 ~]# vi /etc/docker/daemon.json [root@ol85 ~]# cat /etc/docker/daemon.json{ "registry-mirrors": [
阅读全文
posted @ 2022-05-07 21:19 老王的农场
阅读(50)
评论(0)
推荐(0)
docker安装
摘要: 参考文档:https://docs.docker.com/engine/install/centos/ sudo yum install -y yum-utils 默认仓库 ls /etc/yum.repos.d/ wget https://download.docker.com/linux/cen
阅读全文
posted @ 2022-05-07 17:50 老王的农场
阅读(28)
评论(0)
推荐(0)
2020年10月22日
12c新特性-top-n,fetch first with ties
摘要: 语法: [ OFFSET offset { ROW | ROWS} ] [ FETCH { FIRST | NEXT }[ { rowcount | percent PERCENT } ] { ROW| ROWS } { ONLY | WITH TIES } ] fetch 返回 emp表中sal最
阅读全文
posted @ 2020-10-22 15:40 老王的农场
阅读(234)
评论(0)
推荐(0)
2020年10月21日
【ocp-071】You need to write a query that does the following tasks:
摘要: ocp
阅读全文
posted @ 2020-10-21 19:57 老王的农场
阅读(77)
评论(0)
推荐(0)
1
2
3
4
5
···
17
下一页
公告