1 |
------------------------------------------------------------------------------------------- |
2 |
ATTENTION!!! |
3 |
------------------------------------------------------------------------------------------- |
4 |
|
5 |
This is pre-alpha software! |
6 |
It probably will not work on your machine without additional resources. |
7 |
Especially "uml_setup.pl" and "uml_package.pl" need some files located on |
8 |
your machine for building filesystems for a new skel or a new vhost. |
9 |
|
10 |
|
11 |
------------------------------------------------------------------------------------------- |
12 |
umltools - setup |
13 |
------------------------------------------------------------------------------------------- |
14 |
|
15 |
INSTALL |
16 |
Prerequisites: |
17 |
- uml (user mode linux) from http://user-mode-linux.sourceforge.net |
18 |
- the tun/tap networking driver from http://vtun.sourceforge.net/tun/ |
19 |
|
20 |
CONFIGURE |
21 |
1. Create a new configuration-file, please use "Config.pm" as a template. |
22 |
2. Please modify the the following part according to your configuration in _every_ "*.pl" file: |
23 |
--- snip --- |
24 |
# path to modules |
25 |
use lib '/home/service/bin/umltools'; |
26 |
|
27 |
# path to config-file |
28 |
use lib '/home/service/etc'; |
29 |
--- snip --- |
30 |
|
31 |
... the files are: uml_boot.pl, uml_package.pl, uml_setup.pl |
32 |
|
33 |
|
34 |
------------------------------------------------------------------------------------------- |
35 |
umltools - usage |
36 |
------------------------------------------------------------------------------------------- |
37 |
|
38 |
BUILD |
39 |
as root: |
40 |
useradd service |
41 |
groupadd service |
42 |
./uml_setup --skel=woody-stable --vhost=test --build --ask |
43 |
chown -R service.service <umldir> |
44 |
|
45 |
RUN |
46 |
as root: |
47 |
./uml_boot --vhost=test --prepare --ask |
48 |
|
49 |
to become service: (instead of the standard "su") |
50 |
./sue service |
51 |
|
52 |
as service: |
53 |
./uml_boot --vhost=test --start --ask |
54 |
./uml_boot --vhost=test --stop --ask |
55 |
./uml_boot --vhost=test --kill --ask |
56 |
./uml_boot --vhost=test --kill9 --ask |