<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Server on Foam 的博客</title>
    <link>https://blog.foamzou.com/tags/server/</link>
    <description>Recent content in Server on Foam 的博客</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 01 Apr 2015 17:35:30 +0800</lastBuildDate>
    <atom:link href="https://blog.foamzou.com/tags/server/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>在Namecheap解析邮箱</title>
      <link>https://blog.foamzou.com/posts/%E5%9C%A8namecheap%E8%A7%A3%E6%9E%90%E9%82%AE%E7%AE%B1/</link>
      <pubDate>Wed, 01 Apr 2015 17:35:30 +0800</pubDate>
      <guid>https://blog.foamzou.com/posts/%E5%9C%A8namecheap%E8%A7%A3%E6%9E%90%E9%82%AE%E7%AE%B1/</guid>
      <description>&lt;p&gt;我是一个游游荡荡，经常被互联网上的各种链接引得跳来跳去的人。今天的引导流是这样的： 学习PHP的PDO -&amp;gt; 到博客写个相关的技术文章 -&amp;gt; WP后台再次注意到可以升级版本 -&amp;gt;先去万网备份数据 -&amp;gt;万网首页再次看到关于企业邮箱的注册 -&amp;gt;注册时，要让指定的域名解析MX和其他记录到万网邮箱 -&amp;gt; 前往Namecheap Ok，以上就是我今天的时光流。 话说到我登录了Namecheap，看到如往常一样龊的管理面板。但在记录解析处没有看到MX类型，百度之，看到某网友在11年也遇到类似我的问题，是在线和客服解决的。哥不要搜索引擎了，哥就是要和在线客服用我的烂渣英文对话！！！于是就有了本文最下面的谈话记录。 不墨迹了，说正事。首先找到你的域名管理面板。你会找到你熟悉的解析面板 &lt;a href=&#34;2.png&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://blog.foamzou.com/posts/%E5%9C%A8namecheap%E8%A7%A3%E6%9E%90%E9%82%AE%E7%AE%B1/2.png&#34;&gt;&lt;/a&gt; 然而。MAIL SETTINGS就在下面的地方。 选择 User (Mail Server&amp;rsquo;s Host Name Required) 下面的 I will specify my own MX records。然后保存就会出现下面的填写表单了。 &lt;a href=&#34;1.png&#34;&gt;&lt;img alt=&#34;1&#34; loading=&#34;lazy&#34; src=&#34;https://blog.foamzou.com/posts/%E5%9C%A8namecheap%E8%A7%A3%E6%9E%90%E9%82%AE%E7%AE%B1/1.png&#34;&gt;&lt;/a&gt;   附上我的烂E文对白~~ Your Question: Where is the domain MX RECORD，I can&amp;rsquo;t find this.Thx in advance Please wait, an operator will be with you shortly. You are now chatting with Alexandra Kr. - Domains Support 16:36Alexandra Kr.:Hello Foam! Thank you for contacting our Live Chat Support! Would you please provide me with the domain name? 16:36foam chou:zoufeng.me 16:36Alexandra Kr.:Thank you for the provided information. Please hold on. 16:36foam chou:ok 16:37Alexandra Kr.:As far as I see, your domain has the following MX records: 16:37Alexandra Kr.:zoufeng.me. 1800 IN MX 10 mx1.privateemail.com. zoufeng.me. 1800 IN MX 10 mx2.privateemail.com. 16:38foam chou:I wanna modify this 16:39foam chou:because I start the service of private mail by mistake,just now 16:39foam chou:how can I close the service of private mail? 16:40Alexandra Kr.:Please hold on, Foam. 16:42Alexandra Kr.:In order to set your custom MX records, you need to refer to the following article &amp;ndash;&lt;a href=&#34;https://www.namecheap.com/support/knowledgebase/article.aspx/322/78/how-can-i-setup-mx-record-for-my-domain&#34;&gt;https://www.namecheap.com/support/knowledgebase/article.aspx/322/78/how-can-i-setup-mx-record-for-my-domain&lt;/a&gt; 16:42Alexandra Kr.:As for private email, do you want to cancel it or you use a free trial private email? 16:43foam chou:I want to cancel it 16:44foam chou:Can I use the private mail by othername.zoufeng.me rather mail.zoufeng.me ? 16:44Alexandra Kr.:Please let me transfer our chat session to our Hosting department for further assistance. 16:45foam chou:OK Eugene St. has joined the conversation. 16:45Eugene St.:Hello, I will assist you further 16:45Eugene St.:Please give me a few minutes to check your previous conversation. Alexandra Kr. has left the conversation. 16:45foam chou:Thx for your coming 16:47Eugene St.:Thank you for your patience 16:49Eugene St.:So, as I understand you would like to remove Private Email MX records and moreover cancel the subscription, am I right? 16:49foam chou:Yes 16:50Eugene St.:Ler me verify your account ownership before I can cancel the subscription 16:50Eugene St.:Please provide me with your Namecheap username and your Support PIN. You can find it here: &lt;a href=&#34;https://manage.www.namecheap.com/myaccount/modify-profile-supportsettings.aspx&#34;&gt;https://manage.www.namecheap.com/myaccount/modify-profile-supportsettings.aspx&lt;/a&gt; 16:50foam chou:select the radio &amp;ldquo;User (Mail Server&amp;rsquo;s Host Name Required) &amp;ldquo;,right? 16:51Eugene St.:Would you like to set different MX records? 16:52foam chou:yes,I wanna transer it to other mail server 16:53Eugene St.:In this case please select I will specify my own MX records radio button 16:53Eugene St.:Also, please provide the verification details so I can cancel the subscription 16:54foam chou:I want to what is the subscription?private mail? 16:54foam chou:I want to know what is the subscription?private mail? 16:57Eugene St.:Yes, email account created with Private Email service is called subscription 16:58foam chou:My Support Pin is 3298 16:59foam chou:my username is foam 17:00Eugene St.:Thank you, please give me 5-7 minutes to cancel the subscription 17:00foam chou:Okay 17:01Eugene St.:The subscription has been canceled. 17:01Eugene St.:The subscription has been canceled. 17:01Eugene St.:The subscription has been canceled. 17:01Eugene St.:The subscription has been canceled. 17:03foam chou:thx for your help :)&lt;/p&gt;</description>
    </item>
    <item>
      <title>lnmp、lamp、lnmpa一键安装包</title>
      <link>https://blog.foamzou.com/posts/lnmp-lamp-lnmpa-install-by-one-press/</link>
      <pubDate>Sat, 21 Mar 2015 16:38:16 +0800</pubDate>
      <guid>https://blog.foamzou.com/posts/lnmp-lamp-lnmpa-install-by-one-press/</guid>
      <description>&lt;p&gt;最近在DO买了个VPS。这个安装包不错，不需要重复造轮子，可以专心做自己的事了。 注：本文转自&lt;a href=&#34;http://blog.linuxeye.com/31.html&#34;&gt;Linux运维笔记&lt;/a&gt; 这个脚本是使用shell编写，为了快速在生产环境上部署&lt;a href=&#34;http://blog.linuxeye.com/31.html&#34;&gt;LNMP&lt;/a&gt;/&lt;a href=&#34;http://blog.linuxeye.com/82.html&#34;&gt;LAMP&lt;/a&gt;/LANMP（&lt;a href=&#34;http://www.linuxeye.com/&#34;&gt;Linux&lt;/a&gt;、&lt;a href=&#34;http://blog.linuxeye.com/tag/Nginx&#34;&gt;Nginx&lt;/a&gt;/Tengine、&lt;a href=&#34;http://blog.linuxeye.com/tag/mysql&#34;&gt;MySQL&lt;/a&gt; /&lt;a href=&#34;http://blog.linuxeye.com/tag/mariadb&#34;&gt;MariaDB&lt;/a&gt;/&lt;a href=&#34;http://blog.linuxeye.com/359.html&#34;&gt;Percona&lt;/a&gt;、PHP）,适用于CentOS/Redhat 5+、Debain 6+和Ubuntu 12+ &lt;strong&gt;脚本特性：&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;持续不断更新&lt;/li&gt;
