VPS

From ElectroDragon Wiki
Revision as of 18:11, 3 September 2019 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Block Storage

  • mkfs.ext4 -F /dev/sda
  • mkdir -p test
  • mount -o discard,defaults,noatime /dev/sda /mnt/test
  • nano /etc/fstab
  • /dev/sda /mnt/test ext4 defaults,nofail,discard 0 0

Common Errors

  • gcc: internal compiler error: Killed (program cc1) - 内存不足, openvz 不能增加swap