728x90 OS117 🥰 linux swap 생성 방법 9:52 root@hostname:/> swapon -sFilename Type Size Used Priority/swap.img file 8388604 8388520 -29:53 root@hostname:/> dd if=/dev/zero of=swap32g.img count=32 bs=1GiB32+0 records in32+0 records out34359738368 bytes (34 GB, 32 GiB) copied, 129.372 s, 266 MB/s9:56 root@hostname:/> mkswap swap32g.imgmkswap: swap32g.img: insecure permissions 0644, 0600 suggested.Sett.. 2021. 6. 2. 🥰 리눅스 램 디스크 생성 리눅스 램 디스크 생성 df -h mkdir /mnt/ramdisk mount -t tmpfs -o size=1G tmpfs /mnt/ramdisk df -h 2021. 5. 26. 🥰 리눅스 캐시 제거 free -m Clear PageCache only.sync; echo 1 > /proc/sys/vm/drop_caches Clear dentries and inodes.sync; echo 2 > /proc/sys/vm/drop_caches Clear PageCache, dentries and inodes.sync; echo 3 > /proc/sys/vm/drop_caches will flush the file system buffersync 확인free -m 2021. 5. 26. centos 한국시간으로 변경하기 centos 한국시간으로 변경하기 sudo cp -p /usr/share/zoneinfo/Asia/Seoul /etc/localtime 확인 date 2021. 5. 12. 이전 1 ··· 7 8 9 10 11 12 13 ··· 30 다음 728x90