Setting up Ubuntu LAMP Server for local web server
I'm a web designer that's been using Linux on shared servers running cPanel for quite a while. I've setup an Ubuntu 6.06 LTS LAMP server on a spare box in my office so I can use it as a development and testing server. I installed the OS and it went perfectly. Of course, there's no GUI, but I really didn't want that, although I may end up needing to add one. :)
Still I have a few newbie questions and was hoping someone could give me some pointers, or direct me to resources that might help. My eyes are starting to cross from searching for, and reading, articles.
Here's the gear:
Here are my goals:
Here's where I am in the setup:
Here's what I don't yet know:
Well, that's enough for now. Thanks in advance for any help you may be able to give.
1. You'd set the static IP on the linux box. I don't use Ubuntu, but I'm guessing it will be under /etc/conf and probably net or net.eth0
2. If linux is set to static, it wouldn't matter that the router tries to send out an IP via DHCP, linux would just ignore it.
3. You could configure DNS, or add an entry for the linux box in your existing DNS server's zone. If you don't have local DNS, you could add the entry into the HOSTS file of the machine(s) you are connecting from.
4. Not sure on this one. Odds are you'd add a arguement like init=3 or init=5 in the kernel line.
5. Don't even know what cPanel is, sorry.
Thanks so much for the assistance - I really appreciate it.
Would you recommend running local DNS? Could I then give the server a domain like myowndomain.com and hit the webserver using this name (assuming it's not taken elsewhere on the net)?
I was looking for a similar, free alternative, but it's not a big deal.
A web based configuration editor that I recently found that is probally similar to the one you are talking about is called WebMin http://www.webmin.com/. Don't know if it is what you are looking for, but it says it supported on Unbuntu. Actually just did the desktop version install and may end up doing the LAMP for fun.
You don't need to have local DNS since its only 3 computers. Just add the IPs to the HOSTS file
Windows location is c:\winnt\system32\drivers\etc\HOSTS
Linux location is /etc/hosts
The line would be something like
Your linksys router will allow you to set up a permanent lease for each of the boxes you have on your local network, as well as serving DHCP addresses to any external systems, ie laptops, that you might also access the network with.
Webmin is my configuration tool of choice for the LAMP server, and I know it works with ubuntu.
Edit /etc/grub.conf to show that the init stat of your gnome installation is set to runlevel 5 (init=5) and this should allow you to default boot into the graphical desktop.
|All times are GMT -5. The time now is 12:37 PM.|