9 апреля 2015 г.

Creating swap on Linux

To create 1Gb swap partition:

Switch to superuser  and run the following commands:
$ sudo su 
root# dd if=/dev/zero of=/mnt/swap.0 bs=1024 count=1048576
root# mkswap /mnt/swap.0
root# echo "/mnt/swap.0 swap swap defaults 0 0" >> /etc/fstab
root# swapon /mnt/swap.0
root# exit

To check if swap space was properly enabled:
$ free -m
or
$ sudo swapon -s

1 комментарий:

  1. It took us a full day of labor just to polish a simple artwork sculpture and we nonetheless ended up with those annoying lines that you simply see on low high quality ABS/PLA 3D prints. To add salt to the wound, eradicating supports was time consuming as nicely. As someone who spent hours eradicating supports, we don't need to you place you through that hell. If you value your time, the amount of time you will spend sanding these prints would price lots. And even then, the quality would not be on par compared to with} resin. The Anycubic Photon M3 makes costly SLA printers a thing of the past with a price ticket that is less Heated Blanket than $300.

    ОтветитьУдалить