| 1 |
http://neil.franklin.ch/Projects/dphys-swapfile/INSTALL |
| 2 |
author Neil Franklin, last modification 2006.12.22 |
| 3 |
copyright ETH Zuerich Physics Departement |
| 4 |
use under either modified/non-advertising BSD or GPL license |
| 5 |
|
| 6 |
To install/config/use dphys-swapfile do the following: |
| 7 |
|
| 8 |
|
| 9 |
Source install |
| 10 |
============== |
| 11 |
|
| 12 |
1. Download and unpack the .tar.gz archive file from: |
| 13 |
|
| 14 |
http://neil.franklin.ch/Projects/dphys-swapfile.tar.gz or |
| 15 |
http://neil.franklin.ch/Projects/dphys-swapfile-<date>.tar.gz |
| 16 |
where last milestone/release is <date>=20061020 |
| 17 |
|
| 18 |
make |
| 19 |
make install |
| 20 |
|
| 21 |
|
| 22 |
Configuration |
| 23 |
============= |
| 24 |
|
| 25 |
1. install this software |
| 26 |
2. set up the config file (system wide /etc/default/dphys-swapfile or |
| 27 |
/etc/dphys-swapfile or both) if you dislike the defaults |
| 28 |
- They should be good enough for most sites |
| 29 |
3. run the dphys-swapfile script at startup: |
| 30 |
- /sbin/dphys-swapfile setup - if you want to auto-resize when RAM changes |
| 31 |
- /sbin/dphys-swapfile swapon - allways |
| 32 |
and shutdown: |
| 33 |
- /sbin/dphys-swapfile swapoff - allways |