![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
文章平均质量分 50
FourAu
不断学习 不断进步
展开
-
docker 部署springboot项目
创建dockerfileFROM java:8COPY . /usr/local/xxxWORKDIR /usr/local/xxxVOLUME /usr/local/xxxEXPOSE 8400ENTRYPOINT ["java","-jar","xxx.jar"]将dockerfile和jar包放在同一个文件夹docker build -t 镜像名称 .查看镜像docker images运行镜像......原创 2022-06-02 14:12:14 · 84 阅读 · 0 评论 -
shell变量
3.1 系统预定义变量1)常用系统变量 HOME、HOME、HOME、PWD、SHELL、SHELL、SHELL、USER 等 2)案例实操 (1)查看系统变量的值[atguigu@hadoop101 shells]$ echo HOME/home/atguigu(2)显示当前Shell中所有变量:set[atguigu@hadoop101shells]HOME /home/atguigu (2)显示当前 Shell 中所有变量:set [atguigu@hadoop101 shells]HOME原创 2022-04-14 16:38:39 · 52 阅读 · 0 评论 -
Shell 脚本入门
1)脚本格式脚本以#!/bin/bash 开头(指定解析器)2)第一个 Shell 脚本:helloworld.sh(1)需求:创建一个 Shell 脚本,输出 helloworld(2)案例实操:[atguigu@hadoop101 shells]$ touch helloworld.sh [atguigu@hadoop101 shells]$ vim helloworld.sh 在 helloworld.sh 中输入如下内容 #!/bin/bash echo "helloworld"(原创 2022-04-14 15:38:28 · 71 阅读 · 0 评论