Editing
FedoraHowTo
(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!
== C. VServer creation == <ol> <li>'''Build a new vserver''' The first step is to build a basic new server. Using the install-script from the util-vserver package, you can create a very basic server (using the minimum filelist) or a full install of CD 1: <ul> <li>A minimum vserver named "test": ''cd /usr/lib/util-vserver && ./install-fc1 test minimum''</li> <li>A full CD1 install vserver: ''cd /usr/lib/util-vserver && ./install-fc1 test''</li></ul> The installer script will create a new vserver with the give name in /vservers and the appropiate config and startup files in /etc/vservers <ul> <li>For the vserver to work standalone with a real ip, you need to modify the <servername>.conf file in /etc/vservers to suit your needs</li> <li>If you want your vserver to come up at boot time, set ONBOOT=yes ( you need to enable the vservers service on your host for that to work, too! - run ''ntsysv'' to enable it)</li> <li>Disable all unwanted services on the hostserver while you're at it. We don't need xinetd or sendmail in daemon mode...</li></ul> </li> <li>'''Enter the new vserver''' Once the vserver has been created, you can use it. Usually you want at least syslog and cron to run, so we need to configure that. <ul> <li>Enter the vserver (''vserver test enter'') and run ''ntsysv'' again - now in the vserver - to select the services (at least syslog and cron a recommended)</li> <li>Leave the vserver and try to run in standalone: ''vserver test start''</li> <li>You should see the usual booting messages of starting services along with some vserver specific notes</li> <li>To verify that your vserver is up and running, you can call ''vserver-stat''</li></ul> </li></ol> <span id="d.-vserver-updates"></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