Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: lscangus on 6 August 2003, 05:51

Title: Dunno how to setup a SERVER in Linux
Post by: lscangus on 6 August 2003, 05:51
I am trying to move from server 2003 to linux, but linux is too difficlut for me, coz i am new to it. So, how can i share the internet connection with anohter computer that conencts to the Linux ( eth0 ), and also, how to setup a HTTP and a FTP Server?

Thanks for you guys!
Title: Dunno how to setup a SERVER in Linux
Post by: Faust on 6 August 2003, 21:35
You'll need to install a web server and ftp server for a start.  Likely apache and ftpd - most distros will have them in the install docs.  What are you using now?

For sharing internet connection you'll need a proxy (like squid (i think)) or iptables.  Squid will share http only over set ports, while iptables can be used for every port.  (masquerading.)

So in summary:
stuff="apache,ftpd,squid,iptables"
for item in stuff do
  install $item
  man $item
  google $item
done
Title: Dunno how to setup a SERVER in Linux
Post by: Faust on 6 August 2003, 21:36
Ah red hat...  I don't read sigs.  You should just be able to install apache and ftpd off the cds and have them set up automatically.  Masquerading may be a little more tricky but I haven't seen many of red hats "wizards" lately, so they're may be one for that too.
Title: Dunno how to setup a SERVER in Linux
Post by: lscangus on 6 August 2003, 12:26
ya, thx for ya help, finally i have setup a http and ftp server, but still stuck in the network sharing.