| 
		
			| Common Practice Question (noob) [message #2377] | Fri, 31 March 2006 15:42  |  
			| 
				
				
					|  WH7702 Messages: 2
 Registered: March 2006
 | Junior Member |  |  |  
	| I’ve just recently gotten started with OpenVZ, and so far have been enjoying it very much.  I do have a couple of questions that I’ve been scratching my head about today however and thought I would join the community and get a little input… 
 So I’ve installed OpenVZ (install docs make it a breeze!).
 
 I created a couple of CentOS4 VPS’s, one using the minimal template, one using the default template.  All went well.
 
 
 The first thing I did was login to the minimal install.  I tried a “yum install “, yum was not present, then tried a “wget “ and it was not present either.  I later discovered that using vzyum I could install yum on the VPS, and I them yum’d wget to install that as well.
 
 1. I guess my first question is, how different is a minimal VPS from a minimal install from CD?  What else other then yum and wget are missing?
 
 2. My second question is, does anyone have a procedure that they currently use to take a minimal VPS to make it function as if it was a minimal cd install?
 
 3. Obviously I a simply playing at this point, but is there anything I should be doing (in the future should I put this to use), to enhance security?
 
 I appreciate any input!
 
 WH7702
 
 
 EDIT: locate command seems to be missing from minimal as well.
 It seems that the default template is a little more complete, but it also seems to include httpd, smb, and some other things that are NOT appart of a minimal cd install.
 [Updated on: Fri, 31 March 2006 17:14] Report message to a moderator |  
	|  |  | 
	| 
		
			| Re: Common Practice Question (noob) [message #2384 is a reply to message #2377] | Sun, 02 April 2006 10:11   |  
			|  |  
	| | Quote: |  | I guess my first question is, how different is a minimal VPS from a minimal install from CD? What else other then yum and wget are missing?
 
 | 
 
 -minimal is just bare bones needed to start and run the VPS. You can see the actual list of packages (not including their dependencies as they are calculated run-time) in /vz/template/OSNAME/OSVERSION/OSARCH/config/minimal.list file; or just run rpm -qa inside a VPS to see what's in there.
 
 Minimal is what it is -- minimal. One possible use of it is to create your own OS template flavors based on this one.
 
 
 | Quote: |  | does anyone have a procedure that they currently use to take a minimal VPS to make it function as if it was a minimal cd install?
 
 | 
 If you want a VPS to contains the same list of packages as minimal cd install, just create this list (say, using rpm -qa --qf "%{name}" in a freshly installed system). Then you can take minimal.list as a base and add the missing packages to it, saving the result to, say, min_cd.list. Finally, run vzpkgcache OSNAME-OSVERSION-OSARCH-min_cd to create the actual template cache.
 
 So, basically, you can modify all those .list files to create the OS template cache you like/need.
   
 Kir Kolyshkin
 
   |  
	|  |  | 
	|  |