LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Setting up a FTP server and Game server (https://www.linuxquestions.org/questions/slackware-14/setting-up-a-ftp-server-and-game-server-248710/)

Spyiish 10-29-2004 07:30 AM

Setting up a FTP server and Game server
 
Hi all,

I need a real expert to tell me how to setup a FTP and a Game server on Slackware Linux. I heard Slackware is the best distro to setup a server.

Can someone tell me what programs I need to download and manuals or step-by-step instructions? I've searched everywhere and still get nothing.

I hope to hear from you ASAP.

Thanks,
Spyiish

acid_kewpie 10-29-2004 07:32 AM

step by step instructions for a "game server" ?? any network based game that can run sa linux server, will have it's own operational procedures... you're question is extremely vague...

as for an ftp server, just install proftpd or such like and read their documentation.

Spyiish 10-29-2004 07:55 AM

For the FTP server, where do I download this program? Is there a site I can download it? Will it be secure enough?

Cheers,
Spyiish

acid_kewpie 10-29-2004 07:59 AM

try here http://www.google.com/search?q=proftpd ;)

Spyiish 10-29-2004 08:10 AM

Is that the only program that offers good ftp reliability and security?

blk96gt 10-29-2004 11:27 AM

There is also vsftp, which Pat will be using as the default ftp server in future Slackware releases.

FWIW I have a Call of Duty and Medal of Honor server running on a Slackware machine, so I may be able to help if you have any questions.

Spyiish 10-30-2004 01:00 AM

Quote:

Originally posted by blk96gt
There is also vsftp, which Pat will be using as the default ftp server in future Slackware releases.

FWIW I have a Call of Duty and Medal of Honor server running on a Slackware machine, so I may be able to help if you have any questions.

Hi,

I have alot of questions to ask you. But first, how do you set up a FTP server? Which FTP program is good and secure and reliable? I tried many times to work proftpd, but I dont know how to. :mad:

Cheers

blk96gt 10-30-2004 01:51 AM

Did you do a full Slackware install? If so, open up the /etc/inetd.conf file(as root), and then uncomment the line to start proftpd. Then restart inetd using the following command:
Code:

/etc/rc.d/rc.inetd restart
If there is something not working like you would want it to, you can probably change it in the configuration file, which is located at /etc/proftpd.conf. Then restart inetd again by using the command above.

If you did not do a full install of Slackware, go to www.linuxpackages.net and do a search for proftp and download and install it.

Spyiish 10-30-2004 01:59 AM

I've done a full install of slackware linux on my system. I have a total of 4 cds. I've got everything working... but when u told me to open up /etc/inetd.conf, which line do I uncomment out? Sorry, you didnt tell me which one. Im a newbie to slackware, so.... I will try to understand everything you tell me.

By the way, how do u uninstall a package that u have installed?

Cheers,
Spyiish

blk96gt 10-30-2004 02:07 AM

There should be a line like this around line 28(that is what line it's on in mine):
Code:

#ftp    stream  tcp    nowait  root    /usr/sbin/tcpd  proftpd
Delete the # and then restart inetd.

To remove the package if the package was a Slackware package(a .tgz extension), just use this command:
Code:

removepkg packagename.tgz
Also, what program are you using to edit the files? Are you using a command line or graphical editor?

Spyiish 10-30-2004 02:17 AM

I use pico, I dont use other ones. You have a graphical one that I could use? Its my first time using Slackware, dont know which one is better.

I'll try those now.

Spyiish 10-30-2004 02:22 AM

I've downloaded proftpd from the site. Do u think I shud remove the package since I've got one preinstalled?

blk96gt 10-30-2004 02:30 AM

~
 
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.

blk96gt 10-30-2004 02:35 AM

Did you compile it from source or use a Slackware package?

Spyiish 10-30-2004 02:41 AM

Quote:

Originally posted by blk96gt
Did you compile it from source or use a Slackware package?
I've cmpiled it from the source. I didnt know ftp was installed, so I DL from www.proftpd.org and installed it. SO wat do I do? Remove it?


All times are GMT -5. The time now is 09:53 AM.