<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thisme 移动大脑</title>
	<atom:link href="http://www.thisme.biz/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thisme.biz</link>
	<description>Magento 模板开发 &#124; Magento 功能开发 &#124; Linux 服务器运维 ----联系QQ: 1345589408</description>
	<lastBuildDate>Wed, 15 Feb 2012 03:39:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>linux iptables 开启21 20端口, ftp 连接不上</title>
		<link>http://www.thisme.biz/iptables-20-21-ftp</link>
		<comments>http://www.thisme.biz/iptables-20-21-ftp#comments</comments>
		<pubDate>Wed, 15 Feb 2012 03:25:04 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[linux 技术]]></category>
		<category><![CDATA[系统运维]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=536</guid>
		<description><![CDATA[iptables会自上而下的对比规则﹐找到符合的就不再往下找了。根据这样的特性﹐我们可以将 NAT 外部界面进入的某些联机﹐在那行 syn 过滤规则之前 ACCEPT 进来。
iptables -A INPUT -m state &#8211;state NEW,ESTABLISHED,RELATED -j ACCEPT这条命令可以解决问题， 只开了20 21 是没用的，要是连被动的ftp服务器，边上21后，服务器端是随机端口和你的连接的，,ESTABLISHED,RELATED -j ACCEPT 可以解决此问题 
]]></description>
		<wfw:commentRss>http://www.thisme.biz/iptables-20-21-ftp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Use IE chrome don&#8217;t shopping</title>
		<link>http://www.thisme.biz/magento-use-ie-chrome-dont-shopping</link>
		<comments>http://www.thisme.biz/magento-use-ie-chrome-dont-shopping#comments</comments>
		<pubDate>Tue, 10 Jan 2012 05:39:13 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[Magento 专栏]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=534</guid>
		<description><![CDATA[This is a typical symptom of session management failure for several browsers. There are two things to solve this issue:
1. Tune up &#8220;Session Validation Settings&#8221;
login to your Magento Admin Panel => System => Configuration => Web => Session Validation Settings and turn everything off. These can cause total failure in the instance of any transparent [...]]]></description>
		<wfw:commentRss>http://www.thisme.biz/magento-use-ie-chrome-dont-shopping/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Magento的CMS Page 中调用图片和url</title>
		<link>http://www.thisme.biz/magento-cms-page-url-img</link>
		<comments>http://www.thisme.biz/magento-cms-page-url-img#comments</comments>
		<pubDate>Wed, 04 Jan 2012 09:18:48 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[Magento 专栏]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=531</guid>
		<description><![CDATA[在代码中调用图片和url是很简单的事， 但到CMS Page 中用phtml文件中的调用方法就不行了
我们需要使用几个参数来调用url和路径， 使用绝对地址可能到网站换域名的时候造成麻烦
1，CMS调用网站的Url  调用的是youdomain/about-us

?View Code TEXT1
&#60;a href=&#34;{{store direct_url=&#34;about-us&#34;}}&#34;&#62;About Us&#60;/a&#62;

2, 调用图片

?View Code TEXT1
&#60;img src=&#34;{{skin url='images/thisme.jpg'}}&#34; /&#62;

调用的是使用模板下images目录下的图片
]]></description>
		<wfw:commentRss>http://www.thisme.biz/magento-cms-page-url-img/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cisco asa 5500 系列 NAT 配置</title>
		<link>http://www.thisme.biz/cisco-asa-5500-nat-configure</link>
		<comments>http://www.thisme.biz/cisco-asa-5500-nat-configure#comments</comments>
		<pubDate>Fri, 30 Dec 2011 02:40:33 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[安全专区]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=529</guid>
		<description><![CDATA[cisco asa 5500 版本升级到8.3 以后， nat 命令就有所不同了， 主要看官方的文档可以看出来的， 下面就直接用官方的tem来写了， 非常的简单

?View Code TEXT1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
The following example configures static NAT for the real host 10.1.1.1 on the inside to 10.2.2.2 on the outside with DNS rewrite enabled.
&#160;
hostname(config)# object network my-host-obj1
&#160;
hostname(config-network-object)# host 10.1.1.1
&#160;
hostname(config-network-object)# nat (inside,outside) static 10.2.2.2 dns
&#160;
&#160;
The following example configures static NAT for the real host 10.1.1.1 on [...]]]></description>
		<wfw:commentRss>http://www.thisme.biz/cisco-asa-5500-nat-configure/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5 安装配置 Socks5 服务</title>
		<link>http://www.thisme.biz/centos-5-configure-install-socks5</link>
		<comments>http://www.thisme.biz/centos-5-configure-install-socks5#comments</comments>
		<pubDate>Thu, 29 Dec 2011 02:09:21 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[人生随想]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=525</guid>
		<description><![CDATA[1. 配置 Socks5 编译环境

?View Code TEXT1
2
yum -y install gcc automake autoconf libtool make
yum -y install gcc gcc-c++ bison patch unzip mlocate flex wget automake autoconf gd cpp gettext readline-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel libidn libidn-devel openldap openldap-devel [...]]]></description>
		<wfw:commentRss>http://www.thisme.biz/centos-5-configure-install-socks5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql V5.5 编译安装</title>
		<link>http://www.thisme.biz/mysql-v5-config-install</link>
		<comments>http://www.thisme.biz/mysql-v5-config-install#comments</comments>
		<pubDate>Mon, 19 Dec 2011 02:10:04 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[mysql 技术]]></category>
		<category><![CDATA[系统运维]]></category>
		<category><![CDATA[Mysql V5 编译安装]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=523</guid>
		<description><![CDATA[一，安装编译工具
yum install -y gcc gcc-c++ ncurses-devel
二， 下载软件
wget http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz
wget http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.15.tar.gz
三， mysql 安装需要cmake编译， 安装cmake

?View Code TEXT1
2
3
4
5
tar zxvf cmake-2.8.4.tar.gz
cd cmake-2.8.4
./bootstrap
make
make install

四， 安装mysql

?View Code TEXT1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/usr/sbin/groupadd mysql
/usr/sbin/useradd -g mysql mysql
cd /tmp
tar xvf mysql-5.5.15.tar.gz
cd mysql-5.5.15/
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
-DMYSQL_UNIX_ADDR=/usr/local/mysql/tmp/mysql.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DWITH_EXTRA_CHARSETS:STRING=utf8,gbk,gb2312 \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DWITH_READLINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DMYSQL_DATADIR=/var/mysql/data \
&#160;
make
make install

五， 一些相关配置
chmod +w /usr/local/mysql
chown -R mysql:mysql /usr/local/mysql
ln -s /usr/local/mysql/lib/libmysqlclient.so.16 /usr/lib64/libmysqlclient.so.16
mkdir -p /var/mysql/
mkdir -p /var/mysql/data/
mkdir [...]]]></description>
		<wfw:commentRss>http://www.thisme.biz/mysql-v5-config-install/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Centos 查看CPU信息、机器型号等硬件信息</title>
		<link>http://www.thisme.biz/linux-centos-cpu-info</link>
		<comments>http://www.thisme.biz/linux-centos-cpu-info#comments</comments>
		<pubDate>Mon, 12 Dec 2011 08:37:42 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[linux 技术]]></category>
		<category><![CDATA[系统运维]]></category>
		<category><![CDATA[Linux Centos 查看CPU信息、机器型号等硬件信息]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=521</guid>
		<description><![CDATA[做性能测试需要记录性能测试机器的硬件信息，现将需要的命令总结如下：
查看CPU信息（型号）
# cat /proc/cpuinfo &#124; grep name &#124; cut -f2 -d: &#124; uniq -c
      8  Intel(R) Xeon(R) CPU            E5410   @ 2.33GHz
(看到有8个逻辑CPU, 也知道了CPU型号)
# cat /proc/cpuinfo &#124; grep physical &#124; uniq -c
      4 physical [...]]]></description>
		<wfw:commentRss>http://www.thisme.biz/linux-centos-cpu-info/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php编译时 出现configure: error: libjpeg.(a&#124;so) not found 错误的解决办法</title>
		<link>http://www.thisme.biz/php-configure-error-libjpeg-aso-not-found</link>
		<comments>http://www.thisme.biz/php-configure-error-libjpeg-aso-not-found#comments</comments>
		<pubDate>Tue, 06 Dec 2011 01:44:46 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[linux 技术]]></category>
		<category><![CDATA[系统运维]]></category>
		<category><![CDATA[php编译时 出现configure: error: libjpeg.(a|so) not found 错误的解决办法]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=519</guid>
		<description><![CDATA[在centos 6系统下编译安装PHP时，有以下错误， centos 5 好像没有

?View Code TEXT1
configure: error: libjpeg.(a&#124;so) not found


?View Code TEXT1
locate libjpeg.so

locate之后发现已经安装了libjpeg了，但是在/usr/lib目录下没有libjpeg.so这个文件，在/usr/lib64下是有的，虽然使用–with-jpeg-dir=/usr/lib64 依然无效，最后用

?View Code TEXT1
ln -s /usr/lib64/libjpeg.so /usr/lib/libjpeg.so

问题解决， libpng 报的错误解决方法一样
]]></description>
		<wfw:commentRss>http://www.thisme.biz/php-configure-error-libjpeg-aso-not-found/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php 编辑错误 error: Cannot find OpenSSL&#8217;s</title>
		<link>http://www.thisme.biz/php-error-cannot-find-openssls</link>
		<comments>http://www.thisme.biz/php-error-cannot-find-openssls#comments</comments>
		<pubDate>Mon, 05 Dec 2011 10:24:18 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[linux 技术]]></category>
		<category><![CDATA[系统运维]]></category>
		<category><![CDATA[php 编辑错误 error: Cannot find OpenSSL's]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=516</guid>
		<description><![CDATA[php 编辑安装时报的错误， 从错误上看应该时缺少关系包, 这个很容易解决的， 直接yum 安装
yum install openssl openssl-devel
在编辑安装php， 并会发现这个问题已经不会出现了。。
]]></description>
		<wfw:commentRss>http://www.thisme.biz/php-error-cannot-find-openssls/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash 判断多个有规律的文件，并删除</title>
		<link>http://www.thisme.biz/bash-exists-file</link>
		<comments>http://www.thisme.biz/bash-exists-file#comments</comments>
		<pubDate>Fri, 02 Dec 2011 09:25:54 +0000</pubDate>
		<dc:creator>泡沫</dc:creator>
				<category><![CDATA[linux 技术]]></category>
		<category><![CDATA[系统运维]]></category>
		<category><![CDATA[bash 判断多个有规律的文件]]></category>

		<guid isPermaLink="false">http://www.thisme.biz/?p=514</guid>
		<description><![CDATA[服务器上一个web网站可能是程序出了问题， 到网站目录下产生大量的临时文件， 确没有找出什么问题， 看着文件碍眼， 写了一个脚本，把文件给删除了
1， 用if -e 的方法来判断多个文件是会报错的&#8230;..
下面直接上方法。。。。

?View Code TEXT1
2
3
4
5
6
#!/bin/bash
filepath=/xxx/xxx/xxx
FILES=$(ls $filepath/cookie* 2&#62;/dev/null)
if [ &#34;$FILES&#34; ]; then
   find $filepath -name &#34;cookie*&#34;&#124; xargs /bin/rm
fi

还有另一种方法，

?View Code TEXT1
2
3
4
5
6
7
 exists_pattern_files(){  
    [ -e &#34;$1&#34; ]  
}  
&#160;
         if exists_pattern_files $filepath/*_codec.*; then  
  [...]]]></description>
		<wfw:commentRss>http://www.thisme.biz/bash-exists-file/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

