반응형

[Linux Setting] CentOS 6.9 Setting Guide : 패키지관리 : X Window 설치

1. 용도 및 목적

Linux 설치 및 다양한 테스트 환경을 만들기 위함, X window 설치, 오라클 같이 GUI 환경 설치가 필요한 부분에 사용할수도 있고, 웹이나 기타 관리에 있어서 필요한 부분이 있다.

2. 설치 환경

-O/S

 Windows 10 Pro , VirtualBox(CentOS6.9)

-H/W

 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz

 RAM 8GB

 SDD 256GB

3. 패키지 설치 진행(local 저장소 사용)

-X 윈도우 그룹패키지 설치(GUI를 KDE Decktop 사용시 Desktop 대신 넣으면 됩니다.)

# yum groupinstall "X Window System" "Desktop" "Fonts" "Korean Support [ko]" 

-초기 OS 설치시에는 하기 항목에서 선택하여 설치

-y 입력하여 진행

-설치 완료 후 설치 된 패키지 확인

-부팅 모드 변경(runlevel 3 에서 5로 변경 저장)

#vi /etc/inittab
id:5:initdefault:

-재기동

#reboot

-기동 후 바로 웰컴 문구 ->Forward

-License Information -> yes 선택 상태 -> Forward

-Create User (생성안함) -> Forward

-yes

-Date and Time -> Forward

-kdump -> Finish

-yes(재기동 됨)

-부팅 화면

-참고 : minimal로 설치 할때 직접 Network(bond0)를 생성해주었는데, Desktop 그룹이 설치되며, NetworManager(네트워크에 이상 현상이 나오니 제거를 한다. ) 가 설치 된다. (네트워크가 끊어지니, 로컬 화면에서 진행한다.)

아래와 같이 진행한다.(chkconfig 는 runlevel 에 대해 재기동여부 설정함)
chkconfig NetworkManager off
service NetworkManager stop
service network restart



반응형
반응형

[Linux Setting] CentOS 6.9 Setting Guide : 패키지 관리: man 설치

1. 용도 및 목적

Linux 설치 및 다양한 테스트 환경을 만들기 위함, minimal로 설치하고 우연찮게 man 을 보려고 했으나, man 도 설치가 안되어있다. 간단하게 명령어나 패키지 메뉴얼 파일이라고 보면 된다.

2. 설치 환경

-O/S

 Windows 10 Pro , VirtualBox(CentOS6.9)

-H/W

 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz

 RAM 8GB

 SDD 256GB

3. 진행

-확인

[root@systemeng ~]# man 명령어
-bash: man: command not found

-설치

[root@systemeng ~]# yum install man
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
local                                                                    | 4.0 kB     00:00 ...
Resolving Dependencies
--> Running transaction check
---> Package man.x86_64 0:1.6f-39.el6 will be installed
--> Processing Dependency: lzma for package: man-1.6f-39.el6.x86_64
--> Running transaction check
---> Package xz-lzma-compat.x86_64 0:4.999.9-0.5.beta.20091007git.el6 will be installed
--> Processing Dependency: xz = 4.999.9-0.5.beta.20091007git.el6 for package: xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64
--> Running transaction check
---> Package xz.x86_64 0:4.999.9-0.5.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================
 Package               Arch          Version                                 Repository    Size
================================================================================================
Installing:
 man                   x86_64        1.6f-39.el6                             local        265 k
Installing for dependencies:
 xz                    x86_64        4.999.9-0.5.beta.20091007git.el6        local        137 k
 xz-lzma-compat        x86_64        4.999.9-0.5.beta.20091007git.el6        local         16 k

Transaction Summary
================================================================================================
Install       3 Package(s)

Total download size: 418 k
Installed size: 887 k
Is this ok [y/N]: y
Downloading Packages:
------------------------------------------------------------------------------------------------
Total                                                           148 MB/s | 418 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : xz-4.999.9-0.5.beta.20091007git.el6.x86_64                                   1/3
  Installing : xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64                       2/3
  Installing : man-1.6f-39.el6.x86_64                                                       3/3
  Verifying  : xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64                       1/3
  Verifying  : man-1.6f-39.el6.x86_64                                                       2/3
  Verifying  : xz-4.999.9-0.5.beta.20091007git.el6.x86_64                                   3/3

Installed:
  man.x86_64 0:1.6f-39.el6

Dependency Installed:
  xz.x86_64 0:4.999.9-0.5.beta.20091007git.el6
  xz-lzma-compat.x86_64 0:4.999.9-0.5.beta.20091007git.el6

Complete!

-확인(which 는 실행 파일 경로를 알려준다.)

[root@systemeng ~]# which man
/usr/bin/man
[root@systemeng ~]# man 명령어
정상적으로 출력된다.



반응형
반응형

[Linux Setting] CentOS 6.9 Setting Guide : 패키지 관리: yum group 확인

1. 용도 및 목적

Linux 설치 및 다양한 테스트 환경을 만들기 위함, 설치 패키지에 관련되어 좀더 효율적인 방안을 찾기위해 초기 설치 때 설치와 비교 하도록 한다. OS image 마운트 및 yum local 설정이 되있는 상태이다.

2. 설치 환경

-O/S

 Windows 10 Pro , VirtualBox(CentOS6.9)

-H/W

 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz

 RAM 8GB

 SDD 256GB

3. 확인

-우리는 minimal 설치를 진행하였고, 몇개의 그룹패키지가 설치 되었는지 확인해본다. 설치된것이 거의 없다. 

[root@systemeng ~]# yum grouplist
Loaded plugins: fastestmirror
Setting up Group Process
Loading mirror speeds from cached hostfile
Installed Groups:  #설치된 패키지 (뭐 없음)
   E-mail server
   Security Tools
Available Groups: #설치 가능한 패키지 그룹
   Additional Development
   Backup Client
   Backup Server
   Base
   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
   Graphical Administration Tools
   Graphics Creation Tools
   Guest Agents
   Hardware monitoring utilities
   High Availability
   High Availability Management
   Identity Management Server
   Infiniband Support
   Input Methods
   Internet Applications
   Internet Browser
   Java Platform
   KDE Desktop
   Large Systems Performance
   Legacy UNIX compatibility
   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
   Networking Tools
   Office Suite and Productivity
   PHP Support
   Performance Tools
   Perl 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
   System administration tools
   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

-그룹에 포함된 패키지 확인

[root@systemeng ~]# yum groupinfo "X Window System"
Loaded plugins: fastestmirror
Setting up Group Process
Loading mirror speeds from cached hostfile

Group: X Window System
 Description: X Window System Support.
 Mandatory Packages:
   xorg-x11-drivers
   xorg-x11-server-Xorg
   xorg-x11-xauth
   xorg-x11-xinit
 Default Packages:
   firstboot
   glx-utils
   hal
   plymouth-system-theme
   spice-vdagent
   wacomexpresskeys
   wdaemon
   xorg-x11-server-utils
   xorg-x11-utils
   xvattr
 Optional Packages:
   xcb-util-image
   xcb-util-keysyms
   xcb-util-wm

-실제 OS 설치 할때의 패키지 모습과 위에 grouplist 와 group명을 한번씩 찾아 비교해보면 도움이 된다. 

(참고)minimal -> Customize now 로 확인했기 때문에 거의 모든 항목에 체크박스가 풀려있다. 

 

확인 완료



반응형

+ Recent posts