--- nfo/perl/scripts/umltools/README 2002/10/22 02:32:35 1.1 +++ nfo/perl/scripts/umltools/README 2002/10/22 02:55:41 1.2 @@ -1,19 +1,46 @@ -INSTALL - as root: - useradd service - groupadd service - ./uml_setup --skel=woody-stable --vhost=test --build --ask - chown -R service.service +------------------------------------------------------------------------------------------- + umltools - setup +------------------------------------------------------------------------------------------- + + INSTALL + Prerequisites: + - uml (user mode linux) from http://user-mode-linux.sourceforge.net + - the tun/tap networking driver from http://vtun.sourceforge.net/tun/ + + CONFIGURE + 1. Create a new configuration-file, please use "Config.pm" as a template. + 2. Please modify the the following part according to your configuration in _every_ "*.pl" file: + --- snip --- + # path to modules + use lib '/home/service/bin/umltools'; + + # path to config-file + use lib '/home/service/etc'; + --- snip --- + + ... the files are: uml_boot.pl, uml_package.pl, uml_setup.pl -RUN - as root: - ./uml_boot --vhost=test --prepare --ask - to become service: - ./sue service +------------------------------------------------------------------------------------------- + umltools - usage +------------------------------------------------------------------------------------------- + + BUILD + as root: + useradd service + groupadd service + ./uml_setup --skel=woody-stable --vhost=test --build --ask + chown -R service.service + + RUN + as root: + ./uml_boot --vhost=test --prepare --ask - as service: - ./uml_boot --vhost=test --start --ask - ./uml_boot --vhost=test --stop --ask - ./uml_boot --vhost=test --kill --ask - ./uml_boot --vhost=test --kill9 --ask + to become service: (instead of the standard "su") + ./sue service + + as service: + ./uml_boot --vhost=test --start --ask + ./uml_boot --vhost=test --stop --ask + ./uml_boot --vhost=test --kill --ask + ./uml_boot --vhost=test --kill9 --ask