Poll

Should I add IPv6 support to the VMs?

Hell yeah! (Yes)
1 (100%)
No way! (No)
0 (0%)
What the f*ck? (What?)
0 (0%)
Get the f*ck out of here! (Don`t have opinion!)
0 (0%)

Total Members Voted: 1

Voting closed: August 02, 2017, 09:22:04 PM

Author Topic: OpenVZ with CWP  (Read 86744 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Re: OpenVZ with CWP
« Reply #15 on: July 03, 2017, 10:18:21 PM »
Hello again guys,
I just wanted to prepare you mentally that you will need around 8-9 GB free space to download all the templates for the VMs. Depending on your download speed it can take from 30min to a lot of time(if you have such a sh*t internet, don`t play with hosting and VMs :) ). I`ve did a very big research on google to find as much as possible templates. Also I checked all free web panels who offer VPS option and I want CWP to be able to offer the best! By the way the admin panel is 95% ready! Just to add the IP Pool option to it and the Downloader for the templates which is 1h job. After it comes the testing and the start of the client panel. See you soon!
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #16 on: July 04, 2017, 08:16:27 AM »
As I`m not familiar with iptables (got xp with pf, not iptables) I would request help from administrators and users.
The situation:
As we are going to have multiple virtual machines on one host and may be 80% of them will be with local IP we need to set port forwarding for every single VM so the user can log directly to his VM.
Ex:
SERVER_PUBLIC_IP:PORT -> SERVER_LOCAL_IP:PORT
So if the user try to connect to SERVER_PUBLIC_IP on PORT to be redirected to SERVER_LOCAL_IP on PORT.
I don`t know how is in other countries, but in my country to get an A, B, C class network of IP addresses costs thousands. Even if you have a C class network of IP addresses you will need to forward ports for SSH, HTTP, POSTFIX, ...
So again my question is:
How to setup iptables to forward SERVER_PUBLIC_IP:PORT for SSH to SERVER_LOCAL_IP:PORT
How to setup iptables to forward 88.254.168.171:2951 for SSH to 192.168.1.105:2951
I beg you for a quick response. Thanks in advance.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #17 on: July 06, 2017, 05:21:23 PM »
(...)
I don`t agree with that since I saw a post in the forum that somebody want to change the logo of CWP and I don`t like that when somebody is offering something good to you for free you want to change logo/copyright to sign it on your name.
(...)

I think this is the purpose of "brands".
You can brand anything copyrighted.

Don't forget you are posting in a forum, branded with "SMF - Simple Machines Forum", but the SMF software allows perfectly to use the logo AND the signature of CWP.

Offline
***
Re: OpenVZ with CWP
« Reply #18 on: July 06, 2017, 10:21:31 PM »
SMF allows this in the Configuration. CWP doesn`t. If there was option "Upload Your Logo" I don`t mind, but since there`s not I mind it. May be in the next release of CWP there will be an option to upload your own logo under the logo of CWP, who knows ..
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #19 on: July 06, 2017, 10:31:13 PM »
Some pictures for Creating New Virtual Machine:
http://imgur.com/uoMR3kz
http://imgur.com/foTVzqY
http://imgur.com/CBbTclv
http://imgur.com/QhFN7ki
http://imgur.com/bOrkRC9
May be I will remove the option for the Root Password and the Root Password will be the same as the User Password. What do you think? Is it going to be better? To login to CWP and VM with the same password?
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
**
Re: OpenVZ with CWP
« Reply #20 on: July 07, 2017, 08:27:26 AM »
Some pictures for Creating New Virtual Machine:
http://imgur.com/uoMR3kz
http://imgur.com/foTVzqY
http://imgur.com/CBbTclv
http://imgur.com/QhFN7ki
http://imgur.com/bOrkRC9
May be I will remove the option for the Root Password and the Root Password will be the same as the User Password. What do you think? Is it going to be better? To login to CWP and VM with the same password?

i learn all post and this is very good for cwp panel.

i want to try this.
maybe u need go to tutorials created for allways see in one video if u can.

Quote
Administrator
maybe talk with administrator for created this plugins for CWP and pay for this plugins (3$ for exampel and administrator chose % for money and u darkness other)

This plugins for one dedicated can created money and we (administrator and you) can earned with donations of for this plugins.

This is for all works u work for created this plugins / module for CWP.

Sorry my bad english.

And in ur questions
"May be I will remove the option for the Root Password and the Root Password will be the same as the User Password. What do you think? Is it going to be better? To login to CWP and VM with the same password?"

Maybe u said good, first time can created passwords same User (Username123|Username123) or same this is easy for all users after we can change if dont like the pass.

