随笔分类 - linux
摘要:1.后端启动 nohup python manage.py runsslserver 0.0.0.0:80 --certificate ./1_yibiaoxin.com_bundle.crt --key ./yibiaoxin.com.key nohup 挂在后台保障退出后接口不挂(如果可以最好用
阅读全文
摘要:首先通过: sudo netstat -tulpn | grep :8000 查看相应端口的ID。 然后直接用kill命令就OK了: kill -9 1600
阅读全文
摘要:手动安装参考 https://cloud.tencent.com/developer/article/1646056 1.选择下载合适的版本 https://downloads.mysql.com/archives/community/ 使用lrzsz,rz传入服务器 tar -zxvf mysql
阅读全文
摘要:1.准备编译环境及配置环境依赖 yum install gcc patch libffi-devel python-devel zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-deve
阅读全文
摘要:查找包都安装在哪些文件夹下 rpm -ql 安装包名字 查看现有python的软连接指向的版本 ls -al *python* # 或者用 ls -l /usr/bin | grep python
阅读全文
摘要:1.查找包路径 rpm -ql 包名 rpm -ql jenkins /etc/init.d/jenkins /etc/logrotate.d/jenkins /etc/sysconfig/jenkins /usr/lib/jenkins /usr/lib/jenkins/jenkins.war /
阅读全文
摘要:1.备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载对应版本的CentOS-Base.repo, 放入/etc/yum.repos.d/ #阿里CentOS7 yum wget
阅读全文
摘要:1.进入容器内部, linux安装python3环境 root@cb8e397d5308:/var/jenkins_home# cd /var/jenkins_home/ root@cb8e397d5308:/var/jenkins_home# mkdir python3 root@cb8e397d
阅读全文
摘要:部署 更新yum yum update 安装jdk yum install java 先在服务器配置git环境 参考https://www.cnblogs.com/flhw/p/13434620.html 配置ssh: https://www.cnblogs.com/flhw/p/13469439.
阅读全文
摘要:1.打开终端命令行输入 ssh-keygen -t rsa -C “flhw” 弹出此提示一路回车即可 Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): 公
阅读全文
摘要:yum环境 yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。 基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁琐地一次
阅读全文
摘要:安装 1.yum 安装 参考这个页面 签名问题:https://www.jenkins.io/blog/2020/07/27/repository-signing-keys-changing/ rpm --import https://pkg.jenkins.io/redhat-stable/jen
阅读全文

浙公网安备 33010602011771号