<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Everyday NetLog]]></title> 
<link>https://blog.zhoz.com/index.php</link> 
<description><![CDATA[z-NetLog]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Everyday NetLog]]></copyright>
<item>
<link>https://blog.zhoz.com/read.php?809</link>
<title><![CDATA[Rocky Linux]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Thu, 09 Mar 2023 05:59:19 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?809</guid> 
<description>
<![CDATA[ 
	Rocky Linux旨在成为一个使用红帽企业Linux（RHEL）操作系统源代码的完整的下游二进制兼容版本。该项目旨在提供一个由社区支持且可用于生产的企业操作系统。Rocky Linux、Red Hat Enterprise Linux以及SUSE Linux Enterprise，已经成为企业操作系统使用的热门选择。<br/>Rocky Linux的首个候选版本发布于2021年4月30日，首个正式版本发布于2021年6月21日。Rocky Linux 8将提供支持至2029年5月。<br/>Rocky Linux计划在CentOS 8寿命结束前发布CentOS的替代品。其也将能在x86-64和基于ARM的处理器上运行，CentOS用户只需运行一个命令就能将他们的操作系统转换为Rocky Linux。<br/>2020年12月8日，红帽公司宣布，他们将停止开发CentOS，而在此之前CentOS一直作为红帽企业Linux的生产型分支及下游版本，此后他们将转而开发该操作系统的一个更新的上游开发变种，即 “CentOS Stream”。为此，CentOS的创始人Gregory Kurtzer宣布，他将重新启动一个项目，以实现CentOS的原始目标。该名字来源于CentOS早期的联合创始人Rocky McGaugh。在发布后两天内Rocky Linux已经在GitHub上获得了超过两千六百个点赞，而至12月12日，根据GitHub趋势功能显示该项目已成为GitHub上最热门的仓库。<br/><br/>2020年12月22日，RokyLinux的社区管理员Jordan Pisaniello宣布目标将在2021年3月至5月之间发布初始版本。2021年1月20日，宣布将在2月底前向公众提供测试储存库，并在2021年3月底发布候选版本。但是发布日期在这之后宣布延迟，直到2021年4月30日，首个候选版本才正式发布。[17]2021年6月4日，宣布8.4版作为第二个候选版本，这也是稳定版之前的最后一个版本。[18]2021年6月21日，Rocky Linux 8.4的稳定版发布，代号为“Green Obsidian”。<br/><a href="https://blog.zhoz.com/attachment.php?fid=185" target="_blank"><img src="https://blog.zhoz.com/attachment.php?fid=185" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/><style><br/>.insertimage&#123;width="80%"&#125;<br/></style><br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=%25E7%25A8%258B%25E5%25BA%258F%25E5%25AE%2589%25E8%25A3%2585" rel="tag">程序安装</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E8%25B0%2583%25E7%25A0%2594%25E6%258A%25A5%25E5%2591%258A" rel="tag">调研报告</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E4%25B8%25BB%25E6%259C%25BA%25E9%2585%258D%25E7%25BD%25AE" rel="tag">主机配置</a> , <a href="https://blog.zhoz.com/tag.php?tag=unix%252Clinux" rel="tag">unix,linux</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?781</link>
<title><![CDATA[关于eclipse svn及相关插件升级]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Tue, 10 Apr 2018 11:14:03 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?781</guid> 
<description>
<![CDATA[ 
	clipse SDK<br/><br/>Version: Oxygen.3 (4.7.3)<br/>Build id: M20180301-0715<br/>https://www.eclipse.org/downloads/<br/><br/>jre:<br/>http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html<br/><br/>在Eclipse中在线安装插件<br/><br/>（1）打开eclipse -> Help ->Install New Software选项，点击Add按钮。根据需要，填写插件的Name和Location（在线下载链接地址），点击OK按钮；<br/>（2）点击Select All按钮，全选后点击Next按钮；<br/>（3）点击Next按钮；<br/>（4）选中接受License复选框，点击Finish按钮，开始安装，等待结束即完成安装；<br/><br/>另外一种，就是直接下载把jar包直接放到eclipse&#92;plugins下，重启Eclipse，插件安装完成。<br/><br/>1、安装SVN<br/>（1）填入地址<br/>https://dl.bintray.com/subclipse/releases/subclipse/latest/（此地址在网页访问无效）<br/>点击OK > 显示 pending ... > 加载出列表后选择 Select All<br/><br/>2、php插件<br/>Help下的“Instal New Software”。然后在Work with中选择“--All Available Sites--”。由于要搜索，故需耐心等待，最后：<br/>选择web开发相关的软件，在其中找到PHP Development Tools (PDT)软件。勾选，点击Next。<br/><br/>3、jstyle<br/>http://mergedoc.osdn.jp/<br/>下载后放plugins下，重启。<br/><br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=%25E9%25A1%25B9%25E7%259B%25AE%25E7%25AE%25A1%25E7%2590%2586" rel="tag">项目管理</a> , <a href="https://blog.zhoz.com/tag.php?tag=eclipse" rel="tag">eclipse</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E8%25BD%25AF%25E4%25BB%25B6%25E6%25B5%258B%25E8%25AF%2595" rel="tag">软件测试</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E5%25A4%2596%25E5%258C%2585%25E5%25BC%2580%25E5%258F%2591" rel="tag">外包开发</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?780</link>
<title><![CDATA[推荐一下：win10 桌面便签 Sticky Notes]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Wed, 27 Dec 2017 04:11:57 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?780</guid> 
<description>
<![CDATA[ 
	工作比较多，想列个优先顺序制作个桌面tips方便查看。<br/>网上找了一下，不是兼容性不好，就是插件太多。<br/>windows10正式版系统自带了便签贴功能，即Sticky Notes<br/>在开始菜单中，找到Sticky Notes；<br/>在编辑框内右击鼠标，可以调出快捷菜单，可以根据需要调节不同便利贴的背景色。<br/>多个便签等。删除时，好像不可以恢复。这个要慎重使用。<br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=%25E8%25B0%2583%25E7%25A0%2594%25E6%258A%25A5%25E5%2591%258A" rel="tag">调研报告</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E6%258E%25A7%25E4%25BB%25B6" rel="tag">控件</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E8%25BD%25AF%25E4%25BB%25B6%25E6%25B5%258B%25E8%25AF%2595" rel="tag">软件测试</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E6%2595%2588%25E7%258E%2587%25E4%25BC%2598%25E5%258C%2596" rel="tag">效率优化</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?778</link>
<title><![CDATA[负载均衡http自动转https的实现方法]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Fri, 01 Sep 2017 06:20:16 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?778</guid> 
<description>
<![CDATA[ 
	通常，http自动转https的实现方法有两种全局方式<br/>1、修改Apache<br/>2、修改.htaccess<br/>原理一样，2--5行：<br/>&nbsp;&nbsp;&nbsp;&nbsp;ServerName zhoz.com<br/># SSL<br/>RewriteEngine On<br/>RewriteCond %&#123;SERVER_PORT&#125; !^443$<br/>RewriteRule ^.*$ https://%&#123;SERVER_NAME&#125;%&#123;REQUEST_URI&#125; [L,R]<br/>&nbsp;&nbsp;&nbsp;&nbsp;<Directory "/home/zhoz/public_html"><br/><br/>但遇到了负载均衡服务器时，由于服务器间是通过http方式访问的，所以以上方式判断不了。<br/>用Js直接读取来处理，代码如下：<br/><br/><div class="code"><br/>&lt;script type=&quot;text/javascript&quot;&gt;<br/>&nbsp;&nbsp;var url = window.location.href;<br/>&nbsp;&nbsp;if (url.indexOf(&quot;https&quot;) &lt; 0) &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;url = url.replace(&quot;http:&quot;, &quot;https:&quot;);<br/>&nbsp;&nbsp;&nbsp;&nbsp;window.location.replace(url);<br/>&nbsp;&nbsp;&#125;<br/>&lt;/script&gt;<br/></div><br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=js" rel="tag">js</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E4%25B8%25BB%25E6%259C%25BA%25E9%2585%258D%25E7%25BD%25AE" rel="tag">主机配置</a> , <a href="https://blog.zhoz.com/tag.php?tag=unix%252Clinux" rel="tag">unix,linux</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E7%25BD%2591%25E7%25BB%259C%25E5%258D%258F%25E8%25AE%25AE" rel="tag">网络协议</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?777</link>
<title><![CDATA[解决Skype群组会话不能收发消息的问题]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Wed, 08 Jun 2016 05:48:57 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?777</guid> 
<description>
<![CDATA[ 
	Skype好像是点对点通信结构，也就是说发的消息必需群中有其他人，才能正常发送成功。<br/>否则，就会出现一直在发送中的状态。<br/>上次遇到了更严重的情况，收、发都不行了。退出会议室都操作不了。<br/>解决方法：关闭Skype<br/>运行： %APPDATA%&#92;Skype <br/>删除：shared.xml 文件启动<br/><br/> Skypeを終了する<br/>&nbsp;&nbsp;&nbsp;&nbsp;Windowsキー + Rキーを押す<br/>&nbsp;&nbsp;&nbsp;&nbsp;%APPDATA%&#92;Skypeと入力しEnterを押す<br/>&nbsp;&nbsp;&nbsp;&nbsp;shared.xmlをリネームまたは削除する<br/>&nbsp;&nbsp;&nbsp;&nbsp;Skypeを起動する<br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=%25E7%25B3%25BB%25E7%25BB%259F%25E9%2594%2599%25E8%25AF%25AF" rel="tag">系统错误</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?775</link>
<title><![CDATA[Fatal error: Class ZipArchive not found在Unix/Linux下的解决办法]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Wed, 24 Feb 2016 11:19:00 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?775</guid> 
<description>
<![CDATA[ 
	Fatal error: Class 'ZipArchive' not found在Unix/Linux下的解决办法:<br/><br/>1、在Linux下没有php_zip.dll这个文件(有也不会起作用的),所以需要重新编译一下php的zip模块。具体安装方法如下:<br/><br/>cd /usr/src<br/><br/>wget http://pecl.php.net/get/zip<br/><br/>tar -zxvf zip<br/><br/>cd zip-1.x.x<br/><br/>phpize<br/><br/>./configure<br/><br/>make<br/><br/>sudo make instal<br/><br/>其中, 在最后使用make install命令的时候,可能需要用到root的权限,所以建议使用sudo来运行。安装完之后,屏幕上会提示zip.so的位置。然后将其记录下来,如:/usr/local/lib/php/extensions/zip.so。<br/><br/>2、使用root权限修改php.ini(通常可能会在/usr/local/lib/文件夹下,不过视当初安装php而定,可以通过phpinfo()来查看):<br/><br/>增加extension = /opt/app/php/5.3.8//lib/php/extensions/no-debug-non-zts-20090626/zip.so<br/>同样在php.ini文件中,将 zlib.output_compression = Off 改为 zlib.output_compression = On ;<br/><br/>3、最后别忘了重启一下Apache:apachectl restart;<br/><br/>这个针对php的zip模块就安装完成了,能够在php中使用ZipArchive类了。<br/><br/><br/>phpinfo() 查看：<br/><br/>Zip enabled<br/>Extension Version&nbsp;&nbsp; $Id: 872affeb4da56999accae9cdc682d3f3bb3f3458 $<br/>Zip version 1.13.1<br/>Libzip version&nbsp;&nbsp;1.0.1<br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=%25E8%25B0%2583%25E7%25A0%2594%25E6%258A%25A5%25E5%2591%258A" rel="tag">调研报告</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E5%25BC%2580%25E5%258F%2591%25E6%2596%2587%25E6%25A1%25A3%2528%25E9%2596%258B%25E7%2599%25BA%25E3%2583%2589%25E3%2582%25AD%25E3%2583%25A5%25E3%2583%25A1%25E3%2583%25B3%25E3%2583%2588%2529" rel="tag">开发文档(開発ドキュメント)</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E7%25B1%25BB%25E6%2596%25B9%25E6%25B3%2595" rel="tag">类方法</a> , <a href="https://blog.zhoz.com/tag.php?tag=unix%252Clinux" rel="tag">unix,linux</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?767</link>
<title><![CDATA[office 2013正式版官方下载]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Mon, 16 Jun 2014 03:10:06 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?767</guid> 
<description>
<![CDATA[ 
	为Win8.1优化，Office 2013 SP1正式版提供官方下载<br/><br/>桌面平台的Office产品：Office 2013、SharePoint 2013、Exchange Server 2013，发布了Service Pack 1 (SP1)服务包。这次SP1带来更好的稳定性，扩展Office功能特性、增强安全性。<br/><br/>另外，SP1也为优化了新版Office与Windows 8.1、Windows Server 2012 R2平台上的兼容性。<br/><br/>在未来一个月内，Office2013用户将会获得Windows Update推送通知。<br/><br/>目前，Office 2013 Service Pack 1已经上架微软下载中心，Office用户也可以手动下载离线安装包。<br/><br/>Office 2013 Service Pack 1下载：<br/><br/>32位版（643.6MB）<br/><a href="http://download.microsoft.com/download/A/B/C/ABCAD726-E89D-43BF-A2EB-F9D9041753DF/proplussp2013-kb2817430-fullfile-x86-zh-cn.exe" target="_blank">http://download.microsoft.com/download/A/B/C/ABCAD726-E89D-43BF-A2EB-F9D9041753DF/proplussp2013-kb2817430-fullfile-x86-zh-cn.exe</a><br/><br/>64位版（774MB）<br/><a href="http://download.microsoft.com/download/A/0/B/A0B6963D-451E-4246-8E20-14F38DA8108B/proplussp2013-kb2817430-fullfile-x64-zh-cn.exe" target="_blank">http://download.microsoft.com/download/A/0/B/A0B6963D-451E-4246-8E20-14F38DA8108B/proplussp2013-kb2817430-fullfile-x64-zh-cn.exe</a><br/><br/>支持Win7、Win8、Win8.1等平台，简体中文版。注：Office365订阅版会自动更新到最新版。<br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=win8" rel="tag">win8</a> , <a href="https://blog.zhoz.com/tag.php?tag=office%25E7%2589%2588%25E6%259C%25AC%25E8%25BD%25AC%25E6%258D%25A2" rel="tag">office版本转换</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?764</link>
<title><![CDATA[win8无线网络wifi连接受限/不稳定设置方法]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Sun, 26 Jan 2014 02:40:23 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?764</guid> 
<description>
<![CDATA[ 
	最近玩上LOL了，但发现win8无线网络不稳定，经常2S~超时。。。<br/>后来发现可能是Win8系统问题，网上说的乱七八糟，做了以下设置修改（原创），感觉好多了：<br/>1、右下角“打开网络共享中心”--左边“更改适配器设置”--无线网卡显示的是“Broadcom 802.11n网络适配器”--属性-配置--高级：<br/>IBSS模式，然后选802.11a&#92;b&#92;g&#92;n自动<br/>再往下拉有个 Xpress（TM）技术，选启用;<br/>继续下拉，有个不兼容40MHz，选禁用;<br/>优先级与VLAN，选启用;<br/>最低功耗，选禁用<br/>（这几项有的系统里可能没有。如果有就按上设置，没有就无视）<br/>2、Win+R或X命令提示符（管理员）输入：<br/>netsh int tcp set heuristics disabled，回车<br/>netsh int tcp set global autotuninglevel=disabled，回车<br/>netsh int tcp set global rss=enabled，回车<br/>netsh int tcp show global，回车。<br/>3、在路由器上设置（菜鸟级这点不做也可）：<br/>点开无线设置，信道调到11~模式选择11g only。<br/>之后点开DHCP服务器，地址租期调到2880。<br/>往下看找到静态地址分配进去添加MAC地址（这个地址填本机的，本机地址查看在wifi状态的详细信息里，ip地址填ipv4的地址）。<br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=%25E4%25B8%25BB%25E6%259C%25BA%25E9%2585%258D%25E7%25BD%25AE" rel="tag">主机配置</a> , <a href="https://blog.zhoz.com/tag.php?tag=win8" rel="tag">win8</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?744</link>
<title><![CDATA[svn上传(check in)报错: Repository moved temporarily to xxx; please relocate]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Sat, 16 Mar 2013 10:49:50 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?744</guid> 
<description>
<![CDATA[ 
	SVN坏了有段时间了。刚才整理了一些重要数据，到了不得不处理的时候了。<br/>现象：<br/>svn: Repository moved temporarily to...<br/>解决方法：<br/>要添加一个参数ErrorDocument 404 default ,具体如下：<br/><Location /svn><br/>&nbsp;&nbsp;DAV svn<br/>&nbsp;&nbsp;SVNPath&nbsp;&nbsp;/var/svn/repository/<br/>&nbsp;&nbsp;AuthzSVNAccessFile&nbsp;&nbsp;/var/svn/repository/conf/authz<br/>&nbsp;&nbsp;AuthType Basic<br/>&nbsp;&nbsp;AuthName "Subversion repository"<br/>&nbsp;&nbsp;AuthUserFile /var/svn/repository/conf/passwd<br/>&nbsp;&nbsp;Require valid-user<br/>&nbsp;&nbsp;<strong>ErrorDocument 404 default</strong><br/></Location><br/>原理：<br/>Subversion虚拟目录同时存在两种寻址方式的时候会出现这样的错误<br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=%25E9%25A1%25B9%25E7%259B%25AE%25E7%25AE%25A1%25E7%2590%2586" rel="tag">项目管理</a> , <a href="https://blog.zhoz.com/tag.php?tag=%25E4%25B8%25BB%25E6%259C%25BA%25E9%2585%258D%25E7%25BD%25AE" rel="tag">主机配置</a> , <a href="https://blog.zhoz.com/tag.php?tag=unix%252Clinux" rel="tag">unix,linux</a>
]]>
</description>
</item><item>
<link>https://blog.zhoz.com/read.php?743</link>
<title><![CDATA[Linux VPS 挂载磁盘与恢复方法]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[系统网络]]></category>
<pubDate>Mon, 11 Mar 2013 16:54:14 +0000</pubDate> 
<guid>https://blog.zhoz.com/read.php?743</guid> 
<description>
<![CDATA[ 
	有VPS商将一块用来存放用户数据（即网站数据等），一块用来存放系统，这样在您的系统出现问题之后后台选择重装系统，另外一个磁盘分区的数据就不会丢失了，所以在购买VPS之后，要手动将另外一块硬盘挂载到用户数据的目录。<br/><br/>挂载方法：<br/><br/>[root@MyVPS ~]# fdisk -l （查看磁盘分区）<br/><br/>Disk /dev/xvdb: 7516 MB, 7516192768 bytes<br/>255 heads, 63 sectors/track, 913 cylinders<br/>Units = cylinders of 16065 * 512 = 8225280 bytes<br/><br/>Disk /dev/xvdb doesn't contain a valid partition table<br/><br/>Disk /dev/xvda: 10.7 GB, 10737418240 bytes<br/>255 heads, 63 sectors/track, 1305 cylinders<br/>Units = cylinders of 16065 * 512 = 8225280 bytes<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;Device Boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks&nbsp;&nbsp; Id&nbsp;&nbsp;System<br/>/dev/xvda1&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;104391&nbsp;&nbsp; 83&nbsp;&nbsp;Linux<br/>/dev/xvda2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1044&nbsp;&nbsp;&nbsp;&nbsp; 8281507+&nbsp;&nbsp;8e&nbsp;&nbsp;Linux LVM<br/>/dev/xvda3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1045&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1305&n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;/dev/pts<br/>/dev/xvda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 99M&nbsp;&nbsp; 29M&nbsp;&nbsp; 66M&nbsp;&nbsp;31% /boot<br/>tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 151M&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;151M&nbsp;&nbsp; 0% /dev/shm<br/>none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;/proc/sys/fs/binfmt_misc<br/>sunrpc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;/var/lib/nfs/rpc_pipefs<br/>[root@MyVPS ~]# fdisk /dev/xvdb //*对硬盘/dev/xvdb进行增加分区操作*//<br/>Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel<br/>Building a new DOS disklabel. Changes will remain in memory only,<br/>until you decide to write them. After that, of course, the previous<br/>content won't be recoverable.<br/><br/>Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)<br/><br/>Command (m for help): n //*输入n新建分区*//<br/>Command action<br/>&nbsp;&nbsp; e&nbsp;&nbsp; extended<br/>&nbsp;&nbsp; p&nbsp;&nbsp; primary partition (1-4)<br/>p //*输入p主分区*//<br/>Partition number (1-4): 1 //*输入1第一个分区*//<br/>First cylinder (1-913, default 1): //*回车跳过*//<br/>Using default value 1<br/>Last cylinder or +size or +sizeM or +sizeK (1-913, default 913): //*回车跳过*//<br/>Using default value 913<br/><br/>Command (m for help): w //*输入W保存退出*//<br/>The partition table has been altered!<br/><br/>Calling ioctl() to re-read partition table.<br/>Syncing disks.<br/>[root@MyVPS ~]# mkfs -t ext3 /dev/xvdb1 //*将新分区xvdb1(此名称因系统而异)格式化为ext3格式*//<br/>mke2fs 1.39 (29-May-2006)<br/>Filesystem label=<br/>OS type: Linux<br/>Block size=4096 (log=2)<br/>Fragment size=4096 (log=2)<br/>917504 inodes, 1833410 blocks<br/>91670 blocks (5.00%) reserved for the super user<br/>First data block=0<br/>Maximum filesystem blocks=1879048192<br/>56 block groups<br/>32768 blocks per group, 32768 fragments per group<br/>16384 inodes per group<br/>Superblock backups stored on blocks:<br/>&nbsp;&nbsp;&nbsp;&nbsp;32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632<br/><br/>Writing inode tables: done&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>Creating journal (32768 blocks): done<br/>Writing superblocks and filesystem accounting information: done<br/><br/>This filesystem will be automatically checked every 21 mounts or<br/>180 days, whichever comes first.&nbsp;&nbsp;Use tune2fs -c or -i to override.<br/>[root@MyVPS ~]# mount /dev/xvdb1 /home //*将新分区xvdb1挂载到目录/home*//<br/>[root@MyVPS ~]# df -hal<br/>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size&nbsp;&nbsp;Used Avail Use% Mounted on<br/>/dev/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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 151M&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;151M&nbsp;&nbsp; 0% /dev/shm<br/>none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;/proc/sys/fs/binfmt_misc<br/>sunrpc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;/var/lib/nfs/rpc_pipefs<br/>/dev/xvdb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6.9G&nbsp;&nbsp;144M&nbsp;&nbsp;6.4G&nbsp;&nbsp; 3% /home<br/>[root@MyVPS ~]# echo "/dev/xvdb1 /home ext3 defaults 1 2" >> /etc/fstab //*添加开机自动挂载*//<br/>//*S4 Did For AoyoHost*//<br/><br/><br/>重装系统设置还原分区盘挂载：<br/><br/><br/>[root@MyVPS ~]# mount /dev/xvdb1 /home<br/>[root@MyVPS ~]# df -hla<br/>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size&nbsp;&nbsp;Used Avail Use% Mounted on<br/>/dev/mapper/vg_501153278-lv_root<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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bsp;377M&nbsp;&nbsp;19% /boot<br/>none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;/proc/sys/fs/binfmt_misc<br/>none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;/proc/xen<br/>/dev/xvdb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9.9G&nbsp;&nbsp;151M&nbsp;&nbsp;9.2G&nbsp;&nbsp; 2% /home<br/><br/>Tags - <a href="https://blog.zhoz.com/tag.php?tag=%25E4%25B8%25BB%25E6%259C%25BA%25E9%2585%258D%25E7%25BD%25AE" rel="tag">主机配置</a> , <a href="https://blog.zhoz.com/tag.php?tag=unix%252Clinux" rel="tag">unix,linux</a>
]]>
</description>
</item>
</channel>
</rss>