Find the answer to your Linux question:
Results 1 to 5 of 5
Hello! 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    HMW
    HMW is offline
    Just Joined!
    Join Date
    Nov 2010
    Location
    08 - Stockholm
    Posts
    19

    Webserver howto?


    Hello!

    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.

    Best regards,

    HMW

  2. #2
    Just Joined! tyho's Avatar
    Join Date
    Oct 2010
    Location
    Mwanza, Tanzania
    Posts
    76
    Well it all depends what you want to do with your webserver.

    The easiest way to 'set up' a webserver is probably:
    Code:
    sudo apt-get install apache2
    and there you have your webserver, now you can put files in /var/www, which will then be on http:// localhost/

    For anything else, you have to more specific what you want.
    With a specific wish, it's also easier to google it...
    Last edited by tyho; 11-22-2010 at 10:56 AM.

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,425
    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?
    - etc
    You must always face the curtain with a bow.

  4. $spacer_open
    $spacer_close
  5. #4
    HMW
    HMW is offline
    Just Joined!
    Join Date
    Nov 2010
    Location
    08 - Stockholm
    Posts
    19
    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.

    Best regards,

    HMW

  6. #5
    HMW
    HMW is offline
    Just Joined!
    Join Date
    Nov 2010
    Location
    08 - Stockholm
    Posts
    19
    // Update!

    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.

    Best,

    HMW

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •