We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SWAP 메모리
아래와 같은 순서로 EC2 인스턴스에 swap 메모리를 적용
$ ssh -i {key-pem 파일} {서버 OS}@{퍼블릭 IP주소}
# swapfile 메모리를 할당 sudo dd if=/dev/zero of=/swapfile bs=128M count=16
# swapfile 권한 셋팅 (READ, WRITE) sudo chmod 600 /swapfile
# swap 공간 생성 (Make swap) sudo mkswap /swapfile
# swap 공간에 swapfile 추가하여 즉시 사용할 수 있도록 sudo swapon /swapfile
# /etc/fstab vi 에디터 열기 sudo vi /etc/fstab # 파일의 맨 끝 다음 줄에 아래 명령어 작성 /swapfile swap swap defaults 0 0
free
top shift + p
The text was updated successfully, but these errors were encountered:
yunyoung1819
No branches or pull requests
상황
개념
SWAP 메모리
해결
아래와 같은 순서로 EC2 인스턴스에 swap 메모리를 적용
참고
The text was updated successfully, but these errors were encountered: