Friday, January 11, 2013

How do I run multiple IP address on my linux server?

Q. I just picked up a Dual Xeon server I plan on running linux and cpanel on. I want to run 5 separate IP address which is what my cable modem supports. How do I run 5 IPs on one network card? How do I make them appear on WHM and Cpanel?

A. Linux is great for that, you just add the IP's to the Nic setup!
Don't know what version of linux you have but usually you can run the network scripts to add the IP's. (As long as they are all in the same class range / subnet you are golden.)
Here is a good article with step by step.
http://linux-journal.blogspot.com/2005/04/linux-multiple-ips-single-computer.html

I don't run Cpanel anymore (tried it once) but you should be able to do it from there as well.
http://www.mydigitallife.info/2007/08/06/how-to-add-ip-addresses-to-server-with-cpanel-webhost-manager-whm/

All these do is tell the card to accept traffic for the IP's you enter. All the rest is handled by apache, ftp etc.

My high school sister wants to major in business and wants to learn how to "do" Linux?
Q. I assume she's talking about Linux and Unix in servers, and not the user friendly distros like PCLinuxOS and Ubuntu, right? She's passionate and determined to learn. Where's a good place to get her started?

A. I would suggest learning how to program in C(Unix's language) because she is so determined and understanding C really helps understanding Unix. Then learn how to do some shell scripting and such.

The best thing for this would be to use the gentoo(http://www.gentoo.org) distro. You need a fast computer for this though because you're making all you're software from pure sources. If you have an okay computer(<1GHz CPU and <1GB of Ram) then it might be a little slow to install things. For this I recommend debian(http://www.debian.org/). Both have excellent documentation.

Also subscribing to a linux magazine is a good idea too. They are a bit expensive so if you can't afford it, I would suggest reading it at your local Barnes and Nobles or other bookstore.

The popular ones are Linux Journal(http://www.linuxjournal.com/) and Linux Format(http://www.linuxformat.co.uk/).

I learned UNIX and linux in like elementary school and I did this by basically trying to program new things. I think trial and error is the absolute best way.

here is a good tutorial: http://freeengineer.org/learnUNIXin10minutes.html

I hope you're successful and if you have ANY questions email me at iammisc@gmail.com.

What is the best Linux Magazine and/or book for beginners to linux?
Q. I just recently moved from windows xp to LInux and I would like to know how to fix dual boot problems. I learned a few things about the command line but I want to learn a lot more. I also need to know how to download and upgrade software like Adobe flash player and other programs. In other words I need a really good book or magazine that will help me get started. I would of course prefer something simple and fast.

A. Linux Journal

http://www.linuxjournal.com/

is the original Linux Magazine. Well, not the original but the oldest still running and widely regarded as the most authoritative.

Linux Format is the most expensive, about $15 here in New Hampshire. Nevertheless it almost always comes with an install or live CD or DVD and the articles are always of excellent quality. I strongly recommend picking up as many issues as you can afford:

http://www.linuxformat.co.uk/

Anything from O'Reilly Press is also well worth the money.

http://oreilly.com/linux/

Also there are forums, like th Ubuntu Forums (go to Ubuntu.com and look for them on the bar on the left) or the forums at http://www.linuxquestions.org ). There are also the Usenet groups which remain lively years after most have become moribund. comp.os.linux heirarchy is subscribable to via google groups. Oh, and many of the developers contribute to the last. Some of them contribute to Ubuntu forums too but Ubuntu assembles their OS out of packages from many sources so very few people work for them and those that don't you are more likely to run into on Usenet.




Powered by Yahoo! Answers

No comments:

Post a Comment