文章分类 -  运维

摘要:crontab -e no crontab for root - using an empty onecrontab: installing new crontab/var/spool/cron/#tmp.iZ2ze8shveit3gsw0vu0knZ.XXXXwGZtgK: 权限不够crontab 阅读全文
posted @ 2022-11-04 14:36 嘉合 阅读(1210) 评论(0) 推荐(0) 编辑
摘要:配置:1、在/etc/logrotate.d目录下创建一个nginx的配置文件"nginx"配置内容如下 #vim /etc/logrotate.d/nginx/usr/local/nginx/logs/*.log {dailyrotate 7missingoknotifemptysharedscr 阅读全文
posted @ 2022-11-04 13:41 嘉合 阅读(196) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/SHK242673/article/details/126938820 #安装gcc make yum install gcc make -y #下载glibc包 curl -O https://mirrors.tuna.tsinghua.edu.cn/g 阅读全文
posted @ 2022-11-03 17:21 嘉合 阅读(96) 评论(0) 推荐(0) 编辑
摘要:官网软件包下载地址 https://packages.gitlab.com/gitlab/gitlab-ce/install#bash-rpm https://packages.gitlab.com/runner/gitlab-runner 安装 https://www.cnblogs.com/sc 阅读全文
posted @ 2022-11-02 18:23 嘉合 阅读(40) 评论(0) 推荐(0) 编辑
摘要:rsync 它比scp更强大,支持“不覆盖”原目录例子:rsync -avz --progress /root/client/ root@202.112.23.12:/home/work/ //将本机的/root/client/拷贝至远程的202.112.23.12:/home/work/目录,-- 阅读全文
posted @ 2022-11-02 16:20 嘉合 阅读(26) 评论(0) 推荐(0) 编辑
摘要:ssh 后 直接进到 指定目录 ssh -t root@116.62.158.64 'cd /home/mydir/app ; bash --login' SSH免密登录 1:ssh-keygen -t rsa 生成密钥 2:ssh-copy-id -i ~/.ssh/id_rsa.pub root 阅读全文
posted @ 2022-11-02 15:55 嘉合 阅读(25) 评论(0) 推荐(0) 编辑
摘要:https://www.runoob.com/linux/linux-command-manual.html 移动光标 移动光标到行首:Ctrl + a 移动光标到行尾:Ctrl + e 移动光标到前一个单词:alt + <- 移动光标到后一个单词:alt + -> Iterm2 光标 按单词 移动 阅读全文
posted @ 2022-11-01 20:04 嘉合 阅读(2) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示