Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Paladin9 on 29 February 2004, 05:25

Title: Major help needed here.
Post by: Paladin9 on 29 February 2004, 05:25
Right now I have a win2k server box that I am using as a server(duh). I keep my important things on it. I have a web site running on it using apache(just and experiment, I have to use my ip address to access it and the port number is not 80).  I also have it running as an ftp server so I can access my shit from anywhere I want(it has a password of course so I can write to it and so no one else can get to my stuff). Last of all, it of course if my home file server that is accessed by my pc's and mac's.  The thing is, I no longer want to use windoze. I would like to use linux. I  am pretty sure I would use slackware, but I do not know how to do this stuff! Is apache already come with slackware? and if so, how do I use it and configure it? What about ftp software? My big question is this; how do I do file sharing that could be used by windows and osx???  I tried doing this a while ago with samba but I could not get it to work right. I got frustrated and gave up, so I have been using win2k server since. Could someone please help make this change? If you help me I will be your best friend. Well not really... but I would really appreciate the help since I do not know what the hell I am doing.
Title: Major help needed here.
Post by: flap on 29 February 2004, 05:57
Yes, Apache comes with Slack. I'm guessing configuration on Windows isn't any different from in Unix. And yes you can set up an ftp server. And yes you should be able to get Samba working to share files.
Title: Major help needed here.
Post by: Paladin9 on 29 February 2004, 06:05
great, so how do I do all of that?
Title: Major help needed here.
Post by: flap on 29 February 2004, 06:11
Well are you asking how to install all of that specific stuff, or just how to install slackware in the first place?
Title: Major help needed here.
Post by: Paladin9 on 29 February 2004, 07:07
I already have slackware installed actually. I also just installed apache but I do not know how to get it running.  I know about coniguring it with the .conf file and stuff, but how do I get it running and how do I get it to run at startup? I tried "service httpd start" but that did not work. It said command service not found. In redhat, osx and many other os's, I could use the command "service" how come it does not work in slackware?
Title: Major help needed here.
Post by: Doogee on 29 February 2004, 08:18
to start apache do

Code: [Select]
Title: Major help needed here.
Post by: WMD on 29 February 2004, 21:05
quote:
Originally posted by Paladin9 still has a G5:
I also just installed apache but I do not know how to get it running.  I know about coniguring it with the .conf file and stuff, but how do I get it running and how do I get it to run at startup? I tried "service httpd start" but that did not work. It said command service not found. In redhat, osx and many other os's, I could use the command "service" how come it does not work in slackware?


I have Slackware myself, and I use apachectl start to run Apache.  (http://smile.gif)
Title: Major help needed here.
Post by: worker201 on 29 February 2004, 12:22
There's an ncurses thing you can run from the installation program, or the command line, that lets you choose which services you want to run at startup.  Apache and Samba are in that list.  Only problem is, I can't remember or seem to find what it's called.  So I guess I am useless.
Title: Major help needed here.
Post by: SAJChurchey on 1 March 2004, 01:20
quote:
Originally posted by d00g33 :: doogee.is.dreaming.org:
to start apache do

Code: [Select]
[/b]


My guess is you use RH or Fedora.  That particular command is distro-specific.  Just for future reference.
Title: Major help needed here.
Post by: KernelPanic on 1 March 2004, 03:58
My guess is you're wrong, that is how you start it in slackware not RH.

Paladin9, the service command doesn't work because that one is Red Hat specific. It's only a wrapper script anyway.

[ February 29, 2004: Message edited by: Tux ]

Title: Major help needed here.
Post by: Paladin9 on 1 March 2004, 04:27
quote:
Originally posted by WMD:


I have Slackware myself, and I use apachectl start to run Apache.   (http://smile.gif)  



looks like apachectl start is the winner. how do i run and configure the ftp daemon?
Title: Major help needed here.
Post by: TheQuirk on 1 March 2004, 21:00
I don't mean to sound like a dick, but, have you tried using Google? Here's a link (http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=linux+ftp+server+tutorial&btnG=Google+Search) that gave me a bunch of good results.
Title: Major help needed here.
Post by: mobrien_12 on 1 March 2004, 14:18
My $0.02

Don't start an FTP server.  Not on linux, not on Windows.

Some bastard sniffs your plaintext password over an insecure network and bad things will happen.

Instead use OpenSSH (http://).  It has a secure ftp (sftp) subsystem.  You can install the open-source psftp client on your windows machines.
Title: Major help needed here.
Post by: Paladin9 on 1 March 2004, 20:07
quote:
Originally posted by M. O'Brien:
My $0.02

Don't start an FTP server.  Not on linux, not on Windows.

Some bastard sniffs your plaintext password over an insecure network and bad things will happen.

Instead use OpenSSH (http://).  It has a secure ftp (sftp) subsystem.  You can install the open-source psftp client on your windows machines.



I am not worried about this. I am doing this on my network at home. Do you think my family knows what packet sniffing is? And as for the outside world, people are first going to have to realize that I exist and that I have and ftp site running from my ip before they will do anything to it. And even if someone does find out about it, they are going to need to know what port I run it on becuase it is not 21.
Title: Major help needed here.
Post by: flap on 1 March 2004, 20:57
If your machine is open to the outside world you have to expect people to find it. Crackers looking for vulnerable machines just scan random ip ranges; they don't necessarily go after specific machines. And if ftp is the only service you want open to the outside world, you should make sure every other port is firewalled off.

[ March 01, 2004: Message edited by: flap ]

Title: Major help needed here.
Post by: Paladin9 on 1 March 2004, 22:05
I have been running and http and web site for almost a year now without a problem. I do have only the needed ports forwarded. All others are blocked by my router.  I am also not using standard ports. The thing is, I want to start using slackware instead of win2k server. I want my server to be totaly microsoft free.  The ftp server software I was using was really easy to use, so is there any easy to use ftp software out there for linux?