User talk:Mattzerah: Difference between revisions
From Linix VServer
Jump to navigationJump to search
imported>Mattzerah No edit summary |
imported>Mattzerah No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
where command can be one of: | where command can be one of: | ||
* [[#build|build]] | |||
enter | * [[#enter|enter]] | ||
start | * [[#start|start]] | ||
stop | * [[#stop|stop]] | ||
== build == | == build == | ||
To create a guest, you need to build it. Build takes several arguments. You can get an overview of the vserver build command by looking at the man page | |||
vserver help build --help | |||
The syntax for a minmal vserver build command is... | |||
vserver <guest_name> build -m <method> --context <context_id> --hostname=<guestname@hostname.com> --interface <guest_if>=<real_if>:<guest_ip>/<guest_mask> -- -d <dist_code> | |||
The options for the build command are | |||
* -m <method> | |||
* --context <context_id> | |||
* --hostname=<guestname@hostname.com> | |||
* --interface <guest_if>=<real_if>:<guest_ip>/<guest_mask> | |||
Further options may be given after the -- switch | |||
* -d <dist_code> | |||
== start == | |||
To start a guest simply give it the start command | |||
vserver testguest stop | |||
== enter == | == enter == | ||
To shell into the guest, use the enter command | |||
vserver testguest enter | |||
== stop == | == stop == | ||
To stop a guest simply give it the stop command | To stop a guest simply give it the stop command | ||
vserver testguest stop | vserver testguest stop | ||
[[User:Mattzerah|Mattzerah]] | [[User:Mattzerah|Mattzerah]] | ||
Latest revision as of 05:15, 11 May 2007
util-vserver usage[edit]
vserver <guest_name> <command> <parameters>
where command can be one of:
build[edit]
To create a guest, you need to build it. Build takes several arguments. You can get an overview of the vserver build command by looking at the man page
vserver help build --help
The syntax for a minmal vserver build command is...
vserver <guest_name> build -m <method> --context <context_id> --hostname=<guestname@hostname.com> --interface <guest_if>=<real_if>:<guest_ip>/<guest_mask> -- -d <dist_code>
The options for the build command are
- -m <method>
- --context <context_id>
- --hostname=<guestname@hostname.com>
- --interface <guest_if>=<real_if>:<guest_ip>/<guest_mask>
Further options may be given after the -- switch
- -d <dist_code>
start[edit]
To start a guest simply give it the start command
vserver testguest stop
enter[edit]
To shell into the guest, use the enter command
vserver testguest enter
stop[edit]
To stop a guest simply give it the stop command
vserver testguest stop