&lt;li&gt;源码编译安装，大多数源码是最新stable版，并从官方网址下载&lt;/li&gt;
&lt;li&gt;一些安全优化&lt;/li&gt;
&lt;li&gt;提供多个数据库版本(MySQL-5.6, MySQL-5.5, MariaDB-10.0, MariaDB-5.5, Percona-5.6, Percona-5.5)&lt;/li&gt;
&lt;li&gt;提供多个PHP版本(php-5.3, php-5.4, php-5.5,php-5.6,php-7/phpng(alpha))&lt;/li&gt;
&lt;li&gt;提供&lt;a href=&#34;http://blog.linuxeye.com/tag/Nginx&#34;&gt;Nginx&lt;/a&gt;、Tengine&lt;/li&gt;
&lt;li&gt;提供多个&lt;a href=&#34;http://blog.linuxeye.com/tag/apache&#34;&gt;Apache&lt;/a&gt;版本（&lt;a href=&#34;http://blog.linuxeye.com/tag/apache&#34;&gt;Apache&lt;/a&gt;-2.4，&lt;a href=&#34;http://blog.linuxeye.com/tag/apache&#34;&gt;Apache&lt;/a&gt;-2.2）&lt;/li&gt;
&lt;li&gt;根据自己需求安装PHP缓存加速器，提供ZendOPcache、xcache、apcu、eAccelerator、ionCube和ZendGuardLoader（php-5.4、php-5.3 PHP源码加密）&lt;/li&gt;
&lt;li&gt;根据自己需求安装&lt;a href=&#34;http://blog.linuxeye.com/tag/Pureftpd&#34;&gt;Pureftpd&lt;/a&gt;、phpMyAdmin&lt;/li&gt;
&lt;li&gt;根据自己需求安装memcached、&lt;a href=&#34;http://blog.linuxeye.com/tag/redis&#34;&gt;redis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;根据自己需求可使用tcmalloc或者&lt;a href=&#34;http://blog.linuxeye.com/356.html&#34;&gt;jemalloc&lt;/a&gt;优化MySQL、Nginx&lt;/li&gt;
&lt;li&gt;提供添加虚拟主机脚本&lt;/li&gt;
&lt;li&gt;提供Nginx/Tengine、PHP、Redis、phpMyAdmin升级脚本&lt;/li&gt;
&lt;li&gt;提供本地备份和远程备份（服务器之间rsync）脚本&lt;/li&gt;
&lt;li&gt;提供CentOS 6/7下HHVM安装**#news**&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Github地址：&lt;a href=&#34;https://github.com/lj2007331/lnmp&#34;&gt;https://github.com/lj2007331/lnmp&lt;/a&gt; &lt;a href=&#34;http://blog.linuxeye.com/31.html&#34;&gt;LNMP&lt;/a&gt;问题反馈论坛：&lt;a href=&#34;http://bbs.linuxeye.com/&#34;&gt;http://bbs.linuxeye.com&lt;/a&gt; &lt;a href=&#34;http://blog.linuxeye.com/31.html&#34;&gt;LNMP&lt;/a&gt;最新源码一键安装脚本问题反馈请加QQ群： &lt;strong&gt;235258658&lt;/strong&gt; &lt;strong&gt;安装步骤：&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-php&#34; data-lang=&#34;php&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;yum&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;y&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;install&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;wget&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;screen&lt;/span&gt; &lt;span class=&#34;c1&#34;&gt;#for CentOS/Redhat
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;#apt-get -y install wget screen # for Debian/Ubuntu
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-php&#34; data-lang=&#34;php&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;wget&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;http&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;://&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;linuxeye&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;oss&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;cn&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;hangzhou&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;internal&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;aliyuncs&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;com&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;lnmp&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;lnmp&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;full&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;tar&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;gz &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#阿里云内网下载地址（包含源码） 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;wget&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;http&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;://&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;mirrors&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;linuxeye&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;com&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;lnmp&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;full&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;tar&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;gz &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;# 国内下载地址（包含源码） 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;wget&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;http&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;://&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;downloads&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;linuxeye&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;com&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;lnmp&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;full&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;tar&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;gz &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;# 美国下载地址（包含源码） 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;wget&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;http&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;://&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;downloads&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;linuxeye&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;com&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;/&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;lnmp&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;tar&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;gz &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;# 仅脚本源码，建议国外主机下载此包，源码包从官方站点下载
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-php&#34; data-lang=&#34;php&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;tar&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;xzf&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;lnmp&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;full&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;tar&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;gz &lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;#tar xzf lnmp.tar.gz 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;cd&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;lnmp &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;# 如果需要修改目录(安装、数据存储、Nginx日志)，请修改options.conf文件
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-php&#34; data-lang=&#34;php&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;screen&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;S&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;lnmp &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;# 如果网路出现中断，可以执行命令`screen -r lnmp`重新连接安装窗口 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;./&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;install&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;sh &lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;# 请勿sh install.sh或者bash install.sh这样执行
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;添加虚拟主机&lt;/strong&gt;**:**&lt;/p&gt;</description>
    </item>
    <item>
      <title>putty超时问题</title>
      <link>https://blog.foamzou.com/posts/putty%E8%B6%85%E6%97%B6%E9%97%AE%E9%A2%98/</link>
      <pubDate>Wed, 03 Dec 2014 11:18:29 +0800</pubDate>
      <guid>https://blog.foamzou.com/posts/putty%E8%B6%85%E6%97%B6%E9%97%AE%E9%A2%98/</guid>
      <description>&lt;p&gt;直接在服务器端修改： 修改server端的sshd_config文件&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;vi etc/ssh/sshd_config
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ClientAliveInterval &lt;span class=&#34;m&#34;&gt;60&lt;/span&gt; ＃server 每隔60秒发送一次请求给client，然后client响应，从而保持连接。
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ClientAliveCountMax &lt;span class=&#34;m&#34;&gt;3&lt;/span&gt; ＃server 发出请求后，客户端超过3次未响应，就断开。
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;然后还是会超时，最后悲剧地发现，忘记重启sshd了。&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/etc/init.d/sshd restart
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Ok，跟超时说88。 ============2015-03-18=========== 在DO买了个Vistual Server .安装的是CentOS7 64bit 上面的路径出不来了。用的是下面的命令&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;[&lt;/span&gt;root@foam /&lt;span class=&#34;o&#34;&gt;]&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;# service sshd restart&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Redirecting to /bin/systemctl restart sshd.service
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
