Editing
Util-vserver:Howto virtualize an exisiting Linux server
(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!
== Virtualize CentOS4 == * Create a regular guest <pre>vserver yourguest build ...</pre> * Empty the just created guest <pre>rm -rf /vservers/yourguest/*</pre> * Copy your old server to the previous folder <pre>rsync -rv --progress --partial yourguest:/ /vservers/yourguest/</pre> * Remove the fstab <pre>rm /vservers/yourguest/etc/fstab</pre> * Remove the services that makes troubles at start <pre>rm /vservers/yourguest/etc/rc.d/init.d/network rm /vservers/yourguest/etc/rc.d/init.d/.....</pre> * Disable Pam authentification for ssh access <pre>edit /vservers/yourguest/etc/ssh/sshd_config -> (UsePAM no) replace # Listen with Listen yourguestip (this has to been done on the host too is your host ip)</pre> * Remove the useless modules <pre>rm /etc/modprobe.conf</pre> * Start your vserver ! <pre>vserver yourguest start</pre> <div class="printfooter"> Retrieved from "http://wiki.linux-vserver.org/util-vserver:Howto_virtualize_an_exisiting_Linux_server" </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