本帖最后由 曹睿翔 于 2013-4-21 23:58 编辑 <br /><br /><div align="left"><b><font size="4">CentOS</font> </b></div><div align="left"> 什么是<font face="Times New Roman">CentOS</font><font face="宋体">? 百度百科 </font>http://baike.baidu.com/view/26404.htm</div><div align="left"> 为什么要选择<font face="Times New Roman">CentOS</font><font face="宋体">?</font></div><div align="left"><b><font size="4">特点:</font></b></div><div align="left"> 1<font face="宋体">.可以把</font><font face="Times New Roman">CentOS</font><font face="宋体">理解为</font><font face="Times New Roman">Red Hat AS</font><font face="宋体">系列!它完全就是对</font><font face="Times New Roman">Red Hat AS</font><font face="宋体">进行改进后发布的!各种操作、使用和</font><font face="Times New Roman">RED HAT</font><font face="宋体">没有区别!</font><br> 2<font face="宋体">.</font><font face="Times New Roman">CentOS</font><font face="宋体">完全免费,不存在</font><font face="Times New Roman">RED HAT AS4</font><font face="宋体">需要序列号的问题。</font><br> 3<font face="宋体">.</font><font face="Times New Roman">CentOS</font><font face="宋体">独有的</font>yum<font face="宋体">命令支持在线升级</font>,可以即时更新系统,不像<font face="Times New Roman">RED HAT</font><font face="宋体">那样需要花钱购买支持服务!</font><br> 4<font face="宋体">.</font><font face="Times New Roman">CentOS</font><font face="宋体">修正了许多</font><font face="Times New Roman">RED HAT AS</font><font face="宋体">的</font><font face="Times New Roman">BUG</font><font face="宋体">!</font><br> 5<font face="宋体">.</font><font face="Times New Roman">CentOS</font><font face="宋体">版本说明:</font><font face="Times New Roman">CentOS3.1 </font><font face="宋体">等同于 </font><font face="Times New Roman">RED HAT AS3 Update1 CentOS3.4 </font><font face="宋体">等同于 </font><font face="Times New Roman">RED HAT AS3 Update4 CentOS4.0 </font><font face="宋体">等同于 </font><font face="Times New Roman">RED HAT AS4</font></div><div align="left"><font size="5"><strong>正题:</strong></font></div><div align="left"> 可以安装CentOS minimal<font face="宋体">版</font>,最新的才300M<font face="宋体">,不占电脑资源,不过是不带</font><font face="Times New Roman">X WindowSystem</font><font face="宋体">的,接下来我会讲怎么安装</font><font face="Times New Roman">X Window</font><font face="宋体">的</font></div><div align="left"> 大家可以百度,也可以去官方网站下载minimal</div><div align="left"> 1、先下载你喜欢的minimal版本</div><div align="left"> 下边博客有提供</div><div align="left"> 2、安装,过程很简单,下面博客会提到。</div><div align="left"> 为了不占用空间,不添加图片,援引下边博客方便</div><div align="left"> 3、图形化界面不建议用了,安装<font face="Times New Roman">linux</font><font face="宋体">练的就是命令,机器够用的话直接安装:</font>bin-DVD<font face="宋体">:</font> </div><div align="left"> 这个文件包含了<font face="Times New Roman">CentOS</font><font face="宋体">完整的功能,由于</font><font face="Times New Roman">bin-DVD1.iso(4G) + bin-DVD2.iso(1G) = 5G</font></div><div align="left"> <strong> Ps<font face="宋体">:用段时间后想通过图形化界面验证效果的,接着看几步搞定</font></strong></div><div align="left"> 1<font face="宋体">、先打开网卡(默认关闭)</font></div><div align="left"> 连接网络<font face="Times New Roman">: </font></div><div align="left"> CentOS minimal.iso<font face="宋体">安装好后,进入终端,默认是不开网络的</font><font face="Times New Roman">, </font></div><div align="left"> 首先启用网卡<font face="Times New Roman">, </font><font face="宋体">自动获取</font><font face="Times New Roman">ip. </font></div><div align="left"> ifconfig eth0 up <a href="http://www.2cto.com" target="_blank">www.2cto.com</a> </div><div align="left"> dhclient eth0 </div><div align="left"> 这时候再 <font face="Times New Roman">ifconfig </font><font face="宋体">一下,就可以看见已经自动分配好</font><font face="Times New Roman">IP</font><font face="宋体">了 </font></div><div align="left"> 2<font face="宋体">、安装</font>VIM</div><div align="left"> # yum install vim-enhanced</div><div align="left"> 3<font face="宋体">、</font>安装<font face="Times New Roman">X Window: </font></div><div align="left"> #yum groupinstall "X Window System" </div><div align="left"> 4<font face="宋体">、</font>安装<font face="Times New Roman">gnome</font><font face="宋体">: </font></div><div align="left"> yum groupinstall "Desktop" </div><div align="left"> 5<font face="宋体">、</font>然后我们安装中文语言 </div><div align="left"> yum groupinstall "Chinese Support" </div><div align="left"> 6<font face="宋体">、</font>最关键的一步了,启动<font face="Times New Roman">gnome </font></div><div align="left"> startx </div><div align="left"> 然后按下<font face="Times New Roman">Ctrl+Alt+F2, OK</font><font face="宋体">,进入了桌面</font><font face="Times New Roman">. </font></div><div align="left"> 7<font face="宋体">、</font>要下次自动启动<font face="Times New Roman">gnome</font><font face="宋体">: </font></div><div align="left"> 修改<font face="Times New Roman">/etc/inittab</font><font face="宋体">文件中的 </font></div><div align="left"> id:3:initdefault </div><div align="left"> 将<font face="Times New Roman">3</font><font face="宋体">改为</font><font face="Times New Roman">5 </font></div><div align="left"> id:5:initdefault </div><div align="left"> 重新启动系统<font face="Times New Roman">.</font></div><div align="left"> </div><div align="left"><b>援引博客</b>:</div><div align="left"> 教你从 字符界面重新安装<font face="Times New Roman">CentOS 6.3</font><font face="宋体">操作系统 </font> <a href="http://youyizhimen.blog.163.com/blog/static/1709172672012112625438768/" target="_blank">http://youyizhimen.blog.163.com/blog/static/1709172672012112625438768/</a></div><div align="left"> (这个博客的操作我试了,没问题,安装很简单,<font color="#ff0000">需要注意步骤</font>、<font color="#ff0000">以及用<font face="Times New Roman">space</font><font face="宋体">去选择</font></font><font face="宋体">,</font><font color="#ff0000"><font face="宋体">而不是</font><font face="Times New Roman">enter</font></font><font face="Times New Roman">)</font></div><div align="left"> CentOS minimal<font face="宋体">版安装图形界面的步骤:</font></div><div align="left"> <url><a href="http://www.2cto.com/os/201211/167638.html</url>" target="_blank">http://www.2cto.com/os/201211/167638.html</a></url></div><div align="left"><font color="#ff0000"><strong><font size="4">声明</font></strong></font>:</div><div align="left"><strong>大家为了爱好</strong>,<strong>也是为了后期进入黑马后能有很快提升才去练习</strong>,<strong>所以简单就好</strong>,<strong>直接命令行练习</strong>,很爽的,接下来我会不定时跟大家谈论相关命令。
<br>
<span style="float:left;margin-right:5px"><font size="5"><font color="#800080"> <marquee width="90%" behavior="alternate" scrollamount="3">本版块即将推出<font face="Times New Roman">java</font><font face="宋体">解题送分活动</font> ,<font face="宋体">敬请期待</font> !</marquee></font></font></span><strong><font size="3"><font color="#ff0000"><br> </font></font></strong></div><div align="left"><strong><font size="3"><font color="#ff0000"> </font></font></strong></div><strong><font size="3"><font color="#ff0000">
</font></font></strong> |
|