Xmanager Enterprise Build 1236安装版
Xshell 是一个极好用的免费SSH客户端,可以作为Telnet、Rlogin、SSH、SFTP、Serial等协议的安全终端模拟软件,让你轻松管理远程主机。 目前XSHELL多版本存在后门,或上传用户服务器账号密码!!! 此版本是Xmanager Ente … 阅读全文
Xshell 是一个极好用的免费SSH客户端,可以作为Telnet、Rlogin、SSH、SFTP、Serial等协议的安全终端模拟软件,让你轻松管理远程主机。 目前XSHELL多版本存在后门,或上传用户服务器账号密码!!! 此版本是Xmanager Ente … 阅读全文
在windows2008下配置II7 web.config 当通过手机访问www域名时,自动跳转到对应的移动域名下
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <!-- http://www.whsir.com 替换为对应的网站,带www--> <httpRedirect enabled="false" destination="http://www.whsir.com" exactDestination="false" childOnly="false" httpResponseStatus="Permanent" /> <!--启用Gzip压缩--> <urlCompression doStaticCompression="true" doDynamicCompression="false" /> <defaultDocument> <files> <clear /> <add value="Default.htm" /> <add value="Default.asp" /> <add value="index.htm" /> <add value="index.html" /> <add value="index.php" /> <add value="default.aspx" /> </files> </defaultDocument> </system.webServer> <system.webServer> <rewrite> <rules> <rule name="WWW Redirect" stopProcessing="true"> <match url=".*" /> <conditions> <!--xxx.com,替换为对应的网站,不带www--> <add input="{HTTP_HOST}" pattern="^whsir.com$" /> </conditions> <!-- http://www.whsir.com 替换为对应的网站,带www--> <action type="Redirect" url="http://www.whsir.com/{R:0}" redirectType="Permanent" /> </rule> <rule name="Mobile Jump" stopProcessing="true"> <match url="^(.*)$" /> <conditions logicalGrouping="MatchAll"> <add input="{HTTP_USER_AGENT}" pattern="(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino" /> </conditions> <!-- 输入要跳转的手机站点 --> <action type="Redirect" url="http://m.whsir.com/" redirectType="Found" /> </rule> </rules> </rewrite> </system.webServer> </configuration> |
~微信打赏~ 赏
这里只介绍了一些在linux客户端上常用的命令: 1、将文件checkout检出到指定目录 检出的文件仍处于SVN版本控制中,与版本库保持关联,目录下会有一个.svn的隐藏文件夹,存储着一些版本的元数据信息。 格式:svn checkout SVN PATH … 阅读全文
参考文档 https://git-scm.com/book/zh/v1/起步-安装-Git git可以在https://github.com/git/git/releases下载 也可以在https://www.kernel.org/pub/software/ … 阅读全文
Jenkins是基于Java开发的一种持续集成工具,用于监控持续重复的工作,一般用来做svn或git一键发布使用,也可以用来做一些定时任务运行一些shell脚本等。 本篇文章通过yum快速安装Jenkins最新稳定版! 1、安装java1.8 [crayon- … 阅读全文
Centos6修改hostname不用重启操作系统永久生效方法 我在这里介绍了三种方式任选其一即可: 方法1 编辑/etc/sysconfig/network文件 vi /etc/sysconfig/network 更改HOSTNAME=whsir 然后使用e … 阅读全文
在nginx的server字段中配置下面内容即可
1 2 3 |
if ($http_user_agent ~* (baiduspider|googlebot|bing|sogou|yahoo)){ return 503; } |
如果单独屏蔽百度蜘蛛就是
1 2 3 |
if ($http_user_agent ~* baiduspider){ return 503; } |
~微信打赏~ 赏
在windows2008系统上搭建bt trackers服务器 所需要用到的两个包下载地址: https://down.whsir.com/downloads/Python-2.3b2.exe https://down.whsir.com/downloads/ … 阅读全文
关于网卡备份要说明一下,正常大家都喜欢直接cp xxx xxx.bak方式进行备份文件,但是网卡文件如果这么备份会带来问题,系统也会启用以.bak备份的网卡文件,在/etc/init.d/network脚本中有下面这段内容: 系统脚本会将所有此目录下以ifcf … 阅读全文
今天在使用scp内网拷贝文件时提示:
1 |
bash: scp: command not found |
开始以为是没有安装scp包 于是安装scp,scp属于openssh-clients包
1 |
yum install openssh-clients |
但 … 阅读全文