随笔分类 -  Linux

Linux
摘要:拉取 gitee 代码,Please make sure you have the correct access rights git clone git@gitee.com:paddlepaddle/PaddleNLP.git 生成 RAS 秘钥 ssh-keygen -t rsa -C "Git 阅读全文
posted @ 2024-06-25 10:13 VipSoft 阅读(11) 评论(0) 推荐(0) 编辑
摘要:![image](https://img2023.cnblogs.com/blog/80824/202305/80824-20230529180419775-1944099268.png) ```bash [root@localhost PaddleOCR]# strings /lib64/libs 阅读全文
posted @ 2023-05-30 13:45 VipSoft 阅读(289) 评论(0) 推荐(0) 编辑
摘要:原因为升级python后新建了软连接指向了新版本,除非同时升级yum不然无法使用。需要手动更改报错文件指向新版本后即可解决。 ```bash [root@localhost pdserving]# yum install -y tree File "/usr/bin/yum", line 30 ex 阅读全文
posted @ 2023-05-30 10:28 VipSoft 阅读(165) 评论(0) 推荐(0) 编辑
摘要:百度飞桨 PaddlePaddle 2.4.0 => Python 3.7.4 PaddlePaddle 2.4.1+ => Python 3.9.0 下载 # 安装依赖 [root@localhost ~]# yum -y install zlib-devel bzip2-devel openss 阅读全文
posted @ 2023-05-23 09:56 VipSoft 阅读(258) 评论(0) 推荐(0) 编辑
摘要:ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2k-fips 26 Jan 2017. See: https://gith 阅读全文
posted @ 2023-05-22 14:11 VipSoft 阅读(495) 评论(0) 推荐(0) 编辑
摘要:Linux CentOS Docker 安装 MQTT(EMQX), el7-amd64 => EL 是 Red Hat Enterprise Linux 的简写, “el7” 表示的是 centos7/redhat7, amd64 一般指:x86-64 阅读全文
posted @ 2023-03-29 08:47 VipSoft 阅读(906) 评论(0) 推荐(0) 编辑
摘要:SFTP 常用命令 通过堡垒机进入的 Linux 操作系统,无法直接使用 WinSCP 等工具进行文件的上传下载。 可使用 SecureCRT 先进入命令行模式 阅读全文
posted @ 2023-03-28 09:28 VipSoft 阅读(1766) 评论(0) 推荐(0) 编辑
摘要:Nginx日志不处理的话,会一直追加,文件会变得很大,所以理想做法是按天对 Nginx日志进行分割 ![image](https://img2023.cnblogs.com/blog/80824/202302/80824-20230206130157552-1210811098.png) ![ima 阅读全文
posted @ 2023-02-06 12:41 VipSoft 阅读(3829) 评论(0) 推荐(1) 编辑
摘要:查找进程所在目录位置 # 打出进程ID [root@iZuf64tp28136djioi3ki8Z /]# ps -ef|grep redis root 3451 1 0 Jun10 ? 07:02:26 ./redis-server *:9868 root 8090 5739 0 13:44 pt 阅读全文
posted @ 2022-12-23 13:46 VipSoft 阅读(475) 评论(0) 推荐(0) 编辑
摘要:Jenkins Pipeline 流水线 流水线既能作为任务的本身,也能作为 Jenkinsfile 使用流水线可以让我们的任务从UI手动操作,转换为代码化,像dockerfile 一样。从shell 命令到配置文件,更适合大型项目,可以让团队其他开发者同时参与进来, 完整语法 tools:添加工具 阅读全文
posted @ 2022-10-31 17:22 VipSoft 阅读(291) 评论(0) 推荐(0) 编辑
摘要:Jenkins 2361.2 + Maven Integration + SVN/GIT + Docker + 阿里云镜像 + Kubernetes(K8S) 本文用于学习,了解原理,和实际应用,有所差别,特别是 Post Steps 步骤中,方式很多,根据实际情况而定。 实际应用中,一般 Pipe 阅读全文
posted @ 2022-10-28 16:26 VipSoft 阅读(450) 评论(1) 推荐(2) 编辑
摘要:由于低版本的安装插件很麻烦,插件版本依赖很坑,所以选择了安装最新版 Jenkins,并使用 docker 安装 阅读全文
posted @ 2022-10-21 14:47 VipSoft 阅读(233) 评论(2) 推荐(0) 编辑
摘要:手动装插件太麻烦了,还是装最新版 Jenkins 配置源 然后在Manage Plugins -->Manage Plugins -->Advanced 中,把Update Site修改为国内插件地址 http://mirror.tuna.tsinghua.edu.cn/jenkins/update 阅读全文
posted @ 2022-10-21 13:55 VipSoft 阅读(194) 评论(0) 推荐(0) 编辑
摘要:CentOS 7上安装 Jenkins -- yum 方式 装插件太麻烦了,最后选择了 装JAVA 11,安装最版本 Jenkins https://mirrors.jenkins.io/war/ 开源 Devops 工具 Jenkins 在官方博客宣布,从 6 月 28 日发布的 Jenkins 阅读全文
posted @ 2022-10-21 12:17 VipSoft 阅读(1297) 评论(2) 推荐(0) 编辑
摘要:CentOS 7上安装 Jenkins 2.227 -- yum 方式 装插件的时候会报版本过低,建议安装 2.346 安装 Jenkins # [root@localhost ~]# ll /etc/yum.repos.d/ 总用量 40 -rw-r--r--. 1 root root 1664 阅读全文
posted @ 2022-10-20 18:58 VipSoft 阅读(144) 评论(0) 推荐(0) 编辑
摘要:创建部署详见 Kubernetes(K8S) Deployment 部署 Pod 传统应用升级,一般是V1.0的jar包,有一个应对 1.0 的 shell 启动脚本。升级时,传 2.0 的 jar包,配置 2.0 的 shell 脚本。 执行顺序为,停1.0的服务,启2.0的服务,有问题时,把2. 阅读全文
posted @ 2022-10-19 15:56 VipSoft 阅读(1378) 评论(3) 推荐(1) 编辑
摘要:K8S 拉取阿里云镜像 第一次用时,没注意 授权,所以在 kubectl apply 后一直出现 ImagePullBackOff [root@k8smaster ~]# kubectl apply -f javademo1.yaml deployment.apps/javademo1 create 阅读全文
posted @ 2022-10-19 11:19 VipSoft 阅读(728) 评论(0) 推荐(0) 编辑
摘要:Docker Image 推到阿里云仓库,可以看 SpringBoot Docker 发布到 阿里仓库 1. 阿里镜像仓库加了授权,所以 K8S 拉之前要做下授权处理 [root@k8smaster ~]# kubectl create secret docker-registry registry 阅读全文
posted @ 2022-10-19 11:10 VipSoft 阅读(2715) 评论(1) 推荐(1) 编辑
摘要:1. 安装要求 在开始之前,部署Kubernetes集群机器需要满足以下几个条件: 一台或多台机器,操作系统 CentOS7.x-86_x64 硬件配置:2GB或更多RAM,2个CPU或更多CPU,硬盘30GB或更多 可以访问外网,需要拉取镜像,如果服务器不能上网,需要提前下载镜像并导入节点 禁止s 阅读全文
posted @ 2022-10-13 17:00 VipSoft 阅读(1177) 评论(0) 推荐(0) 编辑
摘要:前一次 init 时,master ip 写错了,导致init 失败,修改IP后再次执行时,报 kubeadm init 失败,port is in use Last login: Thu Oct 13 15:11:27 2022 from 172.16.0.66 [root@k8smaster ~ 阅读全文
posted @ 2022-10-13 16:04 VipSoft 阅读(375) 评论(0) 推荐(0) 编辑