Linux
文章平均质量分 53
Linux
小强崽
今天也是充满希望的一天!
展开
-
Linux常用操作
在Linux环境下,使用vim可以是我们更方便的操作文本,以下是vim的常用命令。以下操作在Centos系统的Tomcat环境下部署StringBoot应用。以下操作在Centos系统下配置Java环境变量。以下操作是对一些文件或目录进行授权。以下是一些常用的操作进程的命令。...原创 2022-08-10 04:16:06 · 299 阅读 · 0 评论 -
一键离线安装与卸载Docker跟Docker-compose
一、下载下载地址二、安装# 解压tar -zxvf docker-18.06.1-ce.tar.gz# 安装cd docker-18.06.1-cesh install.sh三、卸载# 卸载sh uninstall.sh原创 2021-03-13 21:48:39 · 218 阅读 · 0 评论 -
阿里yum源
CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client. You should use this for CentOS upda原创 2021-03-13 20:51:32 · 517 阅读 · 0 评论 -
Zabbix邮箱告警
一、安装邮箱yum install mailx二、配置邮箱vim /etc/mail.rcset [email protected] smtp=smtp.qq.comset [email protected] smtp-auth-password=邮箱授权码set smtp-auth=login三、测试邮箱是否发送正常echo "hello world" | mail -s "testmail" [email protected]原创 2021-03-13 20:21:57 · 251 阅读 · 0 评论 -
搭建本地yum源
一、 在指定文件夹只下载不安装yum install --downloadonly --downloaddir=/home/qiang/yum/zabbix-get/ zabbix-get二、 构建yum源yum install createrepocreaterepo /home/qiang/yum/zabbix-get/三、 配置本地yum[zabbix]name=zabbix local repositorybaseurl=file:///home/zabbixgpgc原创 2021-03-13 20:19:13 · 206 阅读 · 0 评论 -
Linux定时任务
一、安装yum install -y crontabs二、常用命令# 查看定时任务crontab -l# 启动和查看定时任务systemctl start crondsystemctl stop crondsystemctl restart crondsystemctl reload crondsystemctl status crondservice crond restartservice crond status# 编辑定时任务crontab -e# 定时任务的每段为:原创 2021-03-13 20:12:27 · 89 阅读 · 0 评论