
linux
清晨的炸鸡啤酒花生米
这个作者很懒,什么都没留下…
展开
-
Linux定时任务机制
Linux Crontab 定时任务在工作中需要数据库在每天零点自动备份所以需要建立一个定时任务。crontab命令的功能是在一定的时间间隔调度一些命令的执行。可以通过 crontab -e 进行定时任务的编辑crontab文件格式:例如:0 0 * * * ./home/software/hive/bin/hive -f /home/software/hive/bin/03.hive -d reportTime=`date %G-%y-%d`每隔1分钟,执行一次任务...原创 2021-01-01 15:21:02 · 329 阅读 · 0 评论 -
linux防火墙的基本操作,linux中怎么关闭防火墙
一、iptables防火墙1、基本操作查看防火墙状态service iptables status 停止防火墙service iptables stop 启动防火墙service iptables start 重启防火墙service iptables restart 永久关闭防火墙chkconfig iptables off 永久关闭后重启chkconfig iptables on 2、开启80端口vim /etc/sysconfig/iptables原创 2020-12-16 13:30:49 · 458 阅读 · 0 评论 -
Centos7安装sl小火车命令(阿里云服务器)
linux## Centos7安装sl小火车命令(阿里云服务器)linux中这个小火车是怎么安装的呢?使用yum直接安装yum install sl出现以下代码注意安装运行到这里需要进行确认输入y,然后回车。然后就装好了。直接跑一把输入sl命令小火车就跑起来啦!...原创 2020-11-27 13:28:58 · 1247 阅读 · 0 评论