摘要: #查看所有组 cat /etc/group #加入到root组中 sudo usermod -aG root jenkins #加入到docker组中 sudo usermod -aG docker jenkins #查看用户所在组信息 groups jenkins #重启jenkins使其生效 s 阅读全文
posted @ 2023-03-31 17:52 七星飘虫 阅读(71) 评论(0) 推荐(0)
摘要: ***Dockerfile*** vs生成,在里面增加时区配置 ~~~ #环境变量设置时区 ENV TZ=Asia/Shanghai ~~~ ****Dockerfile示例*** ~~~ #See https://aka.ms/containerfastmode to understand how 阅读全文
posted @ 2023-03-31 10:41 七星飘虫 阅读(23) 评论(0) 推荐(0)
摘要: nginx.conf user root; worker_processes auto; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; events { worker_connections 1024; } ht 阅读全文
posted @ 2023-03-31 10:28 七星飘虫 阅读(147) 评论(0) 推荐(0)
摘要: 新建build->installer.nsh !macro customInstall # 写入注册表项 WriteRegStr HKLM "Software\目录" "键" "$INSTDIR\aaa.exe" !macroend !macro customUnInstall # 卸载程序时删除注 阅读全文
posted @ 2023-03-31 10:02 七星飘虫 阅读(167) 评论(0) 推荐(0)
摘要: stop_container_count=$(docker ps -a | grep "Exited" | awk '{print $1 }' | wc -l ); \ if [ $stop_container_count -gt 0 ] ; \ then \ docker stop $(docke 阅读全文
posted @ 2023-03-31 09:58 七星飘虫 阅读(26) 评论(0) 推荐(0)
摘要: 下载安装包 # 离线安装包 wget https://github.com/vmware/harbor/releases/download/v2.4.1/harbor-offline-installer-v2.4.1.tgz tar zxvf harbor-offline-installer-v2. 阅读全文
posted @ 2023-03-31 09:54 七星飘虫 阅读(104) 评论(0) 推荐(0)
摘要: 创建mongo文件夹 cd /etc/docker/mongo 创建config文件夹 cd /etc/docker/mongo/config 创建db文件夹 cd /etc/docker/mongo/db docker run -itd --name mongo -p 8099:27017 -m 阅读全文
posted @ 2023-03-31 09:29 七星飘虫 阅读(17) 评论(0) 推荐(0)
摘要: kubectl get pods --all-namespaces 查看 kubectl get deployment kubectl get nodes kubectl get services kubectl.exe apply -f .\hello-application.yaml --创建p 阅读全文
posted @ 2023-03-31 09:25 七星飘虫 阅读(21) 评论(0) 推荐(0)
摘要: npm --registry https://registry.npm.taobao.org install pdfjs-dist@2.2.228 --save 阅读全文
posted @ 2023-03-31 09:18 七星飘虫 阅读(63) 评论(0) 推荐(0)
摘要: docker run -d --name sql2019 -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=密码(可能会要求复杂度)' -e 'TZ=Asia/Shanghai' -p 3433:1433 -v /usr/local/docker/sqlserver2 阅读全文
posted @ 2023-03-31 09:15 七星飘虫 阅读(35) 评论(0) 推荐(0)