Editing
Linux-vserver administrators gide
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== E. Administation of linux-vserver == '''1. The tools''' <ul> <li>vserver This command lets you manage the vservers. usage: vserver VSERVER <command> The next commands are supported by vserver <ul> <li>build : Create a virtual server by copying the packages of the root server</li> <li>enter : Enter in the virtual server context and starts a shell. Same as \"vserver name exec /bin/sh\"</li> <li>exec : Exec a command in the virtual server context</li> <li>suexec : Exec a command in the virtual server context uid</li> <li>service : Control a service inside a vserver. vserver name service service-name start/stop/restart/status</li> <li>start : Starts the various services in the vserver, runlevel 3</li> <li>stop : Ends all services and kills the remaining processes</li> <li>running : Tells if a virtual server is running. It returns proper exit code, so you can use it as a test.</li> <li>status : Tells some information about a vserver.</li> <li>chkconfig : It turns a server on or off in a vserver.</li> <li>--nodev : Do not configure the IP aliases of the vserver. Useful to enter a vserver without enabling its network and avoiding conflicts with another copy of this vserver running elsewhere.</li> <li>--silent : No informative messages about vserver context and IP numbers. Useful when you want to redirect the output</li></ul> </li></ul> <ul> <li>newvserver This script installs a new vserver.</li></ul> <ul> <li>vpstree Presents the processes running in all virtual servers</li></ul> <ul> <li>vtop A version of top which shows all running processes in all virtual servers and on the host server. Look at "man top" for the options.</li></ul> <ul> <li>vkill Lets you kill a process running in a vserver. It kills the process inside the vservers this running in.</li></ul> <ul> <li>vps The vps utility is simply a wrapper for the ps program. It shows all processes running on the computer (on host and in the virtual servers). It does have the same syntax as the command ps.</li></ul> <ul> <li>vserver-stat This utility shows informations about all the running vservers on the machine.</li></ul> <ul> <li>vrpm This is simply a wrapper for the rpm utility. It enables rpm to manage a specific, several or all virtual server(s) with one command. vrpm is executed in the root server. Using the unify option of vrpm, you can save diskspace by share files between a template vserver and you other vservers. It replaces the files by symbolic links.</li></ul> '''2. Configuration files and startup scripts.''' * /etc/vservers.conf * /etc/init.d/vservers * /etc/init.d/rebootmgr * /etc/vservers/VSERVER.conf * /etc/vservers/VSERVER.sh '''3. Daemons''' * rebootmgr <span id="f.-references"></span>
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information