随笔分类 -  linux

linux
摘要: 上一章节【工具】OSS阿里云存储服务--超级简单--个人还是觉得Fastdfs好玩 https://www.cnblogs.com/Yangbuyi/p/13488323.html 接上一个文章讲解还有一个东西忘记说 AccessKey 这玩意用来搞认证的 差不多 开通就好了..等会要用到 阅读全文
posted @ 2020-08-12 23:47 杨不易呀 阅读(643) 评论(1) 推荐(2) 编辑
摘要: 在/home/data目录下创建 clear.sh脚本 # 内容如下: #!/bin/sh find /root/fastdfs/storag* -mtime + 30 -type f -name "*.png" -exec rm -rf {} \; find /root/fastdfs/storag* -mtime + 30 -type f -name "*.jpg" -exec rm -rf {} \; find /root/fastdfs/storag* -mtime + 30 -type f -name "*.mp4" -exec rm -rf {} \; 阅读全文
posted @ 2020-08-06 10:08 杨不易呀 阅读(308) 评论(2) 推荐(1) 编辑
摘要: # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 永久关闭防火墙 chkconfig iptables off # 永久关闭后重启 chkconfig iptables on   2、开启80端口 vim /etc/sysconfig/iptables # 加入如下代码 -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT 保存退出后重启防火墙 service iptables restart 二、firewall防火墙 1、查看firewall服务状态 systemctl status firewalld 阅读全文
posted @ 2020-07-31 10:29 杨不易呀 阅读(136) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
🚀
回顶
收起
🔑
  1. 1 404 not found REOL
404 not found - REOL
00:00 / 00:00
An audio error has occurred.