会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lengs
博客园
首页
新随笔
联系
管理
订阅
2020年7月31日
ApiPost
摘要: 转载自https://www.cnblogs.com/Jeely/p/11314142.html 模拟POST、Get 请求的工具 APIpost(中文版POSTMAN) 快速生成、一键导出api文档 在线模拟调试,结果实时返回 模拟登录后请求API 支持团队协作 模拟POST、Get 请求的工具
阅读全文
posted @ 2020-07-31 15:52 lengs
阅读(2161)
评论(0)
推荐(0)
2020年5月21日
浅谈iptables与firewalld防火墙
摘要: iptables基于包过滤的防火墙工具 ,Linux 内核集成的 IP 信息包过滤系统,对流入和流出服务器的数据包进行精细管理 规则是存储在专用信息包过滤表中 防火墙按照规则做出判断 而netfilter/iptables IP 信息包过滤系统是一款功能强大的工具,可用于添加、编辑和移除规则 这些过
阅读全文
posted @ 2020-05-21 17:19 lengs
阅读(724)
评论(0)
推荐(0)
2020年2月7日
Linux增加虚拟内存方法
摘要: 在linux中,当物理内存mem不足时,就会使用虚拟内存(swap分区) 例如增加2G虚拟内存,操作如下:1.查看内存大小[root@gamedb ~]# free -mh 2.创建要作为swap分区的文件:增加1GB大小的交换分区,则命令写法如下,其中的count等于想要的块的数量(bs*coun
阅读全文
posted @ 2020-02-07 18:06 lengs
阅读(5300)
评论(0)
推荐(0)
2020年1月6日
简介vsftpd及搭建配置
摘要: 一、简介 FTP(文件传输协议)全称是:Very Secure FTP Server。 Vsftpd是linux类操作系统上运行的ftp服务器软件。 vsftp提供三种登陆方式:1.匿名登录 2.本地用户登录 3.虚拟用户登录 vsftpd的特点:1.较高的安全性需求 2.带宽的限制 3.创建支持虚
阅读全文
posted @ 2020-01-06 22:31 lengs
阅读(396)
评论(0)
推荐(0)
linux小技巧
摘要: 1:检查不是由你运行的程序难度:高级应用程序:bash(译注:UNIX或者LINUX的shell)想象下这个场景-你已经准备好了要和同事在办公室里对战一局快速的Crack Attack(译注:一款免费的OpenGL游戏,类似俄罗斯方块),不料却发现,当你正准备要击败你这个傲慢的下属时,方块却停止了-
阅读全文
posted @ 2020-01-06 16:42 lengs
阅读(266)
评论(0)
推荐(0)
CentOS7使用firewalld打开关闭防火墙与端口
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc
阅读全文
posted @ 2020-01-06 15:40 lengs
阅读(153)
评论(0)
推荐(0)
2019年12月25日
nfs 客户端启动报错rpc.mountd: svc_tli_create: could not open connection for tcp6
摘要: # /etc/init.d/nfs start Starting NFS services: [ OK ] Starting NFS mountd: rpc.mountd: svc_tli_create: could not open connection for udp6 rpc.mountd:
阅读全文
posted @ 2019-12-25 10:55 lengs
阅读(702)
评论(0)
推荐(0)
2019年12月23日
linux基本操作命令
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2019-12-23 14:10 lengs
阅读(1)
评论(0)
推荐(0)
2019年12月16日
解决 nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
摘要: 使用/usr/local/nginx/sbin/nginx -s reload 重新读取配置文件出错 [root@localhost nginx]/usr/local/nginx/sbin/nginx -s reload提示 nginx: [error] invalid PID number ""
阅读全文
posted @ 2019-12-16 18:30 lengs
阅读(9182)
评论(0)
推荐(1)
vim删除以#,空格开头的行
摘要: 1,删除以#号开头的行: :g/^#/d :%s/^#.*\n 2,删除以空格开头的行: :g/^\s/d “\s代表空格” :%s/^\s.*\n 3,删除以空格#开头的注释行: :g/^\ .*#/d “(.*)代表若干” :%s/^\s.*#.*\n//g 4,删除空白行: :g/^$/d :
阅读全文
posted @ 2019-12-16 14:20 lengs
阅读(939)
评论(0)
推荐(0)
下一页
公告