摘要:
一、安装邮箱 yum install mailx 二、配置邮箱 vim /etc/mail.rc set from=875667601@qq.com set smtp=smtp.qq.com set smtp-auth-user=875667601@qq.com set smtp-auth-pass 阅读全文
posted @ 2021-03-13 20:21
小强崽
阅读(90)
评论(0)
推荐(0)
摘要:
一、 在指定文件夹只下载不安装 yum install --downloadonly --downloaddir=/home/qiang/yum/zabbix-get/ zabbix-get 二、 构建yum源 yum install createrepo createrepo /home/qian 阅读全文
posted @ 2021-03-13 20:19
小强崽
阅读(604)
评论(0)
推荐(0)
摘要:
一、安装 yum install -y crontabs 二、常用命令 # 查看定时任务 crontab -l # 启动和查看定时任务 systemctl start crond systemctl stop crond systemctl restart crond systemctl reloa 阅读全文
posted @ 2021-03-13 20:12
小强崽
阅读(179)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2021-03-13 20:10
小强崽
阅读(193)
评论(0)
推荐(0)
摘要:
一、Lambda表达式 使用Lambda表达式,实际就是创建出该接口的实例对象。 1.1 创建线程 使用Labmda表达式需要函数式编程接口。 @Test public void test1() { // 匿名内部类创建线程! new Thread(new Runnable() { @Overrid 阅读全文
posted @ 2021-03-13 20:07
小强崽
阅读(98)
评论(0)
推荐(0)
摘要:
一、引入依赖 pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i 阅读全文
posted @ 2021-03-13 20:05
小强崽
阅读(857)
评论(1)
推荐(0)
摘要:
一、 依赖包 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2021-03-13 19:58
小强崽
阅读(92)
评论(0)
推荐(0)

浙公网安备 33010602011771号