Editing Physical to container
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.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 16: | Line 16: | ||
</source> | </source> | ||
− | + | <b>Hint:</b> Now comes the dummy container handy mentioned above: Simply copy the xxx.conf file of the dummy to your new yyy.conf and modify it. | |
− | |||
− | |||
== Copying the data == | == Copying the data == | ||
Line 33: | Line 31: | ||
/etc/mtab | /etc/mtab | ||
/etc/lvm | /etc/lvm | ||
− | |||
− | |||
</pre> | </pre> | ||
Line 132: | Line 128: | ||
=== /dev === | === /dev === | ||
− | |||
==== Introduction: static /dev ==== | ==== Introduction: static /dev ==== | ||
Line 186: | Line 181: | ||
===/proc=== | ===/proc=== | ||
− | |||
− | |||
Make sure the /proc directory exists: | Make sure the /proc directory exists: | ||
ls -la /vz/private/123/ | grep proc | ls -la /vz/private/123/ | grep proc | ||
Line 196: | Line 189: | ||
=== /etc/init.d services === | === /etc/init.d services === | ||
− | Some system services can (or in some cases should) be disabled | + | Some system services can (or in some cases should) be disabled. A few good candidates are: |
* acpid, amd (not needed) | * acpid, amd (not needed) | ||
Line 208: | Line 201: | ||
* lm_sensors (container does not have access to hardware sensors) | * lm_sensors (container does not have access to hardware sensors) | ||
* microcodectl (container can not update CPU microcode) | * microcodectl (container can not update CPU microcode) | ||
− | * netplugd (container does not have real Ethernet device | + | * netplugd (container does not have real Ethernet device) |
− | |||
− | |||
− | |||
− | |||
To see which services are enabled: | To see which services are enabled: | ||
Line 371: | Line 360: | ||
* Debian 6.0.4 with DTC Hosting Contro Panel . 15:00, 14 May 2012 | * Debian 6.0.4 with DTC Hosting Contro Panel . 15:00, 14 May 2012 | ||
* Debian 6, LAMP with ISPManager CP (no adjustments were made, just transferred the file structure and created ctid.conf) 03:19, 15 Jun 2012 | * Debian 6, LAMP with ISPManager CP (no adjustments were made, just transferred the file structure and created ctid.conf) 03:19, 15 Jun 2012 | ||
− | |||
− |