挨踢而思 挨踢了,就要学会思考。

linux:nohup 不生成 nohup.out的方法

nohup java -jar /xxx/xxx/xxx.jar >/dev/null 2>&1 & 关键在于最后的 >/dev/null 2>&1 部分,/dev/null是一个虚拟的空设备(类似物理中的黑洞),任何输出信息被重定向到该设备后,将会石沉大海 > /dev/null 表示将标准输

Administrator Administrator Published on 2024-08-06

Linux 创建用户且赋予sudo权限且开启ssh登录

#注释版本: # 创建用户 adduser centos7 # 必要依赖安装 yum install -y epel-release.noarch lrzsz wget tcping nload curl htop # 上传证书 or 创建 or 下载 cd /home/centos7/ # rz

Administrator Administrator Published on 2024-08-06

Linux 系统性能-常用命令行工具

iftop — 网络带宽监控 iftop 是另一个基于终端的开源的系统监测工具,主要功能是通过你自己系统上的网络接口显示一个经常更新的网络带宽利用率的列表(即源主机和目的主机)。iftop 监控的是网络的使用情况,而 top 监控的是 CPU 的使用情况。iftop 监视一个选定的接口并且显示两台主

Administrator Administrator Published on 2024-08-06

1Panel 安装一键脚本

curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sh quick_start.sh

Administrator Administrator Published on 2024-08-06

宝塔面板卸载一键脚本

curl -sSL http://download.bt.cn/install/bt-uninstall.sh -o bt-uninstall.sh && sh bt-uninstall.sh

Administrator Administrator Published on 2024-08-06

使用 yum 源 安装docker

下载 yum 源采用阿里云的镜像源 wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 查看仓库中的所有版本,默认安装最新版本 yum lis

Administrator Administrator Published on 2024-08-06

安装最新版 docker-compose

1.下载最新版本 docker-compose https://github.com/docker/compose/releases wget https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-lin

Administrator Administrator Published on 2024-08-06

Git第三方仓库安装方式(IUS)

官方网站 https://ius.io/setup RHEL/CentOS 7 yum install \ https://repo.ius.io/ius-release-el7.rpm \ https://dl.fedoraproject.org/pub/epel/epel-release-lat

Administrator Administrator Published on 2024-08-06
Previous Next