Very interesting script, especially since I can't make out most of what it does starting with line 8 (first 'sed' command)… adding brief comments in it, line by line, would be very helpful (for bash newbies like me
So simple and useful… pure genius! A couple of suggestions, though… not much hassle to add (for bash guru), but making the script much more user friendly:
check for existing containers and start with next container id in line as default input
change OS text input to a list select input, populating it from /vz/template/cache
EDIT: I know, I know… a couple of other things, add a web front end, and will wind up with another OpenVZ CP
Comments
Just install openvz like normal: https://openvz.org/Quick_installation
Thanks but how to set ram hdd ip quota etc ?
Any easy automatic installation? like have panel to create container , etc
Wow - "how to set ram cpu disk ip on openvz" can be easily googled.
For your sake, I'll help you out.
First, install OpenVZ with the quick install page.
Then, download templates from https://openvz.org/Download/template/precreated.
Create a container:
Add an IP address:
Start a container:
Set memory limit:
Set disk limit:
Those are the basics. Use the OpenVZ wiki to learn more.
Thanks
But how to take control those container, like start, reboot, etc
Is is possible to install panel like openvz web panel or proxmox on this KVM ?
I beleive the command is vzctl enter...did you even look at the wiki
@add_iT
@flamerunner already told you how to start a container....vzctl start...
also interested in deploying OpenVZs within a KVM, so the KVM might "have" multiple timezones
Just use virtualizor free trial to set it up and you will get it going right away
if you like virtualizor just pay 1$/mo for it and be happy^^
Well follow this:
And install the Ovz Web Panel:
Use above method for my kimsufi box [Source]
I have install OVZ Web Panel before but when try to login inside it said no physical server found and i cannot create any container
try hostguard
https://github.com/jarland/ServerScripts/blob/master/installopenvz-cent6.sh
https://github.com/jarland/ServerScripts/blob/master/vzup.sh
My workflow.
I followed your "guide" and it worked like a charm. Thanks!
Now i successfull installing it but i cannot connect to ovz side
Let see if i have ip eth0 xx.xx.xx.x2 / xx.xx.xx.xx.x6 / xx.xx.xx.x9 on KVM side node
How to assign it to each container?
Make sure the IPs are not bound to any interface and then add them to the container.
vzctl set CTID --ipadd IPADDRESS --save
Very interesting script, especially since I can't make out most of what it does starting with line 8 (first 'sed' command)… adding brief comments in it, line by line, would be very helpful (for bash newbies like me
So simple and useful… pure genius!
A couple of suggestions, though… not much hassle to add (for bash guru), but making the script much more user friendly:
check for existing containers and start with next container id in line as default input
change OS text input to a list select input, populating it from /vz/template/cache
EDIT: I know, I know… a couple of other things, add a web front end, and will wind up with another OpenVZ CP
Thanks , im remove all additional IP from interface and it fully works now
Really useful information