排序
centos关闭ssh的时候让程序继续运行
关闭ssh后让程序继续运行,可以用screen来实现。安装screen输入命令:yum install screen -y就可以了简单的使用方法:screen回车后进入Screen子界面,此时putty标题栏会指示处于子界面状态,然...
青龙面板
第零步 安装docker,docker-compose。(已有面板的跳过这步)安装dockersudo yum check-updatecurl -sSL https://get.daocloud.io/docker | shsudo systemctl start dockersudo systemctl statu...
CentOS7忘记root密码
首先在这个界面按【e】键 按【e】进入启动文件界面后 按【↓】拉到底部 在 'LANG=zh_cn.UTF-8' 同行后面加上 init=/bin/sh 然后按【Ctrl+X】进入“单用户模式” 输入ls,回车 再输入mount –o re...
WireGuard
配置过程安装 WireGuardDebain 系统:先安装linux-headersapt update apt install linux-headers-$(uname -r) -y 安装WireGuardecho "deb http://deb.debian.org/debian/ unstable main&qu...
centos7 修改yum源为阿里源
cd /etc/yum.repos.d sudo mv CentOS-Base.repo CentOS-Base.repo.bak sudo wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo sudo wget -P /etc/yum.repos.d/ http://m...
hyper-v虚拟硬盘vhdx转vhd格式
vhd转vhdx Convert-VHD -Path c:\test\testvhd.vhd -DestinationPath c:\test\testvhdx.vhdx vhdx转vhd Convert-VHD -Path c:\test\xxx.vhdx -DestinationPath c:\test\cccc.vhd
centos安装yum命令
国内的yum仓库https://mirrors.163.com/centos/7/os/x86_64/Packages/https://mirrors.aliyun.com/centos/7/os/x86_64/Packages/下载软件,文件版本可能有变化,根据列表里面进行下载yum-plugin...
debian11编译安装nginx1.19.9
更新系统安装包列表 apt update 必须软件包依赖 下面都是编译 nginx 必须的,提前安装好。 apt install gcc make apt install libpcre3 libpcre3-dev //【正则表达式库】官网http://www.pcre.or...
错误:依赖检测失败: rpm >= 0:4.11.3-22 被 yum-3.4.3-154.el7.centos.noarch 需要的解决办法
安装yum-3.4.3-154.el7.centos.noarch的时候提示上图。解决方法: 将所依赖的python-urlgrabber和rpm包升级wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-4.11.3-25.el7.x86_64....