ITeye博客

2017 年文章归档

共 7 篇文章

vsftpd 限制IP访问

转自:http://wuhaoshu.blog.51cto.com/845270/489684 1、修改:/etc/vsftpd/vsftpd.conf 添加: tcp_wrappers=YES 2、修改/etc/hosts.deny 添加:禁用所有 vsftpd : ALL 3、修改/etc/hosts.allow 添加:允许ip访问 vsftpd:.admin99.net vsftpd:192.168.0. vsftpd:192.168.0.0/255.255.255.0 第一行表示,只有admin99.net这个域里的主机允许访问vsftpd服务,注意admin99.net前面的那个点…

2017-09-21 13:07 · linux

centos7安装ftp服务 vsftpd

centos7安装ftp服务vsftpd 转自:http://www.cnblogs.com/lightnear/archive/2012/10/07/2713539.html 检查是否安装: [root@localhost ~]# rpm -qa | grep vsftpd 1、安装vsftp: [root@localhost ~]# yum -y install vsftpd 2、配置vsftpd.conf文件: [root@localhost ~]# vi /etc/vsftpd/vsftpd.conf 这里参考原文吧,颜色没有了!!!看起来费劲 # Example config fi…

2017-09-08 18:44 · linux · vsftpd · 安装

windows2008安装msyql5.7.19失败

参考: https://forums.mysql.com/read.php?169,659133,659133 https://forums.mysql.com/read.php?169,659133,659152#msg-659152 下载列表: https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package 我下载的是64位Chinese - China版,下载完后运行vcredist_x64.exe 错误: 1: Action 1…

2017-08-14 19:05 · mysql · windows2008

mysql 8小时断开链接

转自:http://www.cnblogs.com/symen/p/6112474.html mysql 连接空闲超8小时自动断开连接问题(linux) 在mysql配置文件里添加wait_timeout和interactive_timeout两个值 [mysqld] wait_timeout=315360000 interactive_timeout=315360000 超时时间,10年 重启mysql:service mysqld restart 登入mysql show variables like '%timeout%'; +-----------------------------…

2017-06-06 10:27 · mysql

cas4.2 rest

cas 添加rest 支持 在服务端web.xml中有一段: <!-- REST support if cas-server-support-rest is included 要添加这个jar包 --> <servlet-mapping> <servlet-name>cas</servlet-name> <url-pattern>/v1/*</url-pattern> </servlet-mapping> 需要在服务端引入jar:cas-server-support-rest 位置:cas/WEB-INF/pom.xml <dependency> <groupId>mysql</groupI…

2017-05-15 12:31

cas4.2 使用客户端自定义页面登录一种解决方法

参考: https://wiki.jasig.org/display/CAS/Using+CAS+without+the+Login+Screen https://wiki.jasig.org/display/CAS/Using+CAS+from+external+link+or+custom+external+form 服务端: casLoginView.jsp <jsp:directive.include file="includes/top.jsp" /> <% String auto = request.getParameter("auto"); if (auto != null &…

2017-05-15 11:22 · 登录 · login · Screen · page

axis2 生成webservice客户端jar及使用

参考: https://my.oschina.net/suyewanwan/blog/110662 axis2下载:http://axis.apache.org/axis2/java/core/download.html 我下载的这个: axis2-1.7.4-bin.zip axis2构建webService客户端代码 ant把构建完成的代码打成jar包 1、wsdl2java命令生成客户端源文件 D:\axis2-1.7.2\bin>wsdl2java.bat -uri http://192.168.0.0/SMSend/Service.asmx?wsdl -o F:\tt -p com…

2017-03-22 12:53 · grails · WebService · axis2