会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cuiyupu
博客园
首页
新随笔
联系
订阅
管理
2019年9月29日
rap2-delos搭建
摘要: 安装基本工具 git mysql5.7+ node8.9.4+ 获取源代码 git clone https://github.com/thx/rap2-delos.git 环境配置 创建数据库 mysql -e 'CREATE DATABASE IF NOT EXISTS RAP2_DELOS_AP
阅读全文
posted @ 2019-09-29 15:19 cuiyupu
阅读(703)
评论(0)
推荐(0)
2019年9月28日
SVN搭建与LDAP集成
摘要: 安装httpd,svnyum install httpd httpd-devel subversion mod_dav_svn ntpdate -y 开始创建目录和配置文件mkdir -p /etc/subversion && cd /etc/subversion && touch svn-auth
阅读全文
posted @ 2019-09-28 10:49 cuiyupu
阅读(3174)
评论(0)
推荐(0)
DNSmasq搭建内网DNS服务器
摘要: 1.安装dnsmasq yum install -y dnsmasq 2.配置配置文件 vim /etc/dnsmasq.conf no-hosts resolv-file=/etc/resolv.dnsmasq.conf strict-order listen-address=192.168.0.
阅读全文
posted @ 2019-09-28 10:24 cuiyupu
阅读(1047)
评论(0)
推荐(0)
2019年9月27日
KVM部署和操作
摘要: 查看CPU是否支持VT技术: cat /proc/cpuinfo |grep vmx 没有回显就是不支持,需要在bios里开启虚拟化 安装软件: yum install *qemu* *virt* *kvm* -y 启动服务: systemct start libvirtd 默认存储池: /var/
阅读全文
posted @ 2019-09-27 17:55 cuiyupu
阅读(183)
评论(0)
推荐(0)
2019年2月20日
邮件报警脚本
摘要: #!/bin/bash#安装邮件rpm -q sendmail if [ $? -ne 0 ];then yum -y install sendmail firpm -q mutt if [ $? -ne 0 ];then yum -y install mutt fisystemctl restar
阅读全文
posted @ 2019-02-20 11:54 cuiyupu
阅读(244)
评论(0)
推荐(0)
攻击原理解析与预防
摘要: XSS将输入的数据进行转义处理,比如说讲 < 转义成<; SQL注入在java中,我们可以使用预编译语句(PreparedStatement),这样的话即使我们使用sql语句伪造成参数,到了服务端的时候,这个伪造sql语句的参数也只是简单的字符,并不能起到攻击的作用。很多orm框架已经可以对参数
阅读全文
posted @ 2019-02-20 11:52 cuiyupu
阅读(239)
评论(0)
推荐(0)
iptables防火墙配置
摘要: 需要开80端口,指定IP和局域网下面三行的意思:先关闭所有的80端口开启ip段192.168.1.0/24端的80口开启ip段211.123.16.123/24端ip段的80口# iptables -I INPUT -p tcp --dport 80 -j DROP # iptables -I IN
阅读全文
posted @ 2019-02-20 11:49 cuiyupu
阅读(419)
评论(0)
推荐(0)
nginx代理标准配置
摘要: #nginx开启的进程数worker_processes 4; #4核CPU #定义全局错误日志定义类型,[debug|info|notice|warn|crit]error_log logs/error.log info; ##指定进程ID存储文件位置pid logs/nginx.pid; eve
阅读全文
posted @ 2019-02-20 11:47 cuiyupu
阅读(223)
评论(0)
推荐(0)
nginx网站标准配置
摘要: #nginx开启的进程数worker_processes 4; #4核CPU #定义全局错误日志定义类型,[debug|info|notice|warn|crit]error_log logs/error.log info; #指定进程ID存储文件位置pid logs/nginx.pid; #一个n
阅读全文
posted @ 2019-02-20 11:43 cuiyupu
阅读(718)
评论(0)
推荐(0)
公告