[NTLUG:Discuss] Basic Linux Server Questions

Brian Koontz brian at pongonova.net
Tue Nov 21 22:24:35 CST 2006


On Tue, Nov 21, 2006 at 06:47:47PM -0600, Dennis Myhand wrote:
> I am putting together a web server for the students in my class.  I have 
> installed Debian 3.1 Testing and Apache2.2.  Before I put this out for 
> the world to see I want to make sure the server is as secure as I can 
> make it.  The server is going to be on the school network, inside our 
> firewall/router, but it is necessary for the web pages to be visible to 
> the Internet as a whole.  I have a few questions if anyone on the list 
> is willing to offer help.  How do I see which services are running? 

netstat -an | less (will give you port numbers)

> Which services are essential for a web server?  

Port 80.  Port 22 if you enable SSH.

> Do I set up ftp for my 
> students to up load their pages or scp, or is there a default ftp upload 
> capability?  Any help will be appreciated.

Don't use ftp.  Use sftp (man sftp and sftpd-server) or scp.  

  --Brian



More information about the Discuss mailing list