<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[巨人站在肩膀上]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/codingstandards</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; codingstandards]]></copyright><item><title><![CDATA[Linux下怎样查找包含**的文件]]></title><link>https://blog.csdn.net/codingstandards/article/details/84392751</link><guid>https://blog.csdn.net/codingstandards/article/details/84392751</guid><author>codingstandards</author><pubDate>Wed, 20 Feb 2013 15:25:34 +0800</pubDate><description><![CDATA[
在Linux下，查找包含字符串的文件使用的命令是grep。如果要查找包含**的文件，使用grep ** file是不行的，因为grep认为**是正则表达式，结果不可预料。正确的做法是：
grep '\*\*' file
比如：
[root@qzw www.vktone.com]# grep '\*\*' *.html */*.html &amp;gt;filtered.txt
[root@qzw...]]></description><category></category></item><item><title><![CDATA[在Linux用tar归档压缩文件时忽略某些文件和目录]]></title><link>https://blog.csdn.net/codingstandards/article/details/84388119</link><guid>https://blog.csdn.net/codingstandards/article/details/84388119</guid><author>codingstandards</author><pubDate>Fri, 01 Feb 2013 10:19:52 +0800</pubDate><description><![CDATA[
在Linux下，常用tar对文件或目录归档压缩，有时候需要忽略某些文件或目录，怎么做呢？
原来，tar命令有个长参数 --exclude 可以用来指定排除掉的文件目录。
[root@mos178 usr]# ls motix
bin  bin.1153887679  bin.20080407zhy_something_wrong  cfg  cfg.1153887679  cfg.2007...]]></description><category></category></item><item><title><![CDATA[在Bash脚本中怎么关闭文件描述符？]]></title><link>https://blog.csdn.net/codingstandards/article/details/84380432</link><guid>https://blog.csdn.net/codingstandards/article/details/84380432</guid><author>codingstandards</author><pubDate>Sat, 12 Jan 2013 10:53:07 +0800</pubDate><description><![CDATA[在写一个Bash脚本的时候碰到一个问题，这个脚本是用来启动一个程序B的，而这个脚本又被另一个程序A调用，结果发现新启动的B进程中有很多A进
程打开的文件描述符（如Socket）。因此决定在脚本中将它们关闭，因为为了简单起见，我在A程序中使用了system()来启动该脚本。增加了关闭文
件描述符的脚本如下：
#!/bin/sh

cd $(dirname &quot;$0&quot;) || exit 1
...]]></description><category></category></item><item><title><![CDATA[在Linux下比较两个目录需要忽略某些文件时怎么做？]]></title><link>https://blog.csdn.net/codingstandards/article/details/84379724</link><guid>https://blog.csdn.net/codingstandards/article/details/84379724</guid><author>codingstandards</author><pubDate>Thu, 10 Jan 2013 22:18:56 +0800</pubDate><description><![CDATA[ 


在Linux下如果要比较两个目录，可以使用diff命令，并且需要加上选项-r（递归）。
       -r     When comparing directories, recursively compare any subdirectories found.
 
另外还有两个常用的选项，-b （忽略空白）和 -B （忽略空行）
       -b     Ignore c...]]></description><category></category></item><item><title><![CDATA[远程桌面连通器（RemoteDesktopConnex） 1.0.2 发布了！]]></title><link>https://blog.csdn.net/codingstandards/article/details/84368504</link><guid>https://blog.csdn.net/codingstandards/article/details/84368504</guid><author>codingstandards</author><pubDate>Sun, 16 Dec 2012 18:35:09 +0800</pubDate><description><![CDATA[远程桌面连通器（RemoteDesktopConnex） 1.0.2 发布了！

 
请到这里下载：下载地址


 
如果您还不太清楚 远程桌面连通器（RemoteDesktopConnex）是个什么东东，请到这里
了解更多。目前已有120多位用户注册
并使用了 Remote Bridge 
服务。



 
本次更新内容包括：

