지풍@blog

지풍@blog RSS

RHEL 5.x 이나 CentOS 5.x에서 perl 스크립트를 실행하면 아래와 같이 오류를 내면서 실행 안 되는 경우가 있습니다

Can't locate IO/Pty.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/Expect.pm line 22.


IO/Pty.pm을 찾을 수 없다라는 오류인데 RHEL 5.x이나 CentOS 5.x에서는 yum으로 해당 패키지를 설치할 수 없어 보이더군요

그래서 따로 구해서 설치를 해줘야 하는데 아래 주소에서 다운 받아 설치 할 수 있습니다

http://pkgs.repoforge.org/perl-IO-Tty

RHEL 5.x이나 CentOS 5.x는 여기서 직접 다운로드 됩니다

http://pkgs.repoforge.org/perl-IO-Tty/perl-IO-Tty-1.08-2.el5.rf.i386.rpm (32bit)

참고로 rpm으로 저 주소를 직접 넣어 설치는 불가능한 것 같습니다

wget으로 먼저 다운을 받고 rpm으로 설치를 해야 제대로 되더군요
3.x 버전이 되면서 기존 마켓과 다른 마켓으로 완전 바꼈죠??

그런데 새로운 마켓으로 가면서 느리거나 업데이트가 잘 안 되거나 그런 문제가 많았는데 오늘 업데이트된 새로운 마켓이 유출되었다고 하네요


버전은 3.3.11이고... 아이콘부터 바꼈다고 하네요


그리고 전반적으로 글씨가 작아 졌습니다


전반적으로 속도는 빨라진 것처럼 보이더라구요 아직 많이 써 보지는 않았지만은요

그리고 추가된 기능이 앱 자동 업데이트와 Wi-Fi일때만 업데이트 그리고 새로 설치된 앱일 경우에는 홈에 자동 추가 기능이 들어 갔더군요


그런데 중간에 데이터가 꼬였는지 아래처럼 아이콘을 못 가져주는 경우가 있더군요

그런데 설치하고 조금 지나니 이런 경우가 안 나오더라구요


뭐 이렇게 새로워진 마켓인데요 환경설정에서 보다시피 모든 메뉴가 한글화가 되지 않는 걸로 보아 아직 정식 버전은 아닌 듯 싶습니다

그리도 새로운 마켓을 써 보고 싶으신 분은 아래 링크에서 다운 받으실 수 있습니다

tftp 서버가 CentOS나 RHEL에서는 기본으로 설치되지 않아 별도로 설치해야 하죠

yum으로 간단히 설치 할 수 있는데 아래와 같이 설치 할 수 있습니다

# yum update tftp-server

Loaded plugins: downloadonly, fastestmirror

Loading mirror speeds from cached hostfile

 * base: data.nicehosting.co.kr

 * extras: data.nicehosting.co.kr

 * updates: data.nicehosting.co.kr

addons                                                   |  951 B     00:00

base                                                     | 1.1 kB     00:00

extras                                                   | 2.1 kB     00:00

updates                                                  | 1.9 kB     00:00

Setting up Update Process

Package(s) tftp-server available, but not installed.

No Packages marked for Update

[root@w03 ~]# yum install tftp-server

Loaded plugins: downloadonly, fastestmirror

Loading mirror speeds from cached hostfile

 * base: data.nicehosting.co.kr

 * extras: data.nicehosting.co.kr

 * updates: data.nicehosting.co.kr

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package tftp-server.x86_64 0:0.49-2.el5.centos set to be updated

--> Finished Dependency Resolution


Dependencies Resolved


================================================================================

 Package            Arch          Version                     Repository   Size

================================================================================

Installing:

 tftp-server        x86_64        0.49-2.el5.centos           base         32 k


Transaction Summary

================================================================================

Install      1 Package(s)

Update       0 Package(s)

Remove       0 Package(s)


Total download size: 32 k

Is this ok [y/N]: y

Downloading Packages:

tftp-server-0.49-2.el5.centos.x86_64.rpm                 |  32 kB     00:27

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing     : tftp-server                                              1/1


Installed:

  tftp-server.x86_64 0:0.49-2.el5.centos


Complete!


위와 같이 yum으로 간단히 설치할 수 있고 rpm 명령어로 아래와 같이 설치 되었는지 확인할 수 있죠

# rpm -qa | grep tftp

tftp-server-0.49-2.el5.centos


이제 제대로 실행이 되는지 확인해야 하는데 설치가 되면 기본적으로 tftp 서버가 실행되어 있지도 않고 설정상 내려져 있죠

tftp 서버가 올라 가도록 설정을 해야 하는데 /etc/xinetd.d/tftp 파일을 열어 disable = yes를 disable = no로 바꿔 줘야 합니다

# default: off

# description: The tftp server serves files using the trivial file transfer \

#       protocol.  The tftp protocol is often used to boot diskless \

#       workstations, download configuration files to network-aware printers, \

#       and to start the installation process for some operating systems.

service tftp

{

        socket_type             = dgram

        protocol                = udp

        wait                    = yes

        user                    = root

        server                  = /usr/sbin/in.tftpd

        server_args             = -s /tftpboot

        disable                 = yes -> no

        per_source              = 11

        cps                     = 100 2

        flags                   = IPv4

}


그리고 tftp 서버가 xinetd에 속하기 때문에 xinetd를 재가동하면 tftp 서버가 실행이 될껍니다

# service xinetd restart

Stopping xinetd:                                           [  OK  ]

Starting xinetd:                                           [  OK  ]


xinetd가 재가동 되면 아래와 같이 제대로 tftp 서버가 실행이 되었는지 알 수가 있습니다

# netstat -a | grep tftp

udp        0      0 *:tftp                      *:*  


1 ··· 15 16 17 18 19 20 21 ··· 68 
분류 전체보기 (202)
내가 사는 이야기 (2)
백과사전 (89)
듣고 보는 것 (0)
세상 이야기 (1)
맛집 투어 & 여행 (0)
컴퓨터 이야기 (110)
게임 이야기 (0)
위시리스트 (0)
스포츠 이야기 (0)
영화 이야기 (0)
우하하하하 (0)

공지사항

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백