기존에 swap없는 상태에서 시작
fallocate -l 8G /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab sysctl vm.swappiness=10
vi /etc/sysctl.conf
맨 아래에 추가 (나는 값을 20정도로 주고 있다)
vm.swappiness=10
fallocate -l 8G /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab sysctl vm.swappiness=10
add-apt-repository ppa:ondrej/php apt update apt install php8.2-fpm