
Liunx
xefei-soft
对编程热爱,对新知识渴望,对工作热情,对同事诚恳。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
文件监视程序数量的系统限制
处理 echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf原创 2020-11-20 09:59:32 · 307 阅读 · 0 评论 -
shell 启动springboot
本shell脚本可以便捷的启动或停止java应用程序包含(spring-boot),且支持重启、停止、查看日志登命令。免去使用kill命令结束进程 # 设置可执行命令 (不设置的话可以使用 sh 执行) chmod +x ./runjava.sh 使用 ./runjava.sh jar所在路径 start|stop|restart java程序参数(非必须) ./runjava.sh [xxx.jar] [start|startnolog|stop|restart|status|logshow|r原创 2020-09-22 09:08:42 · 1975 阅读 · 1 评论 -
iptables 入门使用
iptables 防火墙 禁用 自带的防火墙 systemctl stop firewalld.service systemctl disable firewalld.service firewall-cmd --state 安装 iptables-service 并设置启动 yum install iptables-services -y systemctl enable iptables.service 开启内核转发 vi /etc/sysctl.conf 添加变量 net.ipv4.ip_forwar原创 2020-07-19 21:16:22 · 344 阅读 · 0 评论