Editing Ubuntu template
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 1: | Line 1: | ||
− | + | The ubuntu template is an OpenVZ [[OS template]] that allows you to run ubuntu dapper in your [[VE]], as opposed to the normal Debian stable or Fedora. | |
− | |||
− | The ubuntu template is an OpenVZ [[OS template]] that allows you to run ubuntu dapper in your [[ | ||
''Please note, that this package is really minimal, you must even install your own language pack!'' | ''Please note, that this package is really minimal, you must even install your own language pack!'' | ||
Line 9: | Line 7: | ||
==How do I get it?== | ==How do I get it?== | ||
You may download it from one of the following places: | You may download it from one of the following places: | ||
+ | * [http://dudcore.net/ubuntu/ubuntu-6.06-i386-minimal.tar.gz Original place] (dudcore.net) | ||
* [http://download.openvz.org/contrib/template/precreated/ubuntu-6.06-i386-minimal.tar.gz download.openvz.org] | * [http://download.openvz.org/contrib/template/precreated/ubuntu-6.06-i386-minimal.tar.gz download.openvz.org] | ||
* One of the [[download mirrors]] | * One of the [[download mirrors]] | ||
Line 14: | Line 13: | ||
You must place this file in <tt>/vz/template/cache/</tt> directory on your [[hardware node]]. | You must place this file in <tt>/vz/template/cache/</tt> directory on your [[hardware node]]. | ||
− | ==How do I create a | + | ==How do I create a VE that uses this template?== |
− | All you have to do is simply create a normal | + | All you have to do is simply create a normal VE but specify ubuntu-6.06-i386-minimal as the template. For example: |
<pre> vzctl create 1002 --ostemplate ubuntu-6.06-i386-minimal </pre> | <pre> vzctl create 1002 --ostemplate ubuntu-6.06-i386-minimal </pre> | ||
− | |||
− | |||
==How do I set it up?== | ==How do I set it up?== | ||
− | You can either do those modifications on already existing | + | You can either do those modifications on already existing VE, or, if you want these changes to be incorporated into your template, create a temporary VE, do these changes, stop the VE and tar the result into the same template file. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | Well, the first thing you *must* do is install a language pack. You can do this by typing in <pre> apt-get install language-pack-en </pre> | ||
Then you should create another user. To do this, just type in <pre> adduser bob </pre> | Then you should create another user. To do this, just type in <pre> adduser bob </pre> | ||
You will probably want to install some other basic utilities: <pre>apt-get install man traceroute wget</pre> | You will probably want to install some other basic utilities: <pre>apt-get install man traceroute wget</pre> | ||
Line 47: | Line 33: | ||
==How was this template created?== | ==How was this template created?== | ||
This package was created using debootstrap, and using the ubuntu dapper repositories. There were some hacks that needed to be done to the enviorment to get it working correctly, mainly for networking. The system was bootstrapped on a real ubuntu dapper system with ovzkernel-2.6.8. I checked it with my own server and then my webhosts, and it works correctly. | This package was created using debootstrap, and using the ubuntu dapper repositories. There were some hacks that needed to be done to the enviorment to get it working correctly, mainly for networking. The system was bootstrapped on a real ubuntu dapper system with ovzkernel-2.6.8. I checked it with my own server and then my webhosts, and it works correctly. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Bugs== | ==Bugs== | ||
− | Any problems with this template? Post either on the [[Talk: | + | Any problems with this template? Post either on the [[Talk: Ubuntu template|discussion page]] or on the forums. Or post on my userpage [[User_talk:Dmb]]. |
== See also == | == See also == | ||
Line 67: | Line 46: | ||
[[Category: Templates]] | [[Category: Templates]] | ||
[[Category: HOWTO]] | [[Category: HOWTO]] | ||
− |