Editing Basic operations in OpenVZ environment/ru
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 11: | Line 11: | ||
</pre> | </pre> | ||
− | Где <tt>CTID</tt> это числовой ID [[container|контейнера]]; <tt>osname</tt> это имя шаблона ОС( | + | Где <tt>CTID</tt> это числовой ID [[container|контейнера]]; <tt>osname</tt> это имя шаблона ОС(OS template) [[container|контейнера]], и <tt>a.b.c.d</tt> это IP адрес, который будет назначен [[container|контейнеру]]. |
Пример: | Пример: | ||
Line 27: | Line 27: | ||
</pre> | </pre> | ||
− | == | + | == Enter to and exit from the container == |
− | + | To enter [[container]] give the following command: | |
<pre> | <pre> | ||
[host-node]# vzctl enter CTID | [host-node]# vzctl enter CTID | ||
Line 36: | Line 36: | ||
</pre> | </pre> | ||
− | + | To exit from [[container]], just type <code>exit</code> and press Enter: | |
<pre> | <pre> | ||
[container]# exit | [container]# exit | ||
Line 43: | Line 43: | ||
</pre> | </pre> | ||
− | == | + | == Stop and destroy the container == |
− | + | To stop [[container]]: | |
<pre> | <pre> | ||
Line 54: | Line 54: | ||
</pre> | </pre> | ||
− | + | And to destroy [[container]]: | |
<pre> | <pre> | ||
[host-node]# vzctl destroy CTID | [host-node]# vzctl destroy CTID | ||
Line 61: | Line 61: | ||
</pre> | </pre> | ||
− | + | Now, when you know how to manage your [[container]], learn about [[Resource management]]. | |
[[Category: Installation]] | [[Category: Installation]] | ||
[[Category: HOWTO]] | [[Category: HOWTO]] |