Portal Home > Knowledgebase > Articles Database > Newbie starting out


Newbie starting out




Posted by rd412, 04-04-2009, 07:02 PM
Hello, I have been using already pre-configured VPS servers for the past couple years. Recently I purchased a dedicated server to learn more, and I've been trying to set it up properly. However, I'm running into a few speed bumps along the way. Please note, I do not want the usual suggestion of "You don't know anything so just purchase managed hosting". I want to learn, I have to learn, and I'm looking for some guidance. So if you can help me any, I would very much appreciate it. I am running CentOS 5.3 and I have setup HyperVM. However, the DNS is really confusing me. My Dedicated server host, setup the basics in CentOS and when I got into it I followed a guide called "The Perfect Server - CentOS 5.2", which was mainly about setting up the server to run ISPConfig 3... but I want to run HyperVM so it doesn't cover everything I need. Now here's the confusing part for me, how do I setup the DNS and hostname properly? I can't seem to find a guide that explains it in newbie terms. What else do I need to setup to get hypervm running? They don't seem to have specific configuration guides once you have it installed... Can anyone help me out with the basics of this? Thank you.

Posted by r00ter, 04-04-2009, 07:19 PM
Hi, None of that is needed for HyperVM. Just start with a clean CentOS install. When you have the CentOS installed and ready to go, just run these commands: This will install the HyperVM software for you. When that's all finished running, run the following command: Then press the letter 'a' on your keyboard. Navigate to DEFAULT=1 and change it to DEFAULT=0 if not there already. Then press ':' followed by 'wq' and then hit enter. Now you're ready to reboot the machine. When you reboot the machine, HyperVM will be accessible at http://your.ip.add.ress:8888 Hope that covers everything!

Posted by CorvetteX, 04-04-2009, 07:24 PM
I know nothing of HyperVM but on most Linux servers the hostname stuff can be edited in the file /etc/hosts and the DNS zone stuff is controlled through /etc/named.conf If you tell me specifically what you are trying to do I can help. Do you have any experience with SSH? Are you trying to do this through a control panel?

Posted by net, 04-04-2009, 07:30 PM
Moved > Technical & Security Issues.

Posted by rd412, 04-04-2009, 10:04 PM
I see. Thank you for your replies. I have no problem accessing the HyperVM panel, I inputted the IP's I have into my IP pools, and created a new VM through OpenVZ. However, I get this error when I go to the VM IP. If you are seeing this page, it means that web has not been configured for this domain on this server. This could be due to the following causes: # Lxadmin has not restarted the web server yet after you added the domain. Please wait for the web server to restart. # The domain is pointing to the wrong Lxadmin server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses # If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain. # Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP. Any ideas on this one? The IP it is pointing to is a valid IP.. in my pool. I also can't access the :7777 port on that certain IP. I ran the install LxAdmin, but it doesn't change anything.

Posted by rd412, 04-04-2009, 10:07 PM
Thank you. Yes I do have experience with SSH, that's where I'm doing most of it. I had no experience with HyperVM before now and that's where I get confused. I don't really have a solid grasp on the hostname stuff or the dns stuff yet. From what I understood, HyperVM is supposed to be basically do everything for me. But as you can see above, the IP addresses seem to be causing issues. Do I need to add the IP addresses somewhere else besides the IP pools?

Posted by rd412, 04-04-2009, 10:16 PM
Maybe I'm just confusing the whole thing. Do I need to install DHCP and start handing private IPs to my VM's? Or does each VM require a public dedicated IP to operate correctly?

Posted by PCS-Chris, 04-05-2009, 08:25 AM
HyperVM installs everything you need from the start. You can pretty much get a blank server, install HyperVM with --virtualization-type=openvz or xen and run it through, check kernel and reboot. From there you create an IP pool and you can then start adding VM's. There is no additional configuration needed to make VM's work, unless your provider allocated your IPs in a private VLAN, in which case you might need to make some modifications. Obviously you will also want to take steps to secure the host server itself, and there are a number of tweaks and settings you can change as well.

Posted by rd412, 04-05-2009, 10:19 AM
Thank you. Do you have any tips on securing the host server?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
axishost down? (Views: 641)

Language: