<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[windowsxpwyd的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/windowsxpwyd</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; windowsxpwyd]]></copyright><item><title><![CDATA[vsftpd+SSL+FileZilla Client]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8614454</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8614454</guid><author>windowsxpwyd</author><pubDate>Tue, 26 Feb 2013 16:44:49 +0800</pubDate><description><![CDATA[先创建一张证书，使用命令：
/usr/bin/openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout vsftpd.pem -out vsftpd.pem

编辑vsftpd的配置文件，加入下面的内容以启用SSL：
#开启SSL
ssl_enable=YES
#加密非匿名用户的数据连接
force_local_data_]]></description><category></category></item><item><title><![CDATA[FreeRADIUS整合微软活动目录做身份验证时报错“winbind client not authorized to use winbindd_pam_auth_crap”的解决方法]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8601150</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8601150</guid><author>windowsxpwyd</author><pubDate>Fri, 22 Feb 2013 09:42:40 +0800</pubDate><description><![CDATA[FreeRADIUS使用微软活动目录做身份验证时，当客户端发起认证请求到radius服务器时，radius服务器报错“winbind client not authorized to use winbindd_pam_auth_crap”，如下图：

根据提示，检查目录/var/lib/samba/winbindd_privileged的权限，如下：



该目录的权限是750，且必须]]></description><category></category></item><item><title><![CDATA[Freeradius2.2安装和测试]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8598799</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8598799</guid><author>windowsxpwyd</author><pubDate>Thu, 21 Feb 2013 15:29:37 +0800</pubDate><description><![CDATA[系统：CentOS6.2
软件：Freeradius 2.2
可以直接使用yum进行安装
最新版本可以从 http://freeradius.org/download.html  进行下载，源码包中带有spec文件，可以方便的编译成RPM包

相关配置文件都在/etc/raddb/目录
安装完成后先进行简单的测试
先编辑/etc/raddb/users文件，在文件最前面加入下面一行内]]></description><category></category></item><item><title><![CDATA[实现vsftpd对不同网段分别限速]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8314176</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8314176</guid><author>windowsxpwyd</author><pubDate>Tue, 18 Dec 2012 14:34:33 +0800</pubDate><description><![CDATA[公司有一台vsftpd的FTP服务器，现需要实现在公司内网访问时不限速，在公司外访问时限制速度。vsftpd的限速是通过anon_max_rate和local_max_rate来分别配置匿名用户和授权用户的上传下载速度的，但这是针对所有客户端的，如果要实现不同网段的分别限速，则需要借助于tcp_wrapper这个功能，通过man  vsftpd.conf，然后查找tcp_wrapper这个选项，得]]></description><category></category></item><item><title><![CDATA[让Nginx支持Ruby on rails框架]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8269614</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8269614</guid><author>windowsxpwyd</author><pubDate>Fri, 07 Dec 2012 15:25:13 +0800</pubDate><description><![CDATA[系统：CentOS6.2
安装必要的软件包：
   #yum  install  -y  ruby  ruby-devel  rubygems  mysql  mysql-devel

安装rails和passenger
    #gem  install  rails
    #gem  install  passenger
 
安装Phusion Passenger模块，使ng]]></description><category></category></item><item><title><![CDATA[使Nginx支持ThinkPHP框架]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8252164</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8252164</guid><author>windowsxpwyd</author><pubDate>Mon, 03 Dec 2012 16:13:59 +0800</pubDate><description><![CDATA[最近在将公司的一台的服务器从Apache迁移到Nginx的时候出了点问题，特做个笔记。
问题出在上面的一个网站是基于ThinkPHP框架开发的，用默认的方法配置不行。在网上baidu之后发现这个问题很普遍，通用解决方法的配置如下：
server {
 ...
        if (!-e $request_filename) {
           rewrite  ^/(.*)$]]></description><category></category></item><item><title><![CDATA[配置vim的Nginx配置文件语法高亮的脚本]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8241253</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8241253</guid><author>windowsxpwyd</author><pubDate>Thu, 29 Nov 2012 21:39:04 +0800</pubDate><description><![CDATA[写成脚本，免得每次都手动配置
#!/bin/bash
[[ -d ~/.vim/syntax ]] || mkdir  -p ~/.vim/syntax
cd ~/.vim/syntax
wget http://www.vim.org/scripts/download_script.php?src_id=14376 -O nginx.vim
echo "au BufRead,BufNew]]></description><category></category></item><item><title><![CDATA[使用windows活动目录为vsftpd提供身份验证]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8234208</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8234208</guid><author>windowsxpwyd</author><pubDate>Wed, 28 Nov 2012 13:59:32 +0800</pubDate><description><![CDATA[配置方法同《使用LDAP为vsftpd提供身份验证》，只不过微软的活动目录不允许匿名绑定，因此需要在/etc/pam_ldap.conf文件中指定binddn和bindpw，如下：
    host  192.168.2.8  192.168.2.6   #指定DC，多个DC以空格分隔
    base dc=alltechdomain,dc=com
    binddn cn=its,ou]]></description><category></category></item><item><title><![CDATA[红帽目录服务RHDS(Red Hat Directory Service)搭建]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8234051</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8234051</guid><author>windowsxpwyd</author><pubDate>Wed, 28 Nov 2012 13:24:32 +0800</pubDate><description><![CDATA[RHDS的软件包没有现成的RPM包，但可以从红帽的ftp服务器上下载到SRPM包，然后自己再编译生成RPM包，SRPM包的下载地址：  ftp://ftp.redhat.com/redhat/linux/enterprise/6Server/en/RHDirServ/SRPMS
  SRPM包下载回来后，使用命令rpmbuild  --rebuild  XXX.src.rpm  编译产生RPM包]]></description><category></category></item><item><title><![CDATA[使用LDAP为vsftpd提供身份验证]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/8234032</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/8234032</guid><author>windowsxpwyd</author><pubDate>Wed, 28 Nov 2012 13:17:48 +0800</pubDate><description><![CDATA[此处假设LDAP服务器已经搭建好，以RHDS为例。
安装软件包：
        yum  install  vsftpd  pam_ldap
配置pam_ldap
    编辑配置文件/etc/pam_ldap.conf，修改内容如下：

        base dc=wyd,dc=com          #搜索LDAP服务器的起始DN
        uri  ldaps:/]]></description><category></category></item><item><title><![CDATA[FTP服务器iptables的配置]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/7662987</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/7662987</guid><author>windowsxpwyd</author><pubDate>Thu, 14 Jun 2012 14:49:21 +0800</pubDate><description><![CDATA[系统：CentOS6.2
软件：vsftpd, iptables
安装完系统后，默认的iptables的规则只允许状态为RELATED、ESTABILISHED的包和SSHD的数据包进入服务器，当安装好vsftpd后，通常需要在iptables上面放开21端口，完整的iptables配置如下：
iptables   -A INPUT -m state --state RELATED,ESTA]]></description><category></category></item><item><title><![CDATA[SELinux为Enforcing模式时安装Zabbix1.8.13]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/7590202</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/7590202</guid><author>windowsxpwyd</author><pubDate>Tue, 22 May 2012 11:23:10 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[启用SELinux时遇到的问题]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/7571872</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/7571872</guid><author>windowsxpwyd</author><pubDate>Wed, 16 May 2012 11:20:13 +0800</pubDate><description><![CDATA[一台CentOS5.7的机器，原来只是在公司内部访问，SELinux是禁用的状态，现需要搭建成FTP服务器并发布到外网上去，为了安全，启用SELinux。编辑/etc/selinux/config文件，将SELINUX=disabled改为SELINUX=permissive，保存后重启系统。（SELinux从禁用状态转变为启用时，需要重启系统以重新标记文件的上下文，红帽建议先将SELinux的值]]></description><category></category></item><item><title><![CDATA[Zabbix中使用ICMP ping来判断主机是否存活的问题]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/7530584</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/7530584</guid><author>windowsxpwyd</author><pubDate>Thu, 03 May 2012 10:34:47 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[使用Windows活动目录为Samba做身份认证]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/7522463</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/7522463</guid><author>windowsxpwyd</author><pubDate>Sun, 29 Apr 2012 16:02:40 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[通过SSH远程关闭ESXi的方法]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/7522137</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/7522137</guid><author>windowsxpwyd</author><pubDate>Sun, 29 Apr 2012 12:24:12 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[利用GPO开启管理共享admin$]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/7239284</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/7239284</guid><author>windowsxpwyd</author><pubDate>Tue, 07 Feb 2012 14:25:30 +0800</pubDate><description><![CDATA[域中一部分机器在安装操作系统的时候关闭了admin$共享，最近因工作需要希望能够开启客户端的admin$共享以远程执行一些维护命令。最简单的方法就是在CMD环境下执行命令”net   share  admin$”，在域中可以把这条命令写入bat脚本中，用登录脚本发给客户端，但是会有一个权限问题，如果用户不是属于管理员组就没有权限执行这条命令。
在查阅了很多资料后发现，唯一的办法就是编写组策略模板]]></description><category></category></item><item><title><![CDATA[NOD32杀毒软件引起默认域策略无法应用到客户端一案]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/6795840</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/6795840</guid><author>windowsxpwyd</author><pubDate>Wed, 21 Sep 2011 08:52:48 +0800</pubDate><description><![CDATA[近期用户反映在输入密码后，电脑显示“正在应用个人设置”或者“正在应用计算机设置”时会停留很长时间，检查其电脑的日志发现，在应用程序的日志里反复出现事件ID为1030和1058的事件，描述内容为某个组策略无法应用成功







     在DC上查询后发现，这个]]></description><category></category></item><item><title><![CDATA[MySQL5.5源代码安装]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/6742424</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/6742424</guid><author>windowsxpwyd</author><pubDate>Fri, 02 Sep 2011 11:23:45 +0800</pubDate><description><![CDATA[一、安装支持工具
1、安装cmake
Wget   http://www.cmake.org/files/v2.8/cmake-2.8.5-Linux-i386.sh
chmod +xcmake-2.8.5-Linux-i386.sh
./cmake-2.8.5-Linu]]></description><category></category></item><item><title><![CDATA[使用Zabbix监控Linux主机]]></title><link>https://blog.csdn.net/windowsxpwyd/article/details/6742389</link><guid>https://blog.csdn.net/windowsxpwyd/article/details/6742389</guid><author>windowsxpwyd</author><pubDate>Fri, 02 Sep 2011 11:16:48 +0800</pubDate><description><![CDATA[Step1
创建zabbix账户
useradd    zabbix
该账户用来运行zabbix的客户端，为非特权账户，zabbix客户端不能运行在root账户下
Step 2
解压配置编译并安装
tar    zxvf zabbix-1.8.3.tar.gz
cd]]></description><category></category></item></channel></rss>