Offline
***
Re: OpenVZ with CWP
« Reply #21 on: July 07, 2017, 11:41:52 AM »
robbyq I didn`t understand about this $3 and % you were talking about.
by the way everybody can change his root password after logging in the VM with simple command "passwd".
so, yeah. I will remove the "Root Password".
I`m still thinking how to make the single ports -> to be random generated from 40000 to 65535 or the admin to choose/write it manual. Even from 60000 to 65535 is too much for a single server to handle this much VMs. I think that 2000 ports will be more than enough for a single server to be reserved for VMs. Also there are few more config options which I still don`t know how will be better to make them. And the downloader - to download all available OpenVZ templates or the administrator to download the templates manually and from there to short the list of available OSs that users can choose. For the moment the Downloader is downloading all available which I found in google after 2 weeks deep search for templates. At the moment there are 61 distributions, but most of them are different versions of the same Linux. I was wondering to cut the oldest ones and to leave just the last releases, but like this the admin can`t offer VPS with 128MB RAM for example and that`s why I left them.
Sorry for the delay with the panel but I have my other business to care about, my garden, my bees, now I`m making full renovation of the house alone, MY FAMILY and tomorrow I`m waiting guests from NY. It`s hard to find 1 hour of free time to work on it. Mostly after 2AM and 6AM I got to start other work again. But the admin part is almost done. Soon can be released for testing and if the tests pass without any errors I can give it for release. Then I can start with the Client part.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #22 on: July 07, 2017, 08:03:18 PM »
So again I am away from the developing machine and again I forgot to setup my routers to have access to it. Good that I got another server here, so I can start to work on the client panel here and later to merge them.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #23 on: July 15, 2017, 09:46:37 PM »
Hello people,
I just got an unexpected travel to Hungary on wednesday for around 10 days. I will take all I need with me and make myself access to the developing machine, but since I got an important job there I will use any free minute to continue developing the module. This will again expand in time the release, but I have no choice. Please excuse me for that.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #24 on: July 20, 2017, 06:44:50 PM »
Hello guys,
Everything was going ok up to now. Now I headbanged with a problem with executing a shell command through php with so many variables. As of bash documentation "var=${1}...${255}", but ... something goes wrong when sending all the needed variables to the bash script. If anybody got any (advanced) skills in bash I will be very thankful for the help or the release time will be extended again until I find the way to fix it. The other way is to rewrite half of the source code in php and to write like 60 bash files each one to be ready for each OS with specific options like 512M ram, 1G swap, 5G disk space and to send only 3-4 variables to this script. But I don`t see it as a better decision. Will see. Any help is welcome.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #25 on: July 24, 2017, 03:50:07 AM »
Ok now. The problem with the bash is fixed and it`s creating new Virtual Machines, now to fix the api call to add new user to CWP.
Note: For good or for bad the module is going to be with a bash installer, because we will need some programs like lshw for example.
Stay tuned.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #26 on: July 24, 2017, 09:05:38 PM »
Question to Administrator, Igor S. or any other CWP developer:
What it means "Failed to include API File!!!". After executing "curl http://192.168.199.107:2030/api/?key=Ez6T2extKTDx37Ltvcz&api=account_new&domain=example.com&username=testuser&password=testpass&package=1&email=test@born2host.com&inode=10000&nofile=100&nproc=25" I get Failed to include API File!!!. The key is correct, I added all possible IP addresses that I can come out with from the local network + the external IP - It doesn`t seem to be IP problem. Please, decode for me this "Failed to include API File!!!" to be able to continue work on the VPS panel.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
***
Re: OpenVZ with CWP
« Reply #27 on: July 25, 2017, 11:35:04 AM »
Anyway I fixed it. Everything is working fine. To the admin panel I need to add just some config stuff which is not very important, but it`s working! I tried Fraps, Shadowplay, OBS Studio, but I couldn`t make them work to make a video to see the panel in action. If you know free program for making videos that works on Windows 10 let me know to make a video for you. Stay tuned and I`m starting the work on the client panel.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
**
Re: OpenVZ with CWP
« Reply #28 on: July 25, 2017, 11:47:52 AM »
hi, OBS Studio i used and work fine. Need u help for configurations?

can recording and after u can upload youtube or same, and imput url.

If need help u can said me

Offline
**
Re: OpenVZ with CWP
« Reply #29 on: July 25, 2017, 11:49:58 AM »
Question to Administrator, Igor S. or any other CWP developer:
What it means "Failed to include API File!!!". After executing "curl http://192.168.199.107:2030/api/?key=Ez6T2extKTDx37Ltvcz&api=account_new&domain=example.com&username=testuser&password=testpass&package=1&email=test@born2host.com&inode=10000&nofile=100&nproc=25" I get Failed to include API File!!!. The key is correct, I added all possible IP addresses that I can come out with from the local network + the external IP - It doesn`t seem to be IP problem. Please, decode for me this "Failed to include API File!!!" to be able to continue work on the VPS panel.

I have same errors:

Quote
Administrator
Quote
Sandeep
Quote
Igor S.