From Genome Analysis Wiki
Jump to navigationJump to search
618 bytes removed
, 09:47, 21 May 2013
Line 60: |
Line 60: |
| (3) Follow the instructions to install a Debian package [[Pipeline Debian Package|debian package]] | | (3) Follow the instructions to install a Debian package [[Pipeline Debian Package|debian package]] |
| Run the tests to be sure everything is OK. | | Run the tests to be sure everything is OK. |
− |
| |
− | == Make Sure System Has Swap Space ==
| |
− |
| |
− | Issue the command '''swapon -s''' to see if there is swap space.
| |
− | If there is only a header line, you need to add a swap file like this:
| |
− |
| |
− | <code>
| |
− | df -h # Be sure there's enough space, decide on swap size
| |
− | # Create a file /swap to use (assuming / is large enough)
| |
− | sudo bash # Run these commands as root
| |
− | swap=/swap
| |
− | dd if=/dev/zero of=$swap bs=1073741824 count=15 # 15GB swap
| |
− | chown root:root $swap
| |
− | mkswap $swap
| |
− | chmod 0600 $swap
| |
− | swapon $swap
| |
− | echo "$swap none swap sw 0 0" >> /etc/fstab
| |
− |
| |
− | swapon -s # Should show the swap device
| |
− | </code>
| |
| | | |
| == Configure the Host to be Usable == | | == Configure the Host to be Usable == |