摘要: #include <FileConstants.au3> #include <Array.au3> Global $sourceFolder = "G:\test_bak" Global $destinationFolder = "G:\select" Global $listFilePath = 阅读全文
posted @ 2024-05-19 20:15 aldary 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 安装NFS服务器软件:确保您的远程主机上已经安装了NFS服务器软件。在大多数Linux发行版中,您可以使用包管理器来安装NFS服务器软件。例如,在基于Debian的系统上,您可以运行以下命令来安装NFS服务器软件: sudo apt-get install nfs-kernel-server配置NF 阅读全文
posted @ 2024-05-19 20:13 aldary 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 开启远程:需要开机兼容密码连接mysql_native_passwordUPDATE mysql.user SET Host = '%' WHERE User = 'root';ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password B 阅读全文
posted @ 2024-05-19 20:12 aldary 阅读(5) 评论(0) 推荐(0) 编辑
摘要: yum install ntpdate 添加定时任务: 0 3 * * * /usr/sbin/ntpdate ntp.aliyun.com 阅读全文
posted @ 2024-05-19 20:11 aldary 阅读(2) 评论(0) 推荐(0) 编辑
摘要: vsftp2文件: # /etc/pam.d/vsftpd #%PAM-1.0 # 这一行是注释,以%开头 # PAM 配置的版本号 auth required pam_unix.so # 使用系统密码文件进行认证 account required pam_unix.so # 使用系统密码文件进行账 阅读全文
posted @ 2024-05-19 20:08 aldary 阅读(1) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get update # This will update the repositories list sudo apt-get upgrade # This will update all the necessary packages on your system sudo ap 阅读全文
posted @ 2024-05-19 20:02 aldary 阅读(1) 评论(0) 推荐(0) 编辑
摘要: mysqldump [root@localhost node]# cat /root/mysqlbeifen.sh #!/bin/bash # 定义参数 CONTAINER_NAME="mysql" HOST_BACKUP_DIR="/bak" REMOTE_MACHINE_IP="192.168. 阅读全文
posted @ 2024-05-16 21:50 aldary 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 0 2 * * * /root/mysqlbeifen.sh */10 * * * * /root/dns_update.sh #!/bin/bash LOG_DIR="/var/log/dns_script" HOST_FILE="/etc/hosts_NC" DOMAIN="sso.ccnhub 阅读全文
posted @ 2024-05-16 21:40 aldary 阅读(2) 评论(0) 推荐(0) 编辑
摘要: nohup node log2.js > log_output.log 2>&1 & const fs = require('fs'); const request = require('request'); const schedule = require('node-schedule'); co 阅读全文
posted @ 2024-05-16 21:37 aldary 阅读(2) 评论(0) 推荐(0) 编辑
摘要: // 开始循环检测 //loopCheck(); // 在每分钟的第 30 秒执行目标函数 cron.schedule('35 8 * * *', () => { console.log('目标函数在8:35执行!'); loopCheck_info(); // 在这里调用你想要定时执行的函数 }) 阅读全文
posted @ 2024-05-16 21:14 aldary 阅读(3) 评论(0) 推荐(0) 编辑