03 2024 档案
摘要:安装jenkins #下载镜像 docker pull jenkins/jenkins #创建文件夹 mkdir -p /home/jenkins_home #权限 chmod 777 /home/jenkins_home #启动 docker run -d -uroot -p 9095:8080
阅读全文
摘要:#在安装完docker前提下安装k3scurl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -#安装argocd kubectl create namespace argoc
阅读全文
摘要:查找: yum -y list java* 安装: yum install -y java-1.8.0-openjdk* 自动安装java1.8.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)
阅读全文
摘要:version: "3" services: windows: image: dockurr/windows container_name: windows environment: VERSION: "win11" devices: - /dev/kvm cap_add: - NET_ADMIN
阅读全文
摘要:msbuild hello_cmake.vcxproj /t:Build /p:Configuration=Release; main.cpp #include <iostream> using namespace std; int main(int argc, char *argv[]) { co
阅读全文
摘要:# pip install urllib3 import urllib3 # Fetch API data url = "https://api.github.com/users/psf/repos" http = urllib3.PoolManager() response = http.requ
阅读全文
摘要:pipeline { agent { label 'ubuntu' } stages { stage('拉取代码') { steps { checkout scmGit(branches: [[name: 'main']], extensions: [submodule(depth: 1, pare
阅读全文
摘要: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
阅读全文
摘要:login_res=`curl -s -X POST "172.26.221.111:8082/api/user/login?username=wk&password=12122 ` echo "调用登录接口返回:$login_res" if [ $(echo "$login_res" | jq -
阅读全文
摘要:安装 Docker wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker-ce.repo # yum list docker-ce --showduplicat
阅读全文
摘要:1. Linux 环境 # 关闭防火墙 systemctl stop firewalld && systemctl disable firewalld # 关闭 swap swapoff -a && sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab # 关闭
阅读全文