LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-30-2004, 03:47 AM   #16
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30

Try issuing the make uninstall command from the directory that you unpacked and ran all the configure, make, etc. commands in. If that command isn't found(there is a specific error that make gives when you do a make uninstall and it doesn't work, but I can't remember what it is), then my guess is it installed it in /usr/local somewhere. Look around in those folders and delete anything with proftp in the name that you find. There might be a better way to do this, but I'm not sure. Maybe someone else will chime in.
 
Old 10-30-2004, 03:49 AM   #17
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Cool, but wats the difference between the standard vi and the vim? Coz I realsed u removed it and installed vim and change it to vi.

Ok, I've done all that, what do I do next?
 
Old 10-30-2004, 03:54 AM   #18
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
What do you mean by you've done all that? Do you mean you have the proftp that you installed removed, and you got it all working?
 
Old 10-30-2004, 03:56 AM   #19
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Re: ~

Quote:
Originally posted by blk96gt
I was going to suggest using vim actually. I've never used pico, so I can't really comment on it. If you want to give vi(m) a try, here's what I would do to get it the most user-friendly.
Use the following command to delete the vi symlink that's there by default(it points to the editor joe if I remember right):
Code:
rm /usr/bin/vi
Then use this command to make vi a symlink to vim(this is not necessary, but I'm lazy and don't like typing the 'm'):
Code:
ln -s /usr/bin/vim /usr/bin/vi
Now what I always do to get a good working config file for vim is copy the default one that came with it to your home directory(and any other users home directory that you want to use vi in):
Code:
cp /usr/share/vim/vim63/vimrc_example.vim ~/.vimrc
Now you can try vi out and see how you like it. To get into insert mode, hit the 'i' key. To exit out of insert mode and back to command mode, hit escape. If you want to save without exiting, type in a colon and then a 'w'(ie :w), and then hit enter. To save and exit, type in a colon and then 'wq'(ie :wq). To exit without changing, type in a colon and then 'q!'(ie :q!).

vi is much more powerful then this, and these are just a very minimal set of commands for basic editing. If you find you like vi, or just want to see more of what it can do, I would suggest going through the tutorial. Just copy the /usr/share/vim/vim63/tutor/tutor file to your home directory and then have at it.
Oh, thats wat I meant. I've done all that. Now I need to get it working. How do I execute the program and make it work?
 
Old 10-30-2004, 03:58 AM   #20
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
By the way, if I wanna remove a package that I download online, do I type this in the command line?

removepkg proftpd

OR

removepkg proftpd-1.2.10.tar.gz

which one do I do? If I execute the first command, will I too lose the whole proftpd even in /etc/inetd.conf?

Cheers
 
Old 10-30-2004, 04:03 AM   #21
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
removepkg will only work with .tgz(Slackware) packages.

To use vi, just type in vi filename and the program will open up.
 
Old 10-30-2004, 04:07 AM   #22
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by blk96gt
removepkg will only work with .tgz(Slackware) packages.

To use vi, just type in vi filename and the program will open up.
Ah ok, so how do I remove source packages?

Ok, so what do I do next to make a ftp server?
 
Old 10-30-2004, 04:16 AM   #23
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Try to run a make uninstall in the source directory. If that doesn't work, my guess would be that the files were installed in /etc/local, so I would go through the folders there and look for anything with proftp in the name and then delete that.
 
Old 10-30-2004, 04:47 AM   #24
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Ok,

I think I will delete the source folder. The 'make uninstall' doesnt work. I will delete the folder. I'll try something else later.

But at this crucial time, I really need to get that FTP server going on my system. Can you please guide me through it?

BTW: I dont have /etc/local (the local folder)
 
Old 10-30-2004, 04:52 AM   #25
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Crap I meant /usr/local, sorry.

Just look back at my earlier post about uncommenting the line in the /etc/inetd.conf file to start proftp, and then restarting inetd.
 
Old 10-30-2004, 05:06 AM   #26
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Ok, i've deleted those with proftpd files, but the files with ftp are still there, do I need to delete those too?

I've uncommented the line, how do u restart and start proftp? You mean restart as in restartin linux?
 
Old 10-30-2004, 05:26 AM   #27
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
No, to restart inetd, just use this command:
Code:
/etc/rc.d/rc.inetd restart
 
Old 10-30-2004, 05:38 AM   #28
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by blk96gt
No, to restart inetd, just use this command:
Code:
/etc/rc.d/rc.inetd restart
Ok, I've done that... it said

"Starting Internet super-server daemon: /usr/sbin/inetd"

What do I do now?
 
Old 10-30-2004, 06:17 AM   #29
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
If you have proftd installing and you restart the inetd daemon, try connecting to your ftp
 
Old 10-30-2004, 06:24 AM   #30
Spyiish
Member
 
Registered: Aug 2004
Location: Australia, Melbourne
Distribution: Slackware 10
Posts: 105

Original Poster
Rep: Reputation: 15
Oh ok, can I use ssh from windows and log on to it? Is there a way to log on into my ftp server? What about username and password?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a home Game server pAn1k Linux - Networking 2 10-12-2004 05:55 PM
setting up FTP server sulfur Linux - Newbie 4 09-02-2004 08:48 PM
Can i get help setting up an ftp server? jon_k Linux - Software 1 04-18-2004 02:46 PM
Setting up an FTP server? ogden2k Linux - Networking 4 05-26-2003 09:48 PM
Setting up an FTP Server??? Ricardo77uk Linux - Networking 5 06-25-2001 05:36 PM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration