搭建CnetOS6.5 x64最小化系统及在线yum源的配置

CentOS系统作为红帽系列的一款linux系统,因为其免费、开源,在中小企业中得到了广泛应用,生产上为了更好的利用资源,都采用最小系统安装,因为一个图形界面都会占去系统资源的30%到40%,生产上一般都是最经济原则,不装图形界面,软件也是需要什么装什么,一般通过ssh连接或者xshell连接即可。本文从以下四个方面给出了CentOS系统的最小化安装及在线yum源的配置。

大纲:
一、搭建CnetOS6.5x64最小化系统。
二、ip,主机名等的相关配置。
三、本地和在线yum源的配置。
四、快照及克隆。

一、搭建CentOS6.5x64的最小系统。

看图,一步一步来即可

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

硬盘大小20G 足够用了, 即使后续不够可,可以再添加硬盘,做成磁盘阵列也是可以的。

单个磁盘文件比多个文件好些,如果不准备移动,那么就用单个磁盘文件。

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

2. 启动虚拟机:安装最小系统。

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

这个地方简单说明一下:如果你在安装的时候,忘记选择某些soft repositories ,比如说:“Develop tools” 这个repository忘记安装了,

或者你后续还想安装其余的repositories,那么可以用yum group list 看一下:

[root@xiaolyu ~]# yum grouplist Loaded plugins: fastestmirror, security Setting up Group Process Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * epel: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com Installed Groups: Base E-mail server Graphical Administration Tools Hardware monitoring utilities Legacy UNIX compatibility Networking Tools Performance Tools Perl Support Security Tools System administration tools Available Groups: Additional Development Backup Client Backup Server CIFS file server Client management tools Compatibility libraries Console internet tools Debugging Tools Desktop Desktop Debugging and Performance Tools Desktop Platform Desktop Platform Development Development tools Dial-up Networking Support Directory Client Directory Server Eclipse Emacs FCoE Storage Client FTP server Fonts General Purpose Desktop Graphics Creation Tools Guest Agents High Availability High Availability Management Identity Management Server Infiniband Support Input Methods Internet Applications Internet Browser Java Platform KDE Desktop Large Systems Performance Legacy X Window System compatibility Load Balancer Mainframe Access Messaging Client Support MySQL Database client MySQL Database server NFS file server Network Infrastructure Server Network Storage Server Network file system client Office Suite and Productivity PHP Support PostgreSQL Database client PostgreSQL Database server Print Server Printing client Remote Desktop Clients Resilient Storage Ruby Support SNMP Support Scalable Filesystems Scientific support Server Platform Server Platform Development Smart card support Storage Availability Tools System Management TeX support Technical Writing TurboGears application framework Virtualization Virtualization Client Virtualization Platform Virtualization Tools Web Server Web Servlet Engine Web-Based Enterprise Management X Window System iSCSI Storage Client Available Language Groups: Afrikaans Support [af] Albanian Support [sq] Amazigh Support [ber] Arabic Support [ar] Armenian Support [hy] Assamese Support [as] Azerbaijani Support [az] Basque Support [eu] Belarusian Support [be] Bengali Support [bn] Bhutanese Support [dz] Brazilian Portuguese Support [pt_BR] Breton Support [br] Bulgarian Support [bg] Catalan Support [ca] Chhattisgarhi Support [hne] Chichewa Support [ny] Chinese Support [zh] Coptic Support [cop] Croatian Support [hr] Czech Support [cs] Danish Support [da] Dutch Support [nl] English (UK) Support [en_GB] Esperanto Support [eo] Estonian Support [et] Ethiopic Support [am] Faroese Support [fo] Fijian Support [fj] Filipino Support [fil] Finnish Support [fi] French Support [fr] Frisian Support [fy] Friulian Support [fur] Gaelic Support [gd] Galician Support [gl] Georgian Support [ka] German Support [de] Greek Support [el] Gujarati Support [gu] Hebrew Support [he] Hiligaynon Support [hil] Hindi Support [hi] Hungarian Support [hu] Icelandic Support [is] Indonesian Support [id] Interlingua Support [ia] Inuktitut Support [iu] Irish Support [ga] Italian Support [it] Japanese Support [ja] Kannada Support [kn] Kashmiri Support [ks] Kashubian Support [csb] Kazakh Support [kk] Khmer Support [km] Kinyarwanda Support [rw] Konkani Support [kok] Korean Support [ko] Kurdish Support [ku] Lao Support [lo] Latin Support [la] Latvian Support [lv] Lithuanian Support [lt] Low Saxon Support [nds] Luxembourgish Support [lb] Macedonian Support [mk] Maithili Support [mai] Malagasy Support [mg] Malay Support [ms] Malayalam Support [ml] Maltese Support [mt] Manx Support [gv] Maori Support [mi] Marathi Support [mr] Mongolian Support [mn] Myanmar (Burmese) Support [my] Nepali Support [ne] Northern Sotho Support [nso] Norwegian Support [nb] Occitan Support [oc] Oriya Support [or] Persian Support [fa] Polish Support [pl] Portuguese Support [pt] Punjabi Support [pa] Romanian Support [ro] Russian Support [ru] Sanskrit Support [sa] Sardinian Support [sc] Serbian Support [sr] Sindhi Support [sd] Sinhala Support [si] Slovak Support [sk] Slovenian Support [sl] Somali Support [so] Southern Ndebele Support [nr] Southern Sotho Support [st] Spanish Support [es] Swahili Support [sw] Swati Support [ss] Swedish Support [sv] Tagalog Support [tl] Tajik Support [tg] Tamil Support [ta] Telugu Support [te] Tetum Support [tet] Thai Support [th] Tibetan Support [bo] Tsonga Support [ts] Tswana Support [tn] Turkish Support [tr] Turkmen Support [tk] Ukrainian Support [uk] Upper Sorbian Support [hsb] Urdu Support [ur] Uzbek Support [uz] Venda Support [ve] Vietnamese Support [vi] Walloon Support [wa] Welsh Support [cy] Xhosa Support [xh] Zulu Support [zu] Done 

找到你希望装的软件组,比如:“Develop tools”, yum groupinstall "Develop tools".

如果不想用这个软件组了,可以yum groupremove "Develop tools";

当然了,如果yum源都没有,那么一切都白搭,所以后续会讲到yum源的配置。

正在安装:

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

搭建CnetOS6.5 x64最小化系统及在线yum源的配置

 

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/13758.html