(1)  改正了用新的账号登录无...]]></description><category></category></item><item><title><![CDATA[Remote Bridge 服务 - 带你去穿越]]></title><link>https://blog.csdn.net/codingstandards/article/details/84366013</link><guid>https://blog.csdn.net/codingstandards/article/details/84366013</guid><author>codingstandards</author><pubDate>Sun, 09 Dec 2012 22:21:14 +0800</pubDate><description><![CDATA[Remote Bridge Service - 远程桥接服务
一句话：利用这个服务，可以轻松实现从公司远程桌面连接到家里的机器，或从家里远程桌面连接到公司的机器，并且不需要更改路由器设置，也不需要记住那个经常变化的公网ip地址。
 
什么是Remote Bridge Service？
　　我们常常利用远程的计算机来工作，比如远程桌面连接到
Windows机器、SSH到远程的Unix/Li...]]></description><category></category></item><item><title><![CDATA[使用Varnish反向代理Tomcat]]></title><link>https://blog.csdn.net/codingstandards/article/details/84359499</link><guid>https://blog.csdn.net/codingstandards/article/details/84359499</guid><author>codingstandards</author><pubDate>Thu, 22 Nov 2012 13:04:40 +0800</pubDate><description><![CDATA[　　Varnish是一款高性能开源HTTP加速器，挪威最大的在线报纸 Verdens Gang (http://www.vg.no) 使用3台Varnish代替了原来的12台squid，性能居然比以前更好。

　　Varnish 的作者Poul-Henning 
Kamp是FreeBSD的内核开发者之一，他认为现在的计算机比起1975年已经复杂许多。在1975年时，储存媒介只有两种：内存与硬...]]></description><category></category></item><item><title><![CDATA[使用nmap扫描服务器端口的一次操作]]></title><link>https://blog.csdn.net/codingstandards/article/details/84343321</link><guid>https://blog.csdn.net/codingstandards/article/details/84343321</guid><author>codingstandards</author><pubDate>Thu, 01 Nov 2012 17:00:51 +0800</pubDate><description><![CDATA[使用nmap扫描服务器端口的一次操作

本文来自：http://www.vktone.com/articles/nmap_windows_machines.html
  （本人新开的独立博客地址）
nmap是Linux下常用的端口扫描工具，它可以检测主机是否在线，是否开启了某个服务端口，使用了何种操作系统等。我经常用它来检测远程的
Windows服务器的ip地址，因为不是固定ip地址，该...]]></description><category></category></item><item><title><![CDATA[为什么在crontab中使用ntpdate同步时间无效？]]></title><link>https://blog.csdn.net/codingstandards/article/details/84266034</link><guid>https://blog.csdn.net/codingstandards/article/details/84266034</guid><author>codingstandards</author><pubDate>Mon, 30 Jul 2012 09:41:40 +0800</pubDate><description><![CDATA[在一台 VirtualBox 上安装的 CentOS 5.8 系统上，时间不准确，一天能差上好几个小时，每次测试与时间相关的程序时，总得先去调整时间。于是在crontab中设置了一个定时任务：(crontab -e)
 
# 时间同步
0,10,20,30,40,50 * * * * ntpdate time.windows.com
 
过了一阵，发现时间并没有同步，而单独执行命令就可以...]]></description><category></category></item><item><title><![CDATA[合并源代码到一个文件的脚本]]></title><link>https://blog.csdn.net/codingstandards/article/details/84250730</link><guid>https://blog.csdn.net/codingstandards/article/details/84250730</guid><author>codingstandards</author><pubDate>Mon, 16 Jul 2012 15:32:43 +0800</pubDate><description><![CDATA[最近公司申请知识产权，需要将提交前后各38页源代码，因此写了一个合并源代码的Bash脚本，如下所示：
 
#!/bin/sh

find . -name &quot;*.java&quot; -o -name &quot;*.jsp&quot; | while read file
do
if ! grep -q UTF $file; then
echo &quot;Source File: $file&quot;
cat -n $file...]]></description><category></category></item><item><title><![CDATA[非法信息监控软件安装记录]]></title><link>https://blog.csdn.net/codingstandards/article/details/84241186</link><guid>https://blog.csdn.net/codingstandards/article/details/84241186</guid><author>codingstandards</author><pubDate>Thu, 28 Jun 2012 16:46:10 +0800</pubDate><description><![CDATA[为配合上级部门的检查，Linux机器下都要安装非法信息监控软件，现记录如下：
 
第一步：从网站上下载安装包，不幸的是提供的是rar，我只好将其转成zip格式，然后上传的服务器。

[root@s170 ~]# mkdir install

[root@s170 ~]# cd install


[root@s170 install]# ls

上传文件。


[roo...]]></description><category></category></item><item><title><![CDATA[在Linux下将整个目录的文件转换字符编码的脚本]]></title><link>https://blog.csdn.net/codingstandards/article/details/84236499</link><guid>https://blog.csdn.net/codingstandards/article/details/84236499</guid><author>codingstandards</author><pubDate>Mon, 18 Jun 2012 20:47:15 +0800</pubDate><description><![CDATA[源文件编码：gbk
源文件名称模式：*.ftl.gbk
目标文件编码：utf8
目标文件名称模式：*.ftl
 
脚本：to_utf8.sh
#!/bin/sh

for srcfile in *.gbk;
do
        dstfile=${srcfile/.gbk/}
        if [ &quot;$srcfile&quot; -nt &quot;$dstfile&quot; ]; then
 ...]]></description><category></category></item><item><title><![CDATA[罗列几个关于CentOS的网站，都很值得一看，尤其是...]]></title><link>https://blog.csdn.net/codingstandards/article/details/84234371</link><guid>https://blog.csdn.net/codingstandards/article/details/84234371</guid><author>codingstandards</author><pubDate>Thu, 14 Jun 2012 14:22:12 +0800</pubDate><description><![CDATA[CentOS 是 RHEL（Red Hat Enterprise Linux）源代码再编译的产物，而且在 RHEL 的基础上修正了不少已知的 Bug ，相对于其他 Linux 发行版，其稳定性值得信赖。
 

 
RHEL 在发行的时候，有两种方式。一种是二进制的发行方式，另外一种是源代码的发行方式。
无论是哪一种发行方式，你都可以免费获得（例如从网上下载），并再次发布。但如果你使用了他...]]></description><category></category></item><item><title><![CDATA[CentOS下安装nginx步骤]]></title><link>https://blog.csdn.net/codingstandards/article/details/84234332</link><guid>https://blog.csdn.net/codingstandards/article/details/84234332</guid><author>codingstandards</author><pubDate>Thu, 14 Jun 2012 13:50:47 +0800</pubDate><description><![CDATA[nginx版本：最新版的稳定版 nginx 1.2.1 
操作系统：CentOS 5.8
 
步骤如下：（假定安装在/opt/nginx目录中）
mkdir nginx
cd nginx/
wget http://nginx.org/download/nginx-1.2.1.tar.gz
tar zxf nginx-1.2.1.tar.gz 
cd nginx-1.2.1
./c...]]></description><category></category></item><item><title><![CDATA[双线云主机不能访问远程服务的问题解决记录]]></title><link>https://blog.csdn.net/codingstandards/article/details/84233597</link><guid>https://blog.csdn.net/codingstandards/article/details/84233597</guid><author>codingstandards</author><pubDate>Wed, 13 Jun 2012 13:59:08 +0800</pubDate><description><![CDATA[双线云主机不能访问远程服务的问题解决记录
新购置的双线云主机，一切都比较正常，访问速度也比较快。不过有个问题，我们系统的程序需要访问部署在移动机房的服务，端口20009，无法访问。
 

[root@www ~]$ telnet 211.103.28.xxx 20009 



Trying 211.103.28.xxx...


