Centos Server 리눅스 운영체제에서 likewise-open 패키지 설치 문제
당연히 Ubuntu에서 사용하던 Likewise-open 을 설치하여 제 집에서 운영하는 Active Directory에 Join하려고 했다. 원래 Ubuntu Server를 사용하다가 Redhat 계열의 Centos로 변경해보고자 Centos Server를 선택했다.
필자의 아래의 블로그 링크를 통해 Ubuntu에서 Likewise-open을 통해 Active Directory에 Join 하는 글을 소개한 바 있다.
Centos에서는 RPM기반의 설치 패키지 도구인 yum을 사용하는데, yum을 통해서는 likewise-open 도구를 설치할 수 없는 문제가 발생하였다.
MPOWERUMC:~ powerumc$ ssh POWERUMC\\umc@192.168.0.30
Password:
Last login: Fri Apr 5 01:35:17 2013 from 192.168.0.23
-sh-4.1$ sudo yum install likewise- open
Password:
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.yongbok.net
* extras: mirror.yongbok.net
* updates: mirror.yongbok.net
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
updates | 3.5 kB 00:00
updates /primary_db | 1.4 MB 00:00
Setting up Install Process
No package likewise- open available.
Error: Nothing to do
-sh-4.1$
|
위와 같이 likewise-open 패키지는 사용할 수 없는 패키지라는 메시지가 출력이 된다. 이 문제로 구글링을 통해 해결 방법을 찾아보았는데, 대부분 과거 문서이고 likewise-open 다운로드 링크도 404 not found 로 생각보다 빨리 해결하지 못하게 되었다.
pbis-open 패키지로 설치해야...
현재 likewise-open 은 PowerBroker 서비스를 통해 다운로드 받을 수 있다. 패키지의 이름은 likewise-open에서 phis-open로 변경되었다.
다음과 같이 wget 명령을 통해 pbis-open 패키지를 다운로드 받는다.
[powerumc@POWERUMC-CENTOS ~]$ wget http:
--2013-04-01 23:41:19-- http:
Resolving download.beyondtrust.com... 192.30.180.65
Connecting to download.beyondtrust.com|192.30.180.65|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17789736 (17M) [application/x-sh]
Saving to: `pbis-open-7.1.0.1203.linux.x86_64.rpm.sh'
100%[================================================>] 17,789,736 1.24M/s in 16s
2013-04-01 23:41:36 (1.03 MB/s) - `pbis-open-7.1.0.1203.linux.x86_64.rpm.sh' saved [17789736/17789736]
|
[powerumc@POWERUMC-CENTOS ~]$ l
합계 17400
drwx------. 2 powerumc powerumc 4096 2013-04-01 23:42 .
drwxr-xr-x. 4 root root 4096 2013-04-01 23:08 ..
-rw-r--r--. 1 powerumc powerumc 18 2013-02-22 06:09 .bash_logout
-rw-r--r--. 1 powerumc powerumc 200 2013-04-01 23:42 .bash_profile
-rw-r--r--. 1 powerumc powerumc 124 2013-02-22 06:09 .bashrc
-rw-------. 1 powerumc powerumc 803 2013-04-01 23:42 .viminfo
-rwxrwxr-x. 1 powerumc powerumc 17789736 2013-03-09 05:53 pbis- open -7.1.0.1203.linux.x86_64.rpm.sh
|
[powerumc@POWERUMC-CENTOS ~]$ sudo . /pbis-open-7 .1.0.1203.linux.x86_64.rpm.sh
Creating directory pbis- open -7.1.0.1203.linux.x86_64.rpm
Verifying archive integrity... All good.
Uncompressing pbis- open -7.1.0.1203.linux.x86_64.rpm............
Would you like to install package for legacy links? (i.e. /opt/likewise/bin/lw-find-user-by-name -> /opt/pbis/bin/find-user-by-name ) ( yes /no ) yes
Would you like to install now? ( yes /no ) y
Installing packages and old packages will be removed
준비 중...
1:pbis- open -upgrade
준비 중...
1:pbis- open
Setting up SELinux Policy Module
Importing registry...
준비 중...
1:pbis- open -gui
준비 중...
1:pbis- open -legacy
Installing Packages was successful
New libraries and configurations have been installed for PAM and NSS.
Please reboot so that all processes pick up the new versions.
As root, run domainjoin-gui or domainjoin-cli to join a domain so you can log on
with Active Directory credentials. Example:
domainjoin-cli join MYDOMAIN.COM MyJoinAccount
|

[powerumc@POWERUMC-CENTOS init.d]$ sudo . /lwsmd start
자동으로 시작되어 있음
|
댓글을 달아 주세요