<?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>猫言猫语 &#187; vps</title>
	<atom:link href="http://imcat.in/tag/vps/feed/" rel="self" type="application/rss+xml" />
	<link>http://imcat.in</link>
	<description>人的头脑太复杂,时间过得久,有时候连自己也被自己骗了,记下来才是最真实的……</description>
	<lastBuildDate>Sun, 06 May 2012 05:40:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>使用WinSCP连接到Linux</title>
		<link>http://imcat.in/use-winscp-connect-linux/</link>
		<comments>http://imcat.in/use-winscp-connect-linux/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 06:32:58 +0000</pubDate>
		<dc:creator>Cat.</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux VPS]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[WinSCP]]></category>

		<guid isPermaLink="false">http://imcat.in/?p=1369</guid>
		<description><![CDATA[（1）winscp简介 通过WinSCP可以编辑、删除VPS上的文件，和上传文件到VPS。 与FTP不同的是，FTP通过会限制在某一目录中，而使用root通过WinSCP登录后则可以操作系统中的所有文件。 WinSCP的不足之处在于，WinSCP使用SFTP协议进行连接，而通过该连接的通信内容全部是经过加密的，在保证了安全的同时，也降低了传输速度。 所以，通常在FTP操作不了的情况下，才需要使用WinSCP。 （2）安装winscp 首先需要下载该软件。可以到官方网站（http://winscp.net/eng/download.php）通过下载链接下载，也可以直接通过下面的链接进行下载。 http://cdnetworks-kr-1.dl.sourceforge.net/project/winscp/WinSCP/4.2.8/winscp428setup.exe 下载后运行安装程序开始安装。文中未提到的设置均默认即可。 选择中文 选择安装Notepad++ 选择Explorer界面 开始安装Notepad++ 同样选择中文 （3）使用winscp登录到vps 登录成功后将显示如下图中的界面。 （4）使用winscp编辑vps上的文本文件 这里以编辑/etc/php.ini为例演示通过WinSCP编辑文本文件的过程。 首先在目录中找到这个文件，右键单击，选择“编辑”。 开始下载文件，不需要进行操作。 结束编辑后，点击窗口的关闭按钮，并选择保存文件。 注意软件下方的子窗口将显示修改后的文件的上传进度。 （5）使用winscp上传文件到vps （6）使用winscp删除vps上的文件 在目录中找到要删除的文件，右键单击，点击删除。 暧味日志解决Linux中出现Too many open files (7)Linux命令tar压缩排除指定目录的方法 (0)iptables限制同一IP连接数 (4)Linux下替换文件名中的空格 (0)linux修改ssh端口和禁止root远程登陆设置 (5)]]></description>
			<content:encoded><![CDATA[<p><strong>（1）winscp简介</strong></p>
<p>通过WinSCP可以编辑、删除VPS上的文件，和上传文件到VPS。<br />
与FTP不同的是，FTP通过会限制在某一目录中，而使用root通过WinSCP登录后则可以操作系统中的所有文件。</p>
<p>WinSCP的不足之处在于，WinSCP使用SFTP协议进行连接，而通过该连接的通信内容全部是经过加密的，在保证了安全的同时，也降低了传输速度。<br />
所以，通常在FTP操作不了的情况下，才需要使用WinSCP。</p>
<p><strong>（2）安装winscp</strong></p>
<p>首先需要下载该软件。可以到官方网站（http://winscp.net/eng/download.php）通过下载链接下载，也可以直接通过下面的链接进行下载。</p>
<pre>http://cdnetworks-kr-1.dl.sourceforge.net/project/winscp/WinSCP/4.2.8/winscp428setup.exe</pre>
<p>下载后运行安装程序开始安装。文中未提到的设置均默认即可。</p>
<p><span id="more-1369"></span></p>
<p>选择中文<br />
<img src="/wp-content/uploads/2010/10/063006ASK.png" alt="063006ASK 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p>选择安装Notepad++<br />
<img src="/wp-content/uploads/2010/10/063007Tc6.png" alt="063007Tc6 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p>选择Explorer界面<br />
<img src="/wp-content/uploads/2010/10/063007Vll.png" alt="063007Vll 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p>开始安装Notepad++<br />
<img src="/wp-content/uploads/2010/10/063007jCe.png" alt="063007jCe 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p>同样选择中文<br />
<img src="/wp-content/uploads/2010/10/063007Ocw.png" alt="063007Ocw 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p><strong>（3）使用winscp登录到vps</strong></p>
<p><img src="/wp-content/uploads/2010/10/063007ZSx.png" alt="063007ZSx 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p><img src="/wp-content/uploads/2010/10/063007FmQ.png" alt="063007FmQ 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p><img src="/wp-content/uploads/2010/10/063007USx.png" alt="063007USx 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p><img src="/wp-content/uploads/2010/10/063007tCM.png" alt="063007tCM 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p>登录成功后将显示如下图中的界面。<br />
<img src="/wp-content/uploads/2010/10/0630076HS.png" alt="0630076HS 使用WinSCP连接到Linux" width="534" height="379" title="使用WinSCP连接到Linux" /></p>
<p><strong>（4）使用winscp编辑vps上的文本文件</strong></p>
<p>这里以编辑/etc/php.ini为例演示通过WinSCP编辑文本文件的过程。</p>
<p>首先在目录中找到这个文件，右键单击，选择“编辑”。<br />
<img src="/wp-content/uploads/2010/10/063008lWu.png" alt="063008lWu 使用WinSCP连接到Linux" width="534" height="379" title="使用WinSCP连接到Linux" /></p>
<p>开始下载文件，不需要进行操作。<br />
<img src="/wp-content/uploads/2010/10/063008dV9.png" alt="063008dV9 使用WinSCP连接到Linux"  title="使用WinSCP连接到Linux" /></p>
<p>结束编辑后，点击窗口的关闭按钮，并选择保存文件。<br />
<img src="/wp-content/uploads/2010/10/063008k8c.png" alt="063008k8c 使用WinSCP连接到Linux" width="534" height="379" title="使用WinSCP连接到Linux" /></p>
<p>注意软件下方的子窗口将显示修改后的文件的上传进度。<br />
<img src="/wp-content/uploads/2010/10/0630083uI.png" alt="0630083uI 使用WinSCP连接到Linux" width="534" height="379" title="使用WinSCP连接到Linux" /></p>
<p><strong>（5）使用winscp上传文件到vps</strong></p>
<p><img src="/wp-content/uploads/2010/10/063008fad.png" alt="063008fad 使用WinSCP连接到Linux" width="534" height="379" title="使用WinSCP连接到Linux" /></p>
<p>（6）使用winscp删除vps上的文件</p>
<p>在目录中找到要删除的文件，右键单击，点击删除。<br />
<img src="/wp-content/uploads/2010/10/063008Y05.png" alt="063008Y05 使用WinSCP连接到Linux" width="534" height="379" title="使用WinSCP连接到Linux" /></p>
<h2  class="related_post_title">暧味日志</h2><ul class="related_post"><li><a href="http://imcat.in/linux-too-open-files/" title="解决Linux中出现Too many open files">解决Linux中出现Too many open files</a> (7)</li><li><a href="http://imcat.in/linux-tar-exclude/" title="Linux命令tar压缩排除指定目录的方法">Linux命令tar压缩排除指定目录的方法</a> (0)</li><li><a href="http://imcat.in/iptables-limit-number-connections-same-ip/" title="iptables限制同一IP连接数">iptables限制同一IP连接数</a> (4)</li><li><a href="http://imcat.in/linux-replace-the-file-name-space/" title="Linux下替换文件名中的空格">Linux下替换文件名中的空格</a> (0)</li><li><a href="http://imcat.in/linux-change-root-ssh-remote-login-port-and-set-against/" title="linux修改ssh端口和禁止root远程登陆设置">linux修改ssh端口和禁止root远程登陆设置</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imcat.in/use-winscp-connect-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>解决Linux中出现Too many open files</title>
		<link>http://imcat.in/linux-too-open-files/</link>
		<comments>http://imcat.in/linux-too-open-files/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 21:29:05 +0000</pubDate>
		<dc:creator>Cat.</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Too many open files]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://imcat.in/%e8%a7%a3%e5%86%b3linux%e4%b8%ad%e5%87%ba%e7%8e%b0too-open-files/</guid>
		<description><![CDATA[前几天查看VPS的php-cgi和nginx的日志都出现Too many open files这样的错误,原因是file-max默认值（1024）太小了,要解决这个问题，只要更改file-max的大小就可以. 用ulimit修改了一下： ulimit -n 10240 这样就可以将打开文件数从1024提高到了10240,但重启了VPS,就会恢复默认大小了..要永久的改变file-max值,可以root身份执行下列命令 # echo &#34;10240&#34; &#160;&#38;gt; /proc/sys/fs/file-max &#160;# 适用于2.2和2.4版内核 # echo &#34;10240&#34; &#38;gt; /proc/sys/fs/inode-max # 仅适用于2.2版内核 或将下列内容放入 /etc/sysctl.conf，做永久性的更改： fs.file-max = 10240 &#160; # 适用于 2.2 和 2.4 版内核 fs.inode-max = 10240 # 仅适用于 2.2 版内核 最正确的做法是在/etc/security/limits.conf里设置： * hard nofile 65535 * soft nofile 65535 暧味日志使用WinSCP连接到Linux (4)Linux命令tar压缩排除指定目录的方法 (0)iptables限制同一IP连接数 (4)Linux下替换文件名中的空格 [...]]]></description>
			<content:encoded><![CDATA[<p>前几天查看VPS的php-cgi和nginx的日志都出现Too many open files这样的错误,原因是file-max默认值（1024）太小了,要解决这个问题，只要更改file-max的大小就可以.</p>
<p>用ulimit修改了一下：</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ulimit -n 10240</div></div>
<p>这样就可以将打开文件数从1024提高到了10240,但重启了VPS,就会恢复默认大小了..要永久的改变file-max值,可以root身份执行下列命令</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># echo &quot;10240&quot; &nbsp;&amp;gt; /proc/sys/fs/file-max &nbsp;# 适用于2.2和2.4版内核<br />
# echo &quot;10240&quot; &amp;gt; /proc/sys/fs/inode-max # 仅适用于2.2版内核</div></div>
<p>或将下列内容放入 /etc/sysctl.conf，做永久性的更改：</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">fs.file-max = 10240 &nbsp; # 适用于 2.2 和 2.4 版内核<br />
fs.inode-max = 10240 # 仅适用于 2.2 版内核</div></div>
<p><span style="color: #ff0000;">最正确的做法是在/etc/security/limits.conf里设置：</span></p>
<p><span style="font-family: 宋体;">* hard nofile 65535<br />
* soft nofile 65535</span></p>
<h2  class="related_post_title">暧味日志</h2><ul class="related_post"><li><a href="http://imcat.in/use-winscp-connect-linux/" title="使用WinSCP连接到Linux">使用WinSCP连接到Linux</a> (4)</li><li><a href="http://imcat.in/linux-tar-exclude/" title="Linux命令tar压缩排除指定目录的方法">Linux命令tar压缩排除指定目录的方法</a> (0)</li><li><a href="http://imcat.in/iptables-limit-number-connections-same-ip/" title="iptables限制同一IP连接数">iptables限制同一IP连接数</a> (4)</li><li><a href="http://imcat.in/linux-replace-the-file-name-space/" title="Linux下替换文件名中的空格">Linux下替换文件名中的空格</a> (0)</li><li><a href="http://imcat.in/linux-change-root-ssh-remote-login-port-and-set-against/" title="linux修改ssh端口和禁止root远程登陆设置">linux修改ssh端口和禁止root远程登陆设置</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imcat.in/linux-too-open-files/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>将博客搬到VPS</title>
		<link>http://imcat.in/blog-moved-vps/</link>
		<comments>http://imcat.in/blog-moved-vps/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 18:25:38 +0000</pubDate>
		<dc:creator>Cat.</dc:creator>
				<category><![CDATA[猫言猫语]]></category>
		<category><![CDATA[网络相关]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[搬家]]></category>

		<guid isPermaLink="false">http://www.maoxmao.com/%e5%b0%86%e5%8d%9a%e5%ae%a2%e6%90%ac%e5%88%b0vps/</guid>
		<description><![CDATA[最近南方电信都不知道出了什么问题,访问国外网站大多数都很慢,甚至还出现godaddy dns被屏蔽和name.com的DNS无端失效等情况,估计是相关部门给电信写了情书了.. 为了解决速度的问题,江东大哥选机房都选了两周.据我测试,洛杉矶,芝加哥,达拉斯几个机房速度都比较快. 我购买的这个VPS的机房就在芝加哥,广州电信访问速度比较快,不知道你们的访问我博客的速度如何? 配置为: 10 GB Raid Array Diskspace 200 GB of Premium Bandwidth 384 MB RAM / 768 Swap 2 IPs 搞了一天,终于安装好Nginx+MySQL+PHP+eAcelerator 探针在这里:http://imcat.in/php.php 大家帮我测试下,看看速度如何,还有有没有错误之类的. 暧味日志使用WinSCP连接到Linux (4)解决Linux中出现Too many open files (7)腾迅推出QQ空间搬家工具beta版 (0)]]></description>
			<content:encoded><![CDATA[<p>最近南方电信都不知道出了什么问题,访问国外网站大多数都很慢,甚至还出现godaddy dns被屏蔽和name.com的DNS无端失效等情况,估计是<strong>相关部门</strong>给电信写了情书了..</p>
<p>为了解决速度的问题,江东大哥<a href="http://www.storyday.com/html/y2009/2323_also-buy-a-reseller-hosting.html" target="_blank">选机房</a>都选了两周.据我测试,洛杉矶,芝加哥,达拉斯几个机房速度都比较快.</p>
<p>我购买的这个VPS的机房就在芝加哥,广州电信访问速度比较快,不知道你们的<span style="color: #ff0000;">访问我博客的速度如何?</span><br />
配置为:</p>
<ol>
<li> 10 GB Raid Array Diskspace</li>
<li> 200 GB of Premium Bandwidth</li>
<li> 384 MB RAM / 768 Swap</li>
<li> 2 IPs</li>
</ol>
<p>搞了一天,终于安装好Nginx+MySQL+PHP+eAcelerator</p>
<p>探针在这里:<a href="http://imcat.in/php.php">http://imcat.in/php.php</a></p>
<p>大家帮我测试下,看看速度如何,还有有没有错误之类的.</p>
<h2  class="related_post_title">暧味日志</h2><ul class="related_post"><li><a href="http://imcat.in/use-winscp-connect-linux/" title="使用WinSCP连接到Linux">使用WinSCP连接到Linux</a> (4)</li><li><a href="http://imcat.in/linux-too-open-files/" title="解决Linux中出现Too many open files">解决Linux中出现Too many open files</a> (7)</li><li><a href="http://imcat.in/proton-launched-qq-space-to-move-fast-tool-beta/" title="腾迅推出QQ空间搬家工具beta版">腾迅推出QQ空间搬家工具beta版</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://imcat.in/blog-moved-vps/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
	</channel>
</rss>

