Difference between revisions of "Ubuntu template"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
m (Ubuntu Template moved to Ubuntu template: As in Wikipedia, the convention is to leave the second and all the next words as lowercased unless they really need to start from the capital letter.)
(No need to use list here, added a note about template modification)
Line 17: Line 17:
 
<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? (for the user, or if your customizing the template)==
+
==How do I set it up?==
* 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>
+
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.
*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>
+
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 all you have to do is follow the ubuntu tutorials [https://wiki.ubuntu.com/ApacheMySQLPHP here].
+
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>
 +
Then all you have to do is follow the ubuntu tutorials [https://wiki.ubuntu.com/ApacheMySQLPHP here].
  
 
==Packages already installed==
 
==Packages already installed==

Revision as of 11:02, 13 June 2006

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. Please note, that this package is really minimal, you must even install your own language pack!

Why would I want to use ubuntu template?

The ubuntu template includes more up-to-date software. For example, it allows you to install apache 2.0.55, php 5, mysql 5, apache mono and more. Also, if you are used to using ubuntu as a Linux distribution for your desktop, you would be more familiar with it, as they use the same exact packages and repositories. Also, you can just follow the Ubuntu wiki easily to install your software, as ubuntu has really good documentation. In addition, ubuntu dapper LTS has a 5 year time period of support.

How do I get it?

You may download it from one of the following places:

You must place this file in /vz/template/cache/ directory on your hardware node.

How do I create a VE that uses this template?

All you have to do is simply create a normal VE but specify ubuntu-6.06-i386-minimal as the template. For example:

 vzctl create 1002 --ostemplate ubuntu-6.06-i386-minimal 

How do I set it up?

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

 apt-get install language-pack-en 

Then you should create another user. To do this, just type in

 adduser bob 

You will probably want to install some other basic utilities:

apt-get install man traceroute wget

Then all you have to do is follow the ubuntu tutorials here.

Packages already installed

  • Basic debootstrap system
  • nano
  • ssh/sshd
  • quota

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.

Bugs

Any problems with this template? Post either on the discussion page or on the forums. Or post on my userpage User_talk:Dmb.