우분투 오라클클라우드 서버에 swap파일을 활성화하여 메모리를 원활하게 한다. Activate the swap files on the Ubuntu Oracle cloud server to facilitate memory.
작성자 정보
- 삼둡 작성
- 작성일
컨텐츠 정보
- 3,280 조회
- 목록
본문

# 4기가 할당 # 4 Giga Allocation
sudo fallocate -l 4G /swapfile
#권한 수정 #AuthorityCorrection
sudo chmod 600 /swapfile
# /swapfile 파일이 스왑메모리로 동작하도록 만들어줍니다. Make the /swapfile file work with swap memory.
sudo mkswap /swapfile
# 스왑을 활성시킵니다. Activates the swap.
sudo swapon /swapfile
재부팅해도 유지할 수 있게 /etc/fstab을 수정한다. Modify /etc/fstab to maintain it even after rebooting.

관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.