摘要: 一、安装ntp root@ZND ~]# yum install ntp -y 1 二、修改ntp的配置文件 [root@ZND ~]# cp /etc/ntp.conf{,.bak} [root@ZND ~]# vim /etc/ntp.conf server 127.127.1.0 #以本机作为 阅读全文
posted @ 2021-03-02 15:25 夜夜漫笔 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 1.创建cronjob的文件 CronJob所描述的,正是定时任务。 在给定时间点只运行一次 在给定时间点周期性地运行 一个 CronJob 对象类似于 crontab (cron table)文件中的一行。它根据指定的预定计划周期性地运行一个 Job。在这里简单的说一下cron,是指unix中cr 阅读全文
posted @ 2021-03-02 15:16 夜夜漫笔 阅读(1407) 评论(0) 推荐(0) 编辑
摘要: 最常用的显示命令: 1、显示数据库列表。show databases; 2、显示库中的数据表:use mysql;show tables; 3、显示数据表的结构:describe 表名; 4、建库:create database 库名; 5、建表:use 库名;create table 表名 (字段 阅读全文
posted @ 2021-03-02 15:04 夜夜漫笔 阅读(78) 评论(0) 推荐(0) 编辑