Fedora Linux Support Community & Resources Center
  #1  
Old 12th March 2006, 03:52 AM
chaom79 Offline
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.
Reply With Quote
  #2  
Old 12th March 2006, 04:35 AM
jdonz's Avatar
jdonz Offline
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
Reply With Quote
  #3  
Old 12th March 2006, 04:50 AM
Zotter's Avatar
Zotter Offline
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!
__________________
If it ain't broken - you're not really trying....
Registered Linux user #227845
Reply With Quote
  #4  
Old 12th March 2006, 04:59 AM
chaom79 Offline
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
Reply With Quote
  #5  
Old 14th March 2006, 12:35 AM
elliss Offline
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.
Reply With Quote
  #6  
Old 15th March 2006, 04:22 AM
chaom79 Offline
Registered User
 
Join Date: Mar 2006
Posts: 10
thank you so much guys. I'd really appreciated it.
Reply With Quote
  #7  
Old 19th March 2006, 06:09 AM
chaom79 Offline
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.
Reply With Quote
  #8  
Old 20th March 2006, 05:47 AM
Zotter's Avatar
Zotter Offline
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?
__________________
If it ain't broken - you're not really trying....
Registered Linux user #227845
Reply With Quote
  #9  
Old 24th March 2006, 03:40 PM
elliss Offline
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...
Reply With Quote
Reply

Tags
connection, pcserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Server Connection mrwinkee Using Fedora 0 11th June 2009 05:23 AM
Squirrelmail Immdiately dropping connection: ERROR: Connection dropped by IMAP server r6ual Servers & Networking 2 28th August 2006 02:23 PM
to open FTP connection to Win Server. jsabarese Servers & Networking 1 14th June 2006 12:25 PM
ftp connection to my server webtekie Servers & Networking 2 4th August 2005 03:41 PM
Connection to a server tiberiu Using Fedora 2 26th February 2005 08:11 AM


Current GMT-time: 19:59 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat