Hey everyone,
As the title says I have a desktop PC with Cent OS 5.5 that i want to be a dedicated server for my other Ubuntu Desktop and my Vista Laptop. The reason being is for PHP and HTML website design and such. I need to be able to Design and Host sites for myself for practice and testing and all that. PHP and HTML web design is still new to me but I'd rather have my own materials to test with than pay every month to use someone elses...
But anywho,
As far as I can tell I have all the tools on Cent OS that I need. I just don't know how to configure and test that all connections between systems are working properly.
Can someone help me out and walk me through it? I'm not networking savvy :(
Thanks
3 replies to this topic
#1
Posted 27 March 2011 - 08:36 PM
How many programmers does it take to fix a light bulb? ...None, its a hardware problem.
|
|
|
#2
Posted 28 March 2011 - 04:38 PM
Assuming you have installed a LAMP stack (if you hadn't, there is documentation here: Quick 'n' Easy LAMP Server For CentOS/RHEL | HowtoForge - Linux Howtos and Tutorials and others.
First of all you may wish to get the local address of that computer, you would be typing ifconfig in to the console, possibly as root user first.
What you will need to look for in the output of ifconfig, is the eth0 device if that is what you are using, the inet addr (IPv4 address this means) should be something similar to 192.168.x.y (the x and y could differ)
If you are able to access http://127.0.0.1 to verify your LAMP server is running, then you can next try to access http://192.168.xxx.yyy (address from earlier) on a different computer, this assumes that you are using a router between the two computers.
If there is no firewall, or inbound port 80 is allowed, then on another computer within your local network accessing that address should serve a page.
First of all you may wish to get the local address of that computer, you would be typing ifconfig in to the console, possibly as root user first.
What you will need to look for in the output of ifconfig, is the eth0 device if that is what you are using, the inet addr (IPv4 address this means) should be something similar to 192.168.x.y (the x and y could differ)
If you are able to access http://127.0.0.1 to verify your LAMP server is running, then you can next try to access http://192.168.xxx.yyy (address from earlier) on a different computer, this assumes that you are using a router between the two computers.
If there is no firewall, or inbound port 80 is allowed, then on another computer within your local network accessing that address should serve a page.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 28 March 2011 - 06:03 PM
I will get LAMP, but otherwise, I've set a static IP, and also have set the gateway, subnet mask, and dns. I have 3 cards in my pc but only eth2 is actiive but is working and thats the connection I have set this info to. I went into the router I use for internet and disabled my firewall if I remember correctly. i also have putty installed on my laptop to get in to my server but it keeps saying the connection keeps timing out
How many programmers does it take to fix a light bulb? ...None, its a hardware problem.
#4
Posted 03 April 2011 - 09:12 AM
Ok so here's the deal. I decided to install Ubuntu 10.10 and turn it into a server, which I managed to do and it is working just fine. I have puTTY and WinSCP on my Vista laptop and have tried connecting to the Ubuntu server from my laptop and it works great. The only issue I'm having is that on Ubuntu I can connect to http://localhost/phpmyadmin and log in, on Vista (with xampp) I can connect to http://localhost/phpmyadmin as well, but they dont seem to be the same thing...I haven't set my laptop up to be a server and I am connected when I do this so I figure they would both log into the same one.
I just need this set up so that I can test websites I build and what not. I also just kinda want to set my server up and be able to leave it be and make changes with my laptop if I wanted to...it's no big deal if I cant but I at least need the 2 (desktop Ubuntu and laptop Vista) to be able to communicate with each other and work on the same server and the same http://localhost/phpmyadmin
I just need this set up so that I can test websites I build and what not. I also just kinda want to set my server up and be able to leave it be and make changes with my laptop if I wanted to...it's no big deal if I cant but I at least need the 2 (desktop Ubuntu and laptop Vista) to be able to communicate with each other and work on the same server and the same http://localhost/phpmyadmin
How many programmers does it take to fix a light bulb? ...None, its a hardware problem.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









