본문 바로가기

블루호스트 VPS WHM & C-Panel 업데이트 설치

노랗 2024. 5. 31.
반응형

블루호스트 VPS WHM & C-Panel 업데이트 설치

WHM & C-Panel Version이 30일 뒤 서비스가 종료 \

저는 블루호스트의 워드프레스 VPS 요금제를 사용하고 있습니다. 최근들어 계속 메일로 WHM & C-Panel Version이 30일 뒤 서비스가 종료된다고 메일이 계속 오면서 업데이트를 해야 함을 느꼇습니다.

Your system’s cPanel & WHM version (11.110.0.33) will reach End of Life in 29 day on Sun Jun 30 00:00:01 2024. We strongly recommend that you upgrade to the latest version to avoid any disruption in your service. For more information on how to update your version, read our Update Preferences documentation.

This notice is the result of a request made by a computer with the IP address of “xxx.xx.xx.xx” through the “upcp” service on the server.

A reverse DNS lookup on the remote IP address returned the host name ‘server.xxx’.

원격 컴퓨터의 위치가 다음과 같아 보입니다. United States (US).

The remote computer’s IP address is assigned to the provider: ‘Unified Layer’

The system failed to look up the remote IP address’s fingerprint because of an error: (XID 5yqpag) 시스템이 오류로 인해 “UNIX 도메인 소켓을 “/var/cpanel/userhomes/cpanelconnecttrack/p0f.socket”에 연결하지 못했습니다. Connection refused The system failed to connect a UNIX domain socket to “/var/cpanel/userhomes/cpanelconnecttrack/p0f.socket” because of an error: Connection refused

The system generated this notice on 2024년 5월 31일 금요일 at AM 12시 27분 20초 UTC.

“cPanel & WHM End of Life Notice” notifications are currently configured to have an importance of “High”. You can change the importance or disable this type of notification in WHM’s Contact Manager at: https://server.xxx.co.kr:2087/scripts2/editcontact?event=Update::EndOfLife

Do not reply to this automated message.

우선 WHM & C-Panel 잘 사용하진 않지만 불안하기 때문에 업데이트를 하기 위해 whm 로그인합니다.

블루호스트의 도메인 주소/WHM 주소로 로그인할 수 있습니다.

그럼 블루호스트 워드프레스에 대하여 Root 권한으로 WHM 서버로 접속할 수 있으며 현재 설치된 OS가 CentOS v7.9 2009 Standard 버전으로 cPnel Version 110.0.33 버전입니다.

이 버전을 선택하면 최신버전으로 업그레이드가 가능합니다.

이렇게 간단하게 씨패널을 최신버전으로 업데이트 할 수 있습니다.

근대 문제는 씨패널 업데이트 후 나오는 cPanel & WHM 버전 110은 CentOS 7을 지원하는 마지막 버전입니다. 이 버전에 대한 지원은 2024년 7월 31일에 종료됩니다. 2024년 7월 31일 이전에 서버를 AlmaLinux 8, Rocky Linux 8, 또는 CloudLinux™ 8로 마이그레이션하는 것이 좋습니다. 자세한 내용은 cPanel 지원 중단 계획 문서를 참조하세요.

CentOS 7의 cPanel 및 WHM 설치를 AlmaLinux 8로 업그레이드하는 스크립트에 대해 알아보려면 아래의 "AlmaLinux 8로 업그레이드" 버튼을 클릭하세요.

라는 문제로 정식 내용은 아래와 같습니다.

cPanel & WHM version 110 will be the last version that supports CentOS 7. Support for version 110 will end 2024년 7월 31일. We encourage you to migrate to a server running AlmaLinux 8, Rocky Linux 8 또는 CloudLinux™ 8 before 2024년 7월 31일. For more information, read our cPanel Deprecation Plan documentation.

Click the “Elevate to AlmaLinux 8” button below to read about a script you can use to upgrade cPanel & WHM installations on CentOS 7 to AlmaLinux 8.

Only system administrators (root and root-level resellers) see this message.

우선 OS가 만료되면서 업데이트를 하라고 하느데 업데이트 방법을 알아보니 꽤나 복잡해? 보입니다.

cPanel & WHM 버전 110을 AlmaLinux 8로 업그레이드하기

업그레이드 프로세스는 다음과 같습니다.

1. elevate-cpanel 스크립트 다운로드

먼저, elevate-cpanel 스크립트를 다운로드하고 실행 권한을 부여해야 합니다.

wget -O /scripts/elevate-cpanel \
    https://raw.githubusercontent.com/cpanel/elevate/release/elevate-cpanel
chmod 700 /scripts/elevate-cpanel

2. 업그레이드 사전 체크

업그레이드 전에 시스템에 문제가 없는지 확인합니다. 이 체크는 시스템에 변경을 가하지 않습니다.

/scripts/elevate-cpanel --check

3. 업그레이드 실행

서버 백업을 완료하고 업그레이드 블로커를 해결한 후, 업그레이드를 시작할 수 있습니다. 이 업그레이드는 30분 이상 소요될 수 있으며, 이 기간 동안 서버가 다운될 수 있음을 사용자에게 알리세요.

/scripts/elevate-cpanel --start

4. 명령어 옵션

다양한 elevate-cpanel 명령어 옵션을 사용할 수 있습니다:

  • 도움말 읽기 및 위험 사항 확인
/scripts/elevate-cpanel --help

업그레이드 가능 여부 확인 (드라이 런 모드)

/scripts/elevate-cpanel --check

업그레이드 시작

/scripts/elevate-cpanel --start

현재 상태 확인

/scripts/elevate-cpanel --status

업그레이드 로그 모니터링

/scripts/elevate-cpanel --log

오류 발생 시, 수정 후 업그레이드 계속 진행

/scripts/elevate-cpanel --continue

5. 업그레이드 과정 요약

업그레이드는 여러 단계로 나뉘어 있으며, 각 단계 사이에 재부팅이 수행됩니다. 마지막 단계에서도 재부팅이 수행됩니다.

  • 1단계: elevate-cpanel 서비스를 설치하여 여러 번의 재부팅을 관리합니다.
  • 2단계: 현재 배포판의 패키지를 업데이트하고 cPanel 서비스를 비활성화하며 motd를 설정합니다.
  • 3단계: elevate 리포지토리를 설정하고 leapp 패키지를 설치합니다. cPanel 패키지를 업데이트 준비합니다. 충돌하는 패키지를 제거하고 기존 설정을 백업합니다. leapp 업그레이드를 시도합니다.
  • 4단계: RHEL 8 기반 배포판으로 전환합니다. 새로운 배포판에 맞게 cPanel 제품을 업데이트하고, 이전 단계에서 제거된 패키지를 복원합니다.
  • 5단계: 업그레이드 프로세스의 마지막 단계로, 시스템 검사를 수행하고 정리를 합니다. 업그레이드 과정에서 사용된 elevate-cpanel 서비스를 제거하고 마지막 재부팅을 수행합니다.

위의 단계를 따라 cPanel & WHM을 AlmaLinux 8로 안전하게 업그레이드할 수 있습니다.

이에대해 업데이트 방법이 어려워서 블루호스트 측에 문의해보니 수동업데이트를 하지 않고 기달리면 자동으로 업데이트 된다고 합니다. 만약 업데이트가 어렵다면 그냥 기달려도 될거 같습니다.

반응형

댓글