Editing
Installation on CentOS
(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!
== <span class="editsection">[<nowiki/>[[index.php?title=Installation_on_CentOS&action=edit§ion=6|edit]]]</span> <span class="mw-headline"> Install a guest </span> == As root, try the following to test your installation (this example installs a CentOS 5 guest) <pre>vserver testing01 build -m yum --context 4040 --hostname=test01.test.loc \ --interface eth0=eth0:192.168.101.101/255.255.0.0 -- -d centos5</pre> yum will install the minimal packages now. If you see something like <pre> /usr/lib/util-vserver/distributions/centos5/initpost: line 105: 3587 Killed $_VSERVER "$vserver" exec bash -c ': >/tmp/startwait' >&/dev/null</pre> Don't worry, it's okay. At this point you should be able to start and enter your vserver install. To start the guest do, <pre>vserver testing01 start</pre> And to enter the guest, do <pre>vserver testing01 enter</pre> If you want to manage the packages inside the guest, you will have to install some package management programs as well as internalize the RPM database. This can be achieved by <pre>vyum testing01 -- install yum vserver testing01 pkgmgmt internalize</pre> Depending on your host distribution, you may also need to do <pre>vserver testing01 exec bash -c "rm -f /var/lib/rpm/__db*; rpm --rebuilddb"</pre> You'll know it's required if a simple ''rpm -qa'' inside the guest complains about a database version mismatch. To get back to the host, just exit the shell. If all goes well you now have a working setup :) <div class="printfooter"> Retrieved from "http://wiki.linux-vserver.org/Installation_on_CentOS" </div> <div class="visualClear"> </div> </div> </div>
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