CentOS yum install 메모리 에러


vps 서버에 php mysql 을 설치하려고 하는데 아래 처럼 에러가 발생하네요~

아무래도 메모리 부족인 것 같습니다.

Error downloading packages:

  libX11-common-1.6.5-1.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory

  libX11-1.6.5-1.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  php-cli-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  php-mbstring-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  php-pdo-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  libzip-0.10.1-8.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  apr-util-1.5.2-6.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  perl-Data-Dumper-2.145-3.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  php-gd-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  autoconf-2.69-11.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory

  libXpm-3.5.12-1.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  php-mysql-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  php-fpm-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  php-devel-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  m4-1.4.16-10.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  mailcap-2.1.41-2.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory

  perl-Thread-Queue-3.02-2.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory

  php-common-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  automake-1.13.4-3.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory

  httpd-tools-2.4.6-80.el7.centos.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  libxcb-1.12-1.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  libXau-1.0.8-2.1.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  httpd-2.4.6-80.el7.centos.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  t1lib-5.1.2-14.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  apr-1.4.8-3.el7_4.1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  libjpeg-turbo-1.2.90-5.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  php-5.4.16-45.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

  perl-Test-Harness-3.28-3.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory

  2:libpng-1.5.13-7.el7_2.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

https://ivps.tistory.com/283 여기를 참고해서 스왑 메모리가 없다면 추가해 주면 됩니다.


스왑메모리를 1기가 정도 추가해주고 부터는 설치가 잘 되는군요~



블로그 이미지

iVPS 영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

Tag ,

댓글을 달아 주세요