摘要: # 全局终止设置方便捕获异常 $ErrorActionPreference = 'Stop' # 隐藏进度条 $ProgressPreference = 'SilentlyContinue' #下载jdk11并解压 Invoke-WebRequest -UseBasicParsing -OutFil 阅读全文
posted @ 2024-04-10 10:42 KeepSmiling_me 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 安装jenkins #下载镜像 docker pull jenkins/jenkins #创建文件夹 mkdir -p /home/jenkins_home #权限 chmod 777 /home/jenkins_home #启动 docker run -d -uroot -p 9095:8080 阅读全文
posted @ 2024-03-28 17:33 KeepSmiling_me 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #在安装完docker前提下安装k3scurl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -#安装argocd kubectl create namespace argoc 阅读全文
posted @ 2024-03-28 11:47 KeepSmiling_me 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 查找: yum -y list java* 安装: yum install -y java-1.8.0-openjdk* 自动安装java1.8.0所有程序 阅读全文
posted @ 2024-03-28 11:27 KeepSmiling_me 阅读(1) 评论(0) 推荐(0) 编辑
摘要: mkdir ~/.config/code-server docker run -it --name code-server \ -p 8080:8080 \ -v "$HOME/.config/code-server:/root/.config/code-server" \ -u "$(id -u) 阅读全文
posted @ 2024-03-28 09:42 KeepSmiling_me 阅读(4) 评论(0) 推荐(0) 编辑
摘要: version: "3" services: windows: image: dockurr/windows container_name: windows environment: VERSION: "win11" devices: - /dev/kvm cap_add: - NET_ADMIN 阅读全文
posted @ 2024-03-27 17:17 KeepSmiling_me 阅读(18) 评论(0) 推荐(0) 编辑
摘要: msbuild hello_cmake.vcxproj /t:Build /p:Configuration=Release; main.cpp #include <iostream> using namespace std; int main(int argc, char *argv[]) { co 阅读全文
posted @ 2024-03-26 11:33 KeepSmiling_me 阅读(4) 评论(0) 推荐(0) 编辑
摘要: # pip install urllib3 import urllib3 # Fetch API data url = "https://api.github.com/users/psf/repos" http = urllib3.PoolManager() response = http.requ 阅读全文
posted @ 2024-03-20 10:04 KeepSmiling_me 阅读(1) 评论(0) 推荐(0) 编辑
摘要: pipeline { agent { label 'ubuntu' } stages { stage('拉取代码') { steps { checkout scmGit(branches: [[name: 'main']], extensions: [submodule(depth: 1, pare 阅读全文
posted @ 2024-03-19 14:31 KeepSmiling_me 阅读(3) 评论(0) 推荐(0) 编辑
摘要: FROM anapsix/alpine-java:8u201b09_server-jre_nashorn RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN mkdir -p /jeecg-demo-cloud WORKDI 阅读全文
posted @ 2024-03-19 09:42 KeepSmiling_me 阅读(1) 评论(0) 推荐(0) 编辑