1. 새 릴리스 확인: 아래 명령이 최신 릴리스와 권장 업그레이드 명령을 보여준다.

sudo dnf check-release-update

2. 최신 버전 목록이 표시 된다.

 A newer release of "Amazon Linux" is available.

  Available Versions:

  Version 2023.8.20250808:
    Run the following command to upgrade to 2023.8.20250808:

      dnf upgrade --releasever=2023.8.20250808

    Release notes:
     https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.8.20250808.html

  Version 2023.8.20250818:
    Run the following command to upgrade to 2023.8.20250818:

      dnf upgrade --releasever=2023.8.20250818

    Release notes:
     https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.8.20250818.html

  Version 2023.8.20250908:
    Run the following command to upgrade to 2023.8.20250908:

      dnf upgrade --releasever=2023.8.20250908

    Release notes:
     https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.8.20250908.html

  Version 2023.8.20250915:
    Run the following command to upgrade to 2023.8.20250915:

      dnf upgrade --releasever=2023.8.20250915

    Release notes:
     https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.8.20250915.html

  Version 2023.9.20250929:
    Run the following command to upgrade to 2023.9.20250929:

      dnf upgrade --releasever=2023.9.20250929

    Release notes:
     https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.9.20250929.html

3. 특정 릴리스로 전체 업그레이드:
    - 다음처럼 릴리스 버전을 명시해 패키지 전부를 최신으로 맞춘다

sudo dnf upgrade --releasever=2023.9.20250929 -y

4. 항상 최신 버전으로 업데이트 하고 싶다면 

sudo dnf upgrade --releasever=latest -y

5. 매번 영구적으로 최신 버전으로 업데이트 하고 싶다면.
    - sudo dnf upgrade -y 하면 항상 최신버전으로 update

echo latest | sudo tee /etc/dnf/vars/releasever
sudo dnf upgrade -y
반응형

'개발 > AWS' 카테고리의 다른 글

AWS EC2 Jenkins /tmp 디렉토리 용량 부족 해결  (0) 2025.10.02
EC2 Amazon Linux 생성  (0) 2018.12.18
AWS S3 API 이용 키 생성  (0) 2018.11.28

Built-In Node Bring this node back online Update offline reason This is the Jenkins controller's built-in node. Builds running on this node will execute on the same system and as the same user as the Jenkins controller. This is appropriate e.g. for special jobs performing backups, but in general you should run builds on agents. Learn more about distributed builds. Disk space is below threshold of 1.00 GiB. Only 447.93 MiB out of 452.42 MiB left on /tmp.

 

메시지 그대로면 “Disk space is below threshold… /tmp 남은 용량 447.93MiB” 때문에 Jenkins 컨트롤러의 Built-In 노드가 자동으로 Offline 난 상태! 먼저 용량을 확보해서 온라인으로 복귀

1.  /tmp가 어디에 있는지 확인!

# /tmp가 tmpfs(메모리)인지 디스크인지 확인!
findmnt -no SOURCE,FSTYPE,OPTIONS /tmp
# 예) tmpfs tmpfs size=1G …  → 메모리 기반!
# 예) /dev/nvme0n1p1 xfs …   → 디스크 파티션!

    - EC2에 t3-micro에  설치 했는데 메모리 기반 되어있음.
    - 서버 메모리가 1GB인데 메모리 기반 이라 용량 부족.


2. Jenkins 전용 임시폴더 세팅

sudo mkdir -p /var/lib/jenkins/tmp
sudo chown -R jenkins:jenkins /var/lib/jenkins/tmp
sudo chmod 700 /var/lib/jenkins/tmp
sudo mkdir -p /etc/systemd/system/jenkins.service.d

sudo tee /etc/systemd/system/jenkins.service.d/override.conf >/dev/null <<'EOF'
[Service]
Environment="JAVA_OPTS=-Djava.io.tmpdir=/var/lib/jenkins/tmp"
EOF

sudo systemctl daemon-reload
sudo systemctl restart jenkins

 

반응형

'개발 > AWS' 카테고리의 다른 글

AWS EC2 최신버전 업데이트 하기  (0) 2025.10.02
EC2 Amazon Linux 생성  (0) 2018.12.18
AWS S3 API 이용 키 생성  (0) 2018.11.28

1. 인증서 만들기
    - PowerShell을 관리자 권한으로 열고 실행하세요!
    1). winget install -e --id FiloSottile.mkcert
    2). mkcert -install
    3). mkcert localhost 127.0.0.1 ::1
    - 2개의 파일 생성됨 localhost+2.pem, localhost+2-key.pem
    4) Nuxt 프로젝트 루트에 2파일 복사
    5) package.json에 아래처럼! 코드 추가 (dev 부분)

"scripts": {
    "build": "nuxi build",
    "local": "nuxi dev --dotenv .env.local",
    "dev": "nuxt dev --https --https.cert=localhost+2.pem --https.key=localhost+2-key.pem --dotenv .env.dev",
    "generate:dev": "nuxi generate --dotenv .env.dev",
    "generate:pub": "nuxi generate --dotenv .env.pub",
  },

   6) pnpm dev 하면 https://localhost:3000으로 뜹니다. 

2. 내가 만든 인증서 다른 PC에서 인증 되도록 
    - PowerShell  "mkcert -CAROOT" 명령러 실행
    - rootCA.pem 파일을 얻을 수 있음 다른 개발자들 PC 루트 인증서 등록

3. 루트 인증서 등록 방법

- Windows
1. PowerShell을 관리자 권한으로 실행하세요!
2. rootCA.pem 있는 경로로 이동 하세요.
3. certutil -enterprise -f -AddStore "Root" "rootCA.pem"
   명령어를 실행하세요.  
- macOS
rootCA.pem을 키체인 접근에 끌어넣기 → System 키체인에 추가 → “Always Trust” 설정!

 

 

 

반응형

+ Recent posts