I have searched the vast internet, and this forum, for a good introduction (or how-to) regarding setting up one's own webserver. Yes, there is a lot of information on this online. In fact, there is almost too much information.
Therefore, my question to you is; what would you recommend? Have you read a book, an online how-to, a pdf or whatever that was helpful?
I know a little about GNU/Linux, have been using it as my only OS at home for roughly two years. I know about BASH (although not an expert), I can navigate in the filesystem, use Vi(m) and/or Nano to edit system files. What I don't know anything about though is the ”server side” of GNU/Linux, and I would like to learn more - and hopefully be able to get my own webserver up and running.
I would appreciate any input on this.
Well it all depends what you want to do with your webserver.
The easiest way to 'set up' a webserver is probably:
and there you have your webserver, now you can put files in /var/www, which will then be on http:// localhost/
sudo apt-get install apache2
For anything else, you have to more specific what you want.
With a specific wish, it's also easier to google it...
There is a lot of documentation, because a webserver is quite versatile.
First you need to define, what its purpose shall be.
- static or dynamic delivery?
- if dynamic, which technology? php, pearl, python, cgi?
- which application shall run there?
- which security level?
Thank you for your input. I appreciate it.
To be more specific;
- I would like to host a webiste (or several).
- Be able to connect remotely via ssh & sftp
- Run at least perl, php and python
- As far as security, I intend to use the server to learn, and host my own site(s). So security does not need to be Pentagon-style!
Again, thanks for your comments. I appreciate it.
I did indees install Debian, without DE & WM, yesterday on an old laptop (the server). I also managed to access it locally. What's left is to open up some ports in my abysmal router with a very odd UI. But I'm sure I'll get there.
Just wanted to thank you again for your thoughts on this.