New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Looking for Mini OpenVZ Template?
Hi,
I'm trying to find a "mini" Linux OpenVZ template that is low in memory usage and uses less diskspace than an OS like Ubuntu that i could use for testing my own c++/c applications, experimentation and sandboxing.
Basically i just need a template with a gcc compiler (c++, c)
(I'm not willing to pay for this, i've tried google search but haven't found anything.. just wondering if anyone else has came across something like this)
Comments
http://samiam.org/TinyVZ/ or Ubuntu minimal.
A tad off topic, but you can always get Debian:
http://www.debian.org/distrib/netinst
The netinstall images are small. Some providers have equivalent OpenVZ templates with them and I suppose you could investigate how to create your own image when all done. Although that requires support from the provider(s) to allow you to bring your own image.
I always use the Debian minimal installs for nodes, when and where available option. They are small and low use on RAM and disk. Since Ubuntu based on Debian, most things are available, but might require adding new source info to apt info and occasionally doing your own compiles.
just tried tinyvz now:
Creating container private area (TinyVZ-0.7.02)
Warning: configuration file for distribution TinyVZ-0.7.02 not found, using defaults from /etc/vz/dists/default
Performing postcreate actions
/etc/vz/dists/scripts/postcreate.sh: line 97: /vz/root/107/etc/hosts: No such file or directory
/etc/vz/dists/scripts/postcreate.sh: line 100: /vz/root/107/etc/hosts: No such file or directory
touch: cannot touch `/vz/root/107/etc/resolv.conf': No such file or directory
Warning: configuration file for distribution TinyVZ-0.7.02 not found, using defaults from /etc/vz/dists/default
Container is mounted
Adding IP address(es): 10.11.1.7
arpsend: 10.11.1.7 is detected on another computer : 00:04:9b:f2:44:0a
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.11.1.7 eth0 FAILED
Setting CPU units: 1000
Unable to start init, probably incorrect template
Container start failed
Killing container ...
Container was stopped
Container is unmounted
@pubcrawler as i'm looking for a openvz template the netinstall images won't work.. and i don't feel like creating a new template from it will be worthwhile
I believe there is a vzctl config/script somewhere.
If you can - than ask for RamHost.us, their mini openVZ templates are the best tuned that I have seen so far.
@ishaq got tinyvz working, scripts were in the tar.gz which also contained the actual template (lol).
@FRESH_DOMAINS i'm hosting my own containers on my own server... so that doesn't really help.
I'm still interested in other options besides TinyVZ
I said, get their templates, ask them to share, they are really good. Tuned, takes low memory.
Thought so. Is that template what you needed?
@ishaq it'll do for now, but if anyone provides info on other options.. that'll be appreciated too
Try maounique to get some prometeus one. Also IPXCORE did a 32mb one, so I think they very well have a quite minimal image.
http://download.openvz.org/template/precreated/contrib/debian-6.0-i386-minimal.tar.gz
http://download.openvz.org/template/precreated/contrib/debian-6.0-amd64-minimal.tar.gz
http://download.openvz.org/template/precreated/contrib/ubuntu-10.04-minimal_10.04_i386.tar.gz
http://download.openvz.org/template/precreated/contrib/ubuntu-10.04-minimal_10.04_amd64.tar.gz
Source: http://wiki.openvz.org/Download/template/precreated
I've already seen those templates/tried them.. they're not what i'm talking about
Oh so you're like that one guy who will waste days looking for the perfect template when apt-get remove works just as easily. Once you get that perfect template made up, export VPS as an OpenVZ image and look - task accomplished!
Is 10MB of RAM really this expensive?
You can try crux.
You could try creating your own?
@johnjohn will try and find that
@ishaq TinyVZ would probably be fine for me, but if anyone can suggest another templates that might be useful.. i'm simply asking them to suggest it
http://crux.nu/
+1
Just tear one apart and ask your provider to package it up for you. Saves so much time.
I think those minimal templates I provided the link for are like 22mb or less. I use it on my Proxmox setup