<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://www.itecfun.com/extern.php?action=feed&amp;fid=22&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[个人知识管理站 / Linux]]></title>
		<link>http://www.itecfun.com/index.php</link>
		<description><![CDATA[个人知识管理站 最近发表的主题。]]></description>
		<lastBuildDate>Fri, 20 Apr 2018 05:33:09 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[解决vmware fusion + centos 7安装vmtools时提示The path "" is not a valid path]]></title>
			<link>http://www.itecfun.com/viewtopic.php?id=3329&amp;action=new</link>
			<description><![CDATA[<p>近日使用VMware fushion 8 + centos 7.0时，无法使用共享功能，所以必须安装vmtools。但是安装过程中有2个错误需要解决。</p><p>1、gcc错误</p><p>Searching for GCC...<br />The path &quot;&quot; is not valid path to the gcc binary.</p><br /><br /><p>2、内核头文件问题</p><p>Searching for a valid kernel header path...<br />The path &quot;&quot; is not a valid path to the 3.10.0-229.el7.x86_64 kernel headers.</p><br /><br /><p>解决方法：在安装vmtools前，先安装需要的文件</p><br /><p>[plain] view plain copy<br />yum -y update&#160; <br />yum -y install kernel-headers kernel-devel gcc&#160; <br />reboot （安装完后要重启一下，很重要！）</p><br /><p>上面的命令搞定后，再进行vmtools的安装。原本错误的地方变成了这样：</p><p>Searching for GCC...<br />Detected GCC binary at &quot;/bin/gcc&quot;.<br />The path &quot;/bin/gcc&quot; appears to be a valid path to the gcc binary.<br />Would you like to change it? [no] </p><br /><p>Searching for a valid kernel header path...<br />Detected the kernel headers at <br />&quot;/lib/modules/3.10.0-229.4.2.el7.x86_64/build/include&quot;.<br />The path &quot;/lib/modules/3.10.0-229.4.2.el7.x86_64/build/include&quot; appears to be a<br />valid path to the 3.10.0-229.4.2.el7.x86_64 kernel headers.<br />Would you like to change it? [no] </p><br /><p>安装完成后可以看到提示：</p><br /><p>The configuration of VMware Tools 9.9.2 build-2496486 for Linux for this <br />running kernel completed successfully.</p><p>Enjoy,</p><p>--the VMware team</p><br /><br /><p>然后设置虚拟机共享目录后即可在/mnt/hgfs下看到共享目录</p>]]></description>
			<author><![CDATA[dummy@example.com (xuyg)]]></author>
			<pubDate>Fri, 20 Apr 2018 05:33:09 +0000</pubDate>
			<guid>http://www.itecfun.com/viewtopic.php?id=3329&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[如何重置CentOS 7的Root密码?设置CentOS 7的Root密码的方法与步骤]]></title>
			<link>http://www.itecfun.com/viewtopic.php?id=3328&amp;action=new</link>
			<description><![CDATA[<p>重置Centos 7 Root密码的方式和Centos 6完全不同</p><p>1 - 在启动grub菜单，选择编辑选项启动<br /><span class="postimg"><img src="https://kfwimg.ikafan.com/upload/f0/21/f021521c6b48160503acb4dd5f503755.png" alt="f021521c6b48160503acb4dd5f503755.png" /></span></p><br /><p>2 - 按键盘e键，来进入编辑界面<br /><span class="postimg"><img src="https://kfwimg.ikafan.com/upload/b0/4b/b04ba9289cd254889615ad22a1d69f30_thumb.png" alt="b04ba9289cd254889615ad22a1d69f30_thumb.png" /></span></p><br /><p>3 - 找到Linux 16的那一行，将ro改为rw init=/sysroot/bin/sh<br /><span class="postimg"><img src="https://kfwimg.ikafan.com/upload/64/04/6404652fe1020d108015f403ec853dad_thumb.png" alt="6404652fe1020d108015f403ec853dad_thumb.png" /></span></p><br /><p>4 - 现在按下 Control+x ，使用单用户模式启动</p><p><span class="postimg"><img src="https://kfwimg.ikafan.com/upload/18/01/1801416053e52c8fd3ece9997f24983b_thumb.png" alt="1801416053e52c8fd3ece9997f24983b_thumb.png" /></span></p><p>5 - 现在，可以使用下面的命令访问系统</p><p>chroot /sysroot</p><p>6 - 重置密码</p><p>passwd root</p><p>7 - 更新系统信息</p><p>touch /.autorelabel</p><p>8 - 退出chroot</p><p>exit</p><p>9 - 重启你的系统</p><p>reboot</p>]]></description>
			<author><![CDATA[dummy@example.com (xuyg)]]></author>
			<pubDate>Wed, 18 Apr 2018 14:01:35 +0000</pubDate>
			<guid>http://www.itecfun.com/viewtopic.php?id=3328&amp;action=new</guid>
		</item>
	</channel>
</rss>