等待较长时间也没有反应，只好 Ctrl+C...]]></description><category></category></item><item><title><![CDATA[谁动了我的sshd（消失的sshd，诡异）（+真相）]]></title><link>https://blog.csdn.net/codingstandards/article/details/84232366</link><guid>https://blog.csdn.net/codingstandards/article/details/84232366</guid><author>codingstandards</author><pubDate>Mon, 11 Jun 2012 15:33:57 +0800</pubDate><description><![CDATA[消失的sshd
　　上午一直登录在一台远程Linux服务器上，想拿一份最新的数据库数据来，于是用 mysqldump 导出并打包成 tar.gz；在本地的一台Linux服务器上执行 sftp，诡异的事情发生了。
 
[root@liunx0918 shtools]# sftp xxx.xxx.xxx.xxx



Connecting to xxx.xxx.xxx.xxx...
...]]></description><category></category></item><item><title><![CDATA[有关MySQL同步复制的精彩文章推荐]]></title><link>https://blog.csdn.net/codingstandards/article/details/84232327</link><guid>https://blog.csdn.net/codingstandards/article/details/84232327</guid><author>codingstandards</author><pubDate>Mon, 11 Jun 2012 15:02:24 +0800</pubDate><description><![CDATA[有关MySQL同步复制的精彩文章推荐
    

配置 MYSQL 主从同步     
http://blog.phpbean.com/a.cn/12/


评论：讲了MySQL复制配置中的一些要点。
 
线上MYSQL同步报错故障处理
http://hcymysql.blog.51cto.com/5223301/888007


评论：作者以ppt的形式，讲述了MySQ...]]></description><category></category></item><item><title><![CDATA[MySQL无法启动]]></title><link>https://blog.csdn.net/codingstandards/article/details/84230803</link><guid>https://blog.csdn.net/codingstandards/article/details/84230803</guid><author>codingstandards</author><pubDate>Fri, 08 Jun 2012 10:08:10 +0800</pubDate><description><![CDATA[MySQL无法启动
在停止mysql之后，执行了一些操作（如修改主机名），重新启动 mysql，发现起不来。
 
[root@www ~]$ service mysql start


Starting MySQL..^[[A....................................................................................]]></description><category></category></item><item><title><![CDATA[Bash修改命令提示符]]></title><link>https://blog.csdn.net/codingstandards/article/details/84230780</link><guid>https://blog.csdn.net/codingstandards/article/details/84230780</guid><author>codingstandards</author><pubDate>Fri, 08 Jun 2012 09:53:15 +0800</pubDate><description><![CDATA[Bash修改命令提示符
发现新装的机器的Bash命令提示符是 -bash-3.2#  不是常见的 [root@liunx0918 ~]#  形式。同时发现 没有 .bashrc 文件，于是编辑了 .bashrc 加上 PS1=&quot;[\u@\h \W]\$ &quot;，重新登录，发现提示符没有改变。只好直接在 /etc/profile 中添加了 PS1=&quot;[\u@\h \W]\$ &quot;，重新登录之后提示符改变...]]></description><category></category></item><item><title><![CDATA[Linux下更改MySQL的数据库目录]]></title><link>https://blog.csdn.net/codingstandards/article/details/84230064</link><guid>https://blog.csdn.net/codingstandards/article/details/84230064</guid><author>codingstandards</author><pubDate>Thu, 07 Jun 2012 09:29:53 +0800</pubDate><description><![CDATA[Linux下更改MySQL的数据库目录
今天要在一台双线云主机上安装 MySQL 数据库，操作系统为 CentOS 5.8，因为该机安装的时候 / 分区只有20G，还有一个 
300G 的扩展磁盘分区挂载在 /disk ，因此需要将 MySQL 的数据库目录设置在 /disk/mysql ，下面是具体操作步骤。
 
操作系统：CentOS 5.8
MySQL 版本：5.5.25
目标：...]]></description><category></category></item></channel></rss>