 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

12th March 2006, 03:52 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 10

|
|
|
PC to PC(server) connection
Hi guys,
I'm a newbie. I've setup my Fedora with Web Server configuration based on the information i got from the forum. Thanks to all of you people who teach us newbies on how-to setup servers, especially web server. But I have a couple of questions that I hope you guys willingly to help;
1. How can I develop or upload my website on the servers?
2. Connected directly to the server(PC to PC), is it possible that I can access the website on the server using the client PC(assuming the client PC using Windows 2000)? If can, how?
Thanks in advanced.
|

12th March 2006, 04:35 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Phoenix, AZ
Age: 36
Posts: 56

|
|
Quote:
|
Originally Posted by chaom79
Hi guys,
I'm a newbie. I've setup my Fedora with Web Server configuration based on the information i got from the forum. Thanks to all of you people who teach us newbies on how-to setup servers, especially web server. But I have a couple of questions that I hope you guys willingly to help;
1. How can I develop or upload my website on the servers?
2. Connected directly to the server(PC to PC), is it possible that I can access the website on the server using the client PC(assuming the client PC using Windows 2000)? If can, how?
Thanks in advanced.
|
For number one, the method of choice is most likely FTP. You would need and FTP server running on the web server and use a client, such as gftp to connect with.
For number two, you can connect from Windows to a linux box using PuTTY or similar SSH client. PuTTY is free and I highly recommend it. Keep in mind PuTTY and SSH are command line only, for GUI you will need to look into a VNC server.
__________________
Registered Linux User No. 373003
|

12th March 2006, 04:50 AM
|
 |
Registered User
|
|
Join Date: May 2004
Location: Central Wyoming
Posts: 637

|
|
Quote:
|
Originally Posted by chaom79
Hi guys,
1. How can I develop or upload my website on the servers?
|
gftp is a popular choice on *nix boxen. Get into the habit of using it in SSH2 mode now - not FTP. Remember, FTP passes usernames and passwords accross the network in plain text. Then if you ever have to access your server via the internet, you'll be used to doing it the 'right' way.
If you need to access from a Windows box - look for a client app called WinSCP. It does file transfers via SCP very nicely.
If I'm remembering correctly, most FC installs have the SSH server enabled by default (sshd - issue '/etc/rc.d/init.d/sshd status' to see if it's up and running.)
Quote:
2. Connected directly to the server(PC to PC), is it possible that I can access the website on the server using the client PC(assuming the client PC using Windows 2000)? If can, how?
Thanks in advanced.
|
On the client PC (windows 2k), edit the file: c:/windows/system32/drivers/etc/hosts - add a line similar to this at the end:
192.168.0.15 webserver
Difference is the IP addy you put in there will need to be the IP of your server. The name can be whatever you want it to be.
Then, on your client PC, fire up your web browser and for the address, enter 'webserver'. It'll convert that name to the IP addy of your server (cuz of the hosts file), issue the HTTP GET request and display the served page.
OR
you could just enter the IP addy of your server into your client browser - that'll work too, just ain't as much 'fun'.
Good luck!
|

12th March 2006, 04:59 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 10

|
|
|
Thanks for the reply jdonz
So, that means i have to install FTP server, along with the Web server? Or only FTP server? And wht do you mean by us a client to connect with?And how? Sorry for the lack of knowledge
|

14th March 2006, 12:35 AM
|
|
Registered User
|
|
Join Date: May 2005
Location: Wales, UK
Posts: 127

|
|
|
You don't really need the FTP service. As Zotter said, Fedora automatically includes the SSH service, which enables you to transfer files (as well as remote terminal access, and many other things). To use this, just go to the firewall utility in Fedora and tick "SSH".
You can then download the WinSCP utility to Windows to transfer files to the Fedora box, and the PuTTY utility to remotely access the Fedora command-line via SSH. Each of these utilities will ask for the name or IP address of the Fedora server, and a username/password to login to it with.
|

15th March 2006, 04:22 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 10

|
|
|
thank you so much guys. I'd really appreciated it.
|

19th March 2006, 06:09 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 10

|
|
|
Elliss,
I've tried connected PC-to-PC as I mentioned above. So, when I'm trying to activate my eth0 on fedora, the problem occured as below;
Determining IP confirmation for eth0...ping: icmp
open socket: Permission denied
ping: icmp open socket: Permission denied
failed.
So, how can I enable the connection(Fedora to Windows 2000) on the server?
Because the problem above, I've suspected thats why when i've tried using WinSCP to connect to the server, it said 'the host unable to answered......'.
Plz help.Thanks in advanced
Last edited by chaom79; 19th March 2006 at 05:28 PM.
|

20th March 2006, 05:47 AM
|
 |
Registered User
|
|
Join Date: May 2004
Location: Central Wyoming
Posts: 637

|
|
|
Looks like a firewall issue, maybe....
As root, give this command: #/etc/rc.d/init.d/iptables stop
Then try your ifup eth0 again.
Any change?
|

24th March 2006, 03:40 PM
|
|
Registered User
|
|
Join Date: May 2005
Location: Wales, UK
Posts: 127

|
|
|
The Fedora firewall is one way, so it shouldn't block any outbound connections from the system. The "you can't access the socket" type messages suggest that there is something wrong with the eth0 interface. The ping utility might be broken, but that's pretty unlikely...
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 19:59 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|