블로그 이미지
은총애비!!

카테고리

분류 전체보기 (2891)
Linux (35)
Error 해결 방법 (5)
소소한 일상 (1937)
사진실 (0)
책책책, 책을 읽읍시다!! (21)
기타(JSP & DB & 등등) (4)
미국 주식 관련 (562)
아침형 인간 프로젝트 (292)
Total
Today
Yesterday
반응형

[Linux] apache & tomcat connectors 연동 configure중 에러 해결 방법

 

apache & tomcat connectors 연동중  make중

make: *** 타겟이 지정되지 않았고 메이크파일이 없습니다.  멈춤.

에러에 관한 내용입니다.

 

checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@localhost native]# make && make install
make: *** 타겟이 지정되지 않았고 메이크파일이 없습니다.  멈춤.
[root@localhost native]#

 

yum -y install gcc-c++ libstdc++-devel

 

또는

 

yum -y install gcc*

 

설치를 해줍니다...

 

그러면 configure가 에러 없이 잘 끝날겁니다...

 

configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating common/jk_types.h
config.status: creating common/config.h
config.status: executing depfiles commands  => 에러 없이 잘 끝났습니다.
[root@localhost native]# make && make install
Making all in common => make가 시작 됩니다.
make[1]: Entering directory `/home/qual/tomcat-connectors-1.2.37-src/native/common'
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -I/usr/local/src/apache/include  -DHAVE_CONFIG_H -pthread -DHAVE_APR  -I/usr/include/apr-1 -I/usr/include/apr-1  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -I/usr/local/src/apache/include  -DHAVE_CONFIG_H -pthread -DHAVE_APR  -I/usr/include/apr-1 -I/usr/include/apr-1  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_connect.c -o jk_connect.lo
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -I/usr/local/src/apache/include  -DHAVE_CONFIG_H -pthread -DHAVE_APR  -I/usr/include/apr-1 -I/usr/include/apr-1  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_msg_buff.c -o jk_msg_buff.lo
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -I/usr/local/src/apache/include  -DHAVE_CONFIG_H -pthread -DHAVE_APR  -I/usr/include/apr-1 -I/usr/include/apr-1  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_util.c -o jk_util.lo

반응형
Posted by 은총애비!!
, |
반응형

[LINUX ERROR] apache 설치중 SSL/TLS 설치 에러

 

설치 도중 SSL/TLS 관련 에러가 났습니다.

에러 내용은 아래와 같습니다.

 

checking for OpenSSL version... checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
no OpenSSL headers found
checking for SSL-C version... checking sslc.h usability... no
checking sslc.h presence... no
checking for sslc.h... no
no SSL-C headers found
configure: error: ...No recognized SSL/TLS toolkit detected

 

에러 해결 방법

정말 간단 합니다.!!!

 

yum -y install openssl-devel

또는

yum -y install openssl*

반응형
Posted by 은총애비!!
, |
반응형
[MicroServer G7 N54L] SAMBA SWAT 설치 및 설정

 

 

SWAT(Samba Web Adminstrator Tool)

웹 페이지 기반으로 SAMBA를 설정 할 수 있습니다.

SWAT는 TCP 901 포트를 사용 합니다.

 

아래와 같이 우선 swat가 설치 되어 있는지 확인 합니다.


[root@localhost xinetd.d]# rpm -qa |grep samba
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-winbind-3.6.9-169.el6_5.i686
samba-3.6.9-169.el6_5.i686
samba-common-3.6.9-169.el6_5.i686
samba-client-3.6.9-169.el6_5.i686
samba-swat-3.6.9-169.el6_5.i686
samba-winbind-clients-3.6.9-169.el6_5.i686
[root@localhost xinetd.d]#


 

설치가 안되어 있다면

yum -y install samba-swat로 설치 합니다.

 

yum으로 설치 하면 /etc/xinetd.d/swat 파일이 생깁니다.


[root@localhost xinetd.d]# ls
chargen-dgram   daytime-dgram   discard-dgram   echo-dgram   rsync  tcpmux-server  time-stream
chargen-stream  daytime-stream  discard-stream  echo-stream  swat   time-dgram
[root@localhost xinetd.d]#


 

vi /etc/xinetd.d/swat로 파일을 엽니다.


# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
service swat
{
        port            = 901
        socket_type     = stream
        wait            = no
        only_from       = 127.0.0.1
        user            = root
        server          = /usr/sbin/swat
        log_on_failure  += USERID
        disable         = yes  => no로 변경합니다.
}


그리고 방화벽에서 TCP 901 포트를 열어줍니다.

 

그리고 xinetd를 재시작 합니다.

[root@localhost xinetd.d]# service xinetd restart
xinetd 를 정지 중:                                           [실패]
xinetd (을)를 시작 중:                                      [ OK ]
[root@localhost xinetd.d]#

 

이렇게 하면 설치 및 설정 끝!!

 

그럼 이제 접속을 해봅시다.

http://서버IP or 도메인:901

또는

http://localhost:901

 

그런데...외부(윈도우)에서는 접속이 안된다..내부(리눅스)에서는 접속이 잘 되지만...ㅠ,.ㅠ

 

 

위 외부(윈도우)에서 접속 안되는 문제 해결

/etc/xinetd.d/swat 파일중에서

# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
service swat
{
        port            = 901
        socket_type     = stream
        wait            = no
#      only_from       = 127.0.0.1 이부분을 주석 처리

(이부분이 접속 할 주소를 설정 하는 부분. 주석처리 함으로써 어디서든지 접속 가능해짐)
        user            = root
        server          = /usr/sbin/swat
        log_on_failure  += USERID
        disable         = no

}

 

반응형
Posted by 은총애비!!
, |
반응형

[MicroServer G7 N54L] samba 설치 및 설정

 

윈도우에서도 쉽게 접근 할 수 있는 방법 입니다.

우선 쉽게 소스 설치가 아닌 패키지 설치 및 설정 하는 방법을 설명 하겠습니다.

 

 

- 삼바 설치

[root@localhost samba]# yum -y install samba   => 삼바를 설치 합니다.

 

 

- 삼바 설정

[root@localhost samba]# vi /etc/samba/smb.conf

윈도우에서 접속하면 리눅스 기본 계정 홈 디렉토리가 보입니다.

리눅스 계정 전 사용자가 사용할 수 있는 공용 폴더를 만드는 방법 입니다.

기본 설정은 그냥 그대로 두고

제일 마지막에 public에서

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;       [public]
;       comment = Public Stuff
;       path = /home/samba
;       public = yes
;       writable = yes
;       printable = no
;       write list = +staff

 

       [public]
       comment = Public Stuff
       path = /home/samba
       public = yes
       writable = yes
       printable = no
       write list = +staff

앞에 ;를 제거합니다.

 

 

- 사용자 등록

[root@localhost samba]# smbpasswd -a [사용자 계정]

[root@localhost samba]# smbpasswd sambauser1   => 삼바 접속 비밀번호 설정을 합니다.
New SMB password:
Retype new SMB password:
[root@localhost samba]#


 

- 방화벽 설정

[root@localhost samba]# system-config-firewall   => 방화벽 설정으로 들어갑니다.

삼바 관련 체크 하고 적용 하고 나갑니다.

또는

[root@localhost samba]# vi /etc/sysconfig/iptables 삼바 관련된 tcp/udp를 추가 합니다.

그리고 아래와 같이 방화벽을 재시작 합니다.

[root@localhost samba]# service iptables restart    => 방화벽을 재시작 합니다.

 

 

- 윈도우에서 삼바 접근

익스플로러나 탐색기에서 \\리눅스 ip 또는 도메인명으로 접속

id/pass를 넣으면 기본 계정 폴더와 public 폴더가 보일 것입니다.

 

반응형
Posted by 은총애비!!
, |
반응형

[MicroServer G7 N54L] Linux 시간 설정

 

리눅스를 설치 하고 나면 시간이 잘 안 맞습니다.

타임서버의 시간으로 동기화를 하는 겁니다.

 

[root@localhost /]# rdate [옵션] [타임서버]

-p : 타임서버의 시간 출력

-s : 타임서버의 시간으로 동기화

time.bora.net : 타임서버 주소

 

[root@localhost /]# rdate -p time.bora.net    => 타임 서버의 현 시간을 보여 줍니다.
rdate: [time.bora.net]  Wed Oct 15 23:53:15 2014

[root@localhost /]#

 

[root@localhost /]# rdate -s time.bora.net     => 타입서버 시간으로 동기화 합니다.
[root@localhost /]# date
2014. 10. 15. (수) 23:54:01 KST
[root@localhost /]#

 

반응형
Posted by 은총애비!!
, |
반응형

[MicroServer G7 N54L] VMWARE에서 HDD 추가 / 마운트 까지...

 

우선 Power Off 합니다. 그리고

상단 메뉴중 VM -> Setting (CTRL + D) -> ADD -> Hard Disk -> Next -> Next -> Next -> 용량 선택 -> Finish

이렇게 하면 HDD는 추가 한겁니다.

 

다시 Power On.

 

그리고 ssh로 접속해서 fdisk -l 을 하면 아래와 같이 나옵니다.

fdisk -l 현재 장착되어 있는 disk를 보여주는 명령어 입니다.

 

[root@localhost qual]# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000f560

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1045     8387584   83  Linux
/dev/sda2            1045        2350    10485760   83  Linux
/dev/sda3            2350        2611     2097152   82  Linux swap / Solaris

Disk /dev/sdb: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table
[root@localhost qual]#

[root@localhost qual]# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x996eed0e.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help):

 

n => 새로운 파티션을 만듭니다.

- p => 기본 파티션 생성

- e => 확장 파티션 생성

w => 파티션 테이블 설정 저장

 

[root@localhost qual]# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xd4f54031.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): n => 새로운 파티션 생성
Command action
   e   extended
   p   primary partition (1-4)
p => 기본 파티션 생성
Partition number (1-4): 1 => 파티션 번호
First cylinder (1-102, default 1):
Using default value 1  => 하드디스크 용량 시작점.
Last cylinder, +cylinders or +size{K,M,G} (1-102, default 102):
Using default value 102  => 하드디스크 용량 끝. (100메가 하드 디스크 추가)

Command (m for help): w => 파티션 테이블 설정 저장(위에 설정한것 저장)
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@localhost qual]# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000f560

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1045     8387584   83  Linux
/dev/sda2            1045        2350    10485760   83  Linux
/dev/sda3            2350        2611     2097152   82  Linux swap / Solaris

Disk /dev/sdb: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd4f54031

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         102      104432   83  Linux      => 추가로 /dev/sdb1로 생성됨.
[root@localhost qual]#

 

마지막에 w를 하고 파티션 설정을 꼭 저장해야 됩니다.

이제 디스크를 추가 했으니 사용하기전에 포멧을 해야합니다.

 

파일 시스템 포멧 명령어

mkfs -t [파일 시스템] [파티션 경로]

ex) 파일 시스템(ext3/ext4 등등등)

[root@localhost /]# mkfs -t ext4 /dev/sdb1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
26208 inodes, 104432 blocks
5221 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
13 block groups
8192 blocks per group, 8192 fragments per group
2016 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729

Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[root@localhost /]#

 

파일 시스템 확인 명령어

file -s [파티션 경로]

[root@localhost /]# file -s /dev/sda1
/dev/sda1: Linux rev 1.0 ext4 filesystem data (needs journal recovery) (extents) (large files) (huge files)
[root@localhost /]#

 

이제 파티션을 추가하고 포멧도 했습니다.

추가한 하드를 쓰려면 이제 마운트(MOUNT) 하면 됩니다.

 

마운트를 하기위해 디렉토리를 만듭니다.

[root@localhost /]# mkdir Backup
[root@localhost /]# ls
Backup  bin  boot  cgroup  dev  etc  home  lib  lost+found  media  misc  mnt  net  opt  proc  root  sbin  selinux  srv  sys  tmp  usr  var
[root@localhost /]#

 

마운트 명령어

mount [파티션 경로] [마운트 할 경로]

[root@localhost /]# mount -t ext4 /dev/sdb1 /Backup

 

마운트 정보 확인

df -h

[root@localhost /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             7.8G  3.7G  3.7G  51% /
tmpfs                 504M   72K  504M   1% /dev/shm
/dev/sda2             9.8G   24M  9.2G   1% /home
[root@localhost /]# mount /dev/sdb1 /Backup
[root@localhost /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             7.8G  3.7G  3.7G  51% /
tmpfs                 504M   72K  504M   1% /dev/shm
/dev/sda2             9.8G   24M  9.2G   1% /home
/dev/sdb1              95M  1.6M   87M   2% /Backup    => mount로 새롭게 추가!!
[root@localhost /]#

이렇게 하면 끝!!!

 

하지만!! 이건 일시적인것 뿐...

재부팅을 하면 마운트를 다시 해야 합니다.

재시작을 해도 마운트가 풀리지 않도록 fstab에 등록하면 됩니다.

vi /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Oct  4 20:51:39 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=cba4e03b-05d6-4b79-ace8-8955caf5f295 /                       ext4    defaults        1 1
UUID=d316c840-a6c0-443f-b5cd-64a1c0eded2d /home                   ext4    defaults        1 2
UUID=25c07c8b-002b-43a8-ab41-a7790ec6307d swap                    swap    defaults        0 0
/dev/sdb1               /Backup                 ext4    defaults        0 0   => 추가

tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

반응형
Posted by 은총애비!!
, |
반응형

[MicroServer G7 N54L] Linux Kernel 3.16.3 compile

 

그전에 미리 설치 해야할 패키지 들이 있습니다.

ncurses-devel, hmaccalc, qt-devel, binutils, binutils-devel, make, gcc, lib, zlib, apr, apr-util, apr-devel,

libtool/automake/autoconf/compat*

설치가 되어 있으면 굳이 안하셔도..그러면 업데이트?~~ 이왕이면 최신버전이 좋겠지요?

 

1. kernel 파일을 다운 받는다.

- www.kernel.org  홈페이지에서 다운 받아도 되고 아래처럼 wget로 다운받아도 됩니다.

그래도 아래와 같이 버전별로 있으니 홈페이지에서 확인하고 받으시길 바랍니다.!!

ex) wget https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.16.3.tar.gz -> 커널 버전

 

2. 압축을 풉니다.

※ boot안에 config 파일을 커널 파일이 있는 곳에 .config로 복사한다.

그리고 make menuconfig에서 Load해서 현 리눅스에 설정을 불러온다!!(기존 설정을 불러와서 컴파일 하는 것을 추천)

[root@localhost linux-3.16.3]# make mrproper => 의존성 제거

[root@localhost linux-3.16.3]# make menuconfig => 메뉴 형식의 커널 환경 설정

SAVE 하면 .config 파일에 저장.

 

[root@localhost linux-3.16.3]# make dep => 위에서 설정한 대로 다시 의존성 작업을 함

[root@localhost linux-3.16.3]# make clean => 컴파일 하기 이전 컴파일 작업 파일(.o)등을 깨끗이 삭제 함

 

[root@localhost linux-3.16.3]# make bzImage => 실제 커널 이미지를 만들기 위한 컴파일 명령어

[root@localhost linux-3.16.3]# make modules => 옵션에서 설정한 모듈을 컴파일

[root@localhost linux-3.16.3]# make modules_install => 컴파일된 모듈을 설치

[root@localhost linux-3.16.3]# make install 을 해야 vmlinuz-3.16.3 파일이 생성됨.

[root@localhost linux-3.16.3]# make bzImage; make modules; make modules_install ;make install

 

시간이 오래 걸리니 위에 명령어 처럼 한방에 해결 하자!!

속도가 느린 VMWARE에서 6시간 정도 예상!! 그래야 속 편함...

빠른 시스템에서는 좀더 빠르겠지요?

 

[root@localhost linux-3.16.3]# make bzImage && make modules && make modules_install && make install

&& 이전단계에서 에러가 없을시 다음 단계로 진행함!!

 

마지막 make install하는데 에러 메세지가 나왔지만 걍 무시!!

ERROR: modinfo: could not find module vmware_balloon

vmware_balloon module을 찾을 수 없다는데...

 

vi /boot/grub/grub.conf에서

default=1번을 defaule=0번으로 수정하고 reboot

 

 

커널 컴파일 완료!!

반응형
Posted by 은총애비!!
, |
반응형

[기타] 다음팟 플레이어 1.5.33916

개인적으로 다음팟 플레이어를 좋아 합니다.

그런데 요즘 버전은 모르겠으나 최신버전으로 다음에서 다운받으면 DTS가 포함되어 있는 동영상을 볼 때 소리가 안나옵니다.

이리저리 코덱도 다운받아서 설치 해보고 했으나 안되고 다른 프로그램을 쓸려고 해도 그닥!!!

그래서 예전 버전은되어 인터넷으로 이리저리 찾아보고 다운받아 혹시 저처럼 필요하신 분이 있으시면 다운받으시라

압축해서 올립니다.

 

PotPlayerSetup.vol1.egg

 

PotPlayerSetup.vol2.egg

 

 

반응형

'기타(JSP & DB & 등등)' 카테고리의 다른 글

[IoT] 브런트 플러그!!  (2) 2017.05.26
[기타] 디스크 복구 파티션 삭제  (1) 2015.08.31
[패치] GNU Bash 보안 이슈!!  (0) 2014.10.09
Posted by 은총애비!!
, |
반응형

[패치] GNU Bash 보안 이슈!!

GNU Bash를 사용하는 거의 모든 리눅와 OS X가 해당이 되니 사용하시는 리눅스의 배포처에서 꼭 패치를 하시기 바랍니다.

Bourne Again Shell(Bash) 임의코드 실행 취약점 보안 이슈는 뚫리면 좀 심각하니 패치는 필수!!


CGI의 경우 HTTP Request 헤더가 환경변수에 저장된 점을 이용하여 해당 취약점을 이용하여 공격이 가능합니다.


해당 버전
우분투 12.04 / GNU bash, version 4.2.24(1)-release (i686-pc-linux-gnu) 
Mac OS X 10.7.5 / GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11) 
CentOS release 6.3 /  GNU bash , version 4.1.2(1)-release (x86_64-redhat-linux-gnu) 


해당하는 시스템
GNU Bash 를 사용하는 시스템


아래 링크에서 업데이트해 주세요.
CentOS - http://lists.centos.org/pipermail/centos/2014-September/146099.html 
Debian - https://www.debian.org/security/2014/dsa-3032 
Redhat - https://access.redhat.com/solutions/1207723 
Ubuntu - http://www.ubuntu.com/usn/usn-2362-1/ 

출처 : KT IDC
반응형
Posted by 은총애비!!
, |
반응형

 

[MicroServer N54L] rpmforge 다운 및 설치

 

rpmforge는 yum으로 안찾아지는 것을 더 찾아서 업데이트를 해줍니다.

일단 rpmforge를 다운 받습니다.(redhat enterprise기준 입니다!! 참고 바랍니다.)

아래와 같이 명령어를 치면 다운 받아집니다.

 

wget -c http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm

 

[root@localhost qual]# wget -c http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm
--2014-09-30 00:22:45--  http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm
Resolving pkgs.repoforge.org... 78.46.17.228
Connecting to pkgs.repoforge.org|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://rpmforge.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.i686.rpm [following]
--2014-09-30 00:22:45--  http://rpmforge.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.i686.rpm
Resolving rpmforge.sw.be... 78.46.17.228
Connecting to rpmforge.sw.be|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://tree.repoforge.org/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.i686.rpm [following]
--2014-09-30 00:22:48--  http://tree.repoforge.org/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.i686.rpm
Resolving tree.repoforge.org... 78.46.17.228
Connecting to tree.repoforge.org|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.i686.rpm [following]
--2014-09-30 00:22:49--  http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.i686.rpm
Resolving apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12376 (12K) [application/x-redhat-package-manager]
Saving to: `rpmforge-release-0.5.2-1.el6.rf.i686.rpm'

100%[============================================================================================================>] 12,376      21.9K/s   in 0.6s

2014-09-30 00:22:53 (21.9 KB/s) - `rpmforge-release-0.5.2-1.el6.rf.i686.rpm' saved [12376/12376]

[root@localhost qual]# 다운 완료!!

 

http://pkgs.repoforge.org/rpmforge-release 가서 자신에게 맞는 버전이 있는지 확인 합니다.

 

그리고 설치 방법은

 

rpm -ivh rpmforge-release-0.5.2-1.el6.rf.i686.rpm 하면 설치 끝!!

[root@localhost qual]# rpm -ivh rpmforge-release-0.5.2-1.el6.rf.i686.rpm
경고: rpmforge-release-0.5.2-1.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
준비 중...               ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]
[root@localhost qual]#

 

그리고 yum으로 설치 하면 됩니다.

반응형
Posted by 은총애비!!
, |

최근에 달린 댓글

최근에 받은 트랙백

글 보관함