File: INSTALL

package info (click to toggle)
dphys-swapfile 20100506-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 220 kB
  • sloc: sh: 424; makefile: 46
file content (33 lines) | stat: -rw-r--r-- 1,020 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
http://neil.franklin.ch/Projects/dphys-swapfile/INSTALL
author Neil Franklin, last modification 2006.12.22
copyright ETH Zuerich Physics Departement
  use under either modified/non-advertising BSD or GPL license

To install/config/use dphys-swapfile do the following:


Source install
==============

1. Download and unpack the .tar.gz archive file from:

   http://neil.franklin.ch/Projects/dphys-swapfile.tar.gz or
   http://neil.franklin.ch/Projects/dphys-swapfile-<date>.tar.gz
     where last milestone/release is <date>=20061020

   make
   make install


Configuration
=============

1. install this software
2. set up the config file (system wide /etc/default/dphys-swapfile or
   /etc/dphys-swapfile or both) if you dislike the defaults
   - They should be good enough for most sites
3. run the dphys-swapfile script at startup:
   - /sbin/dphys-swapfile setup - if you want to auto-resize when RAM changes
   - /sbin/dphys-swapfile swapon - allways
   and shutdown:
   - /sbin/dphys-swapfile swapoff - allways