Linux Gurus... shed some light

scorpio5780

Member
Dec 19, 2001
119
0
0
Hi

I am a little new to linux. trying to Learn. i have installed a Redhat linux 7.2 in the server mode. I managed to get Apache running (httpd service). I got other services running too like SAMBA, FTP but dont know how to use them.

SAMBA -- I read somewhere that I can use SWAT tools for SAMBA but couldn't find it on the machine. Do I need to install it seperately? I tried locating swat files from the shell but found only one file "swat.pl" in the doc folder of samba. Please help.

FTP -- I configured FTP service and its running. But when I try to connect to it from my local network, the connection says "timed out". It doesn;t even asks for usernaem and password.

Apache -- How can I enable Apache Configuration from a remote machine. I mean remote apache adminitration.

SSH --- I can see "sshd" folder in the machine. But whats the service name for it? how to start and configure?

I know its a little too many things I am asking. :)
kindly helpppppppppppppppp
 

mgpaulus

Golden Member
Dec 19, 2000
1,112
0
0
You have to be root to run swat. Mine is located in /usr/sbin/swat, which root automatically accesses. check out /usr/share/doc/swat for more info

SSH - are you sure it's not running? do a 'ps -ef | grep ssh' I do that, and I have 2 copies running - /usr/sbin/sshd check out /usr/share/doc/ssh for more info
ssh uses port 22 for it's connections.
 

scorpio5780

Member
Dec 19, 2001
119
0
0
I dont have /usr/sbin/swat on my machine. The entry with "SWAT" entry on my machine is in doc folder of samba directory and its just one file "swat.pl". Do you think I need to install SAMBA again??
In the meantime I'll look in to SSH info u sent.
Thanx.
 

mgpaulus

Golden Member
Dec 19, 2000
1,112
0
0
If you don't have swat, then I would guess that you need to get the swat rpm, and install that. (It's probably it's own package, since you don't NEED it to install/configure SAMBA. It's a "nice to have")

what kind of remote administration of apache did you have in mind? You should be able to telnet/ssh into the apache server box, and then you can administer by editing configuration files, and stopping/starting the apache server. If you mean web pages, same way. Either edit the files, or maybe ftp a new page into the proper location.

HTH
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
sshd starts the ssh daemon.

use the command "ntsysv 3 5"
to edit what processes you wwant to start at run time
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Remember to update everything FIRST!

Last I checked, RH comes with wu-ftp, which is known for security problems.

ssh has had some security problems recently, so getting the newest, good version would be a good idea.

apache had a recent bug and upgrading to the latest (1.3.26?) is *HIGHLY* recommended.
 

MGMorden

Diamond Member
Jul 4, 2000
3,348
0
76
Just as a side note to what n0cmonkey said wu-ftp is notoriously unsecure. I've found it beneficial to not even install the default ftp server and then put in one called pure-ftpd. It's very, very simple to setup (no config files, just command line parameters) and (at least the last time I checked the website) has never had a security hole discovered. Well worth checking out (I don't know how fancy of a setup you could do with it, but I've found it more than adequate for users transferring files to and from their home directories or updating a website and such).

EDIT: Said not to install default ftp client in original post. I meant server.
 

scorpio5780

Member
Dec 19, 2001
119
0
0
well
Thanx a lot. In past 24 hours I upgraded from Redhat linux 7.2 to 7.3. But the problem with wu-ftp still persists. can't make samba working. eventually both of these are not working. Apache is working. I experimented with linux this time. Now I am going to install again. And this time as you guys suggested I will not install Apache and wu-ftp. ANd go for newer versions of these packages.
Actually I have 5 machine in my apt with a DSL connection and a router. This is my first experience with linux. I have plans to make ftp, apache, samba work. And later make it a webserver fit to run PHP and PERL. Samba has also made my life miserable. I dont know where to start from. In its configuration GUI I can't set anything. I installed the SWAT package seperately but no use. I played a lot with the system and going to play a little more before formatting in another 5 hours. I am going to install Redhat 7.3 again. ANy suggestions or help will be appreciated.
I have realized that learning linux is no jokes. Its more mind boggling but I am learning stuff. Hope my hard work and your help me learn something.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
it's not hard really it's just different, it takes time to get used to it, keep hacking at it!:D