Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Tuesday March 11, @07:23PM   Printer-friendly
from the self-hosting-for-the-win dept.

These days most ISPs allow self-hosting to some extent. Programmer Mira Welner has published a 15-step tutorial to getting a working static web site up and running on a Raspberry Pi:

While tutorials abound in regards to getting a basic webserver set up, there is a difference between a functional server and a good usable website. I've been working on getting my personal site set up over the course of the past five years, spending an hour or so every month working on improving the Pi. I never intended for this personal project to become so lengthy or complex, but eventually I ended up with a fairly robust system for running, maintaining, and editing my website. This tutorial will describe what I've learned throughout the process of creating this site in 15 steps, so that you can use it to create and maintain your own sites.

This tutorial assumes that you already know how to use the command line, and that you have some understanding of HTML and CSS. That is about it.

Any always-on system is going to need to draw as little current as possible, and it is hard to beat a Raspberry Pi Zero 2 W which uses under 150 mA. This tutorial stands out as better than most others because of the small details filled in necessary to go from "Hello, World" page to a working, public web site.

Previously:
(2025) AI Haters Build Tarpits to Trap and Trick AI Scrapers That Ignore Robots.Txt
(2025) A Better DIY Seismometer Can Detect Faraway Earthquakes
(2024) How the Raspberry Pi is Transforming Synthesizers
(2023) Free Raspberry Pi 4B in Abandoned Scooters
... and many more.


Original Submission

 
This discussion was created by janrinok (52) for logged-in users only. Log in and try again!
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2, Touché) by Anonymous Coward on Tuesday March 11, @10:54PM (6 children)

    by Anonymous Coward on Tuesday March 11, @10:54PM (#1396067)

    I ran my first Apache with PHP2/FI back in 1997, on a 486 with 20MB of RAM and 250MB HDD, on a slackware installed from floppy disks.

    Is here, on S/N, someone who doesn't know how to do it and would get something useful from TFA? Or is it slow-news-day?

    Starting Score:    0  points
    Moderation   +2  
       Touché=2, Total=2
    Extra 'Touché' Modifier   0  

    Total Score:   2  
  • (Score: 4, Insightful) by Mojibake Tengu on Tuesday March 11, @11:12PM (2 children)

    by Mojibake Tengu (8598) on Tuesday March 11, @11:12PM (#1396070) Journal

    Don't be so grouch. Now there are lots of funny people around the Internets, many of them younger than most of my still working computers...

    --
    Rust programming language offends both my Intelligence and my Spirit.
    • (Score: 0) by Anonymous Coward on Tuesday March 11, @11:28PM (1 child)

      by Anonymous Coward on Tuesday March 11, @11:28PM (#1396072)

      OP's post is why I've mostly stayed out of forums, discussions, etc. I have a pretty low greensite userid number, but again, so many grumpy people. I can't figure out what motivates people to post such grouchy negative tripe. Is it somehow psychologically cleansing? Sigh. Anyway, I have some computer parts older than me! (1940s - early 1960s)

      • (Score: 1, Touché) by Anonymous Coward on Wednesday March 12, @03:55AM

        by Anonymous Coward on Wednesday March 12, @03:55AM (#1396102)

        I can't figure out what motivates people to post such grouchy negative tripe.

        Because there's little to discuss at that basic level, Sherlock, and S/N is at least half about comments.
        Hence the "Is here, on S/N, someone who doesn't know how to do it and would get something useful from TFA?"

        Is something wrong with your ability to take a question at face value?

  • (Score: 5, Interesting) by janrinok on Wednesday March 12, @01:07AM (2 children)

    by janrinok (52) Subscriber Badge on Wednesday March 12, @01:07AM (#1396086) Journal

    Let me explain why this story is here.

    I am probably much older than most people on this site; I am now well into my 70s. I used to write real-time software for avionic equipments. e.g radar, ESM, navigation. The computers that I once wrote software for did not have anything like your home computer of today for a display. These were all specialist equipments for installation in aircraft. The technology that I had to work with was from the 1960s through to the 1980s. As a hobby I started using a Z80 SBC in the 1970s, programming it manually in assembly language before moving on to assemblers, compilers and new languages such as Pascal, Modula2 and then C++. I eventually left the world of Algol and CORAL 66 behind and, by coincidence, my professional career took a very different path.

    I am now having to learn HTML for the first time. It was only a few years ago that I had to configure a bog-standard server on a home computer for the first time using Nginx. So I am having to also learn css, javascript, and a host of other things for which I have never had a need in the past. I am using Bootstrap for the first time. I have to think about the UI which was never a requirement for me. The radar screen had been delivered by the manufacturer and one had to meet its requirements. I have never used PHP. I am also using GO for the first time having used Python for the last decade or so - and I love it! I have 18 computers in my home, all different, ranging from that Z80 SBC, through various Raspberry Pis, and selection of desktop and laptop computers that I have collected over the years. My choice of OS is Linux because it lets me do things in any programming language that I choose and using the hardware that I want to use.

    Do not assume that everyone has had the same experiences as yourself. I know a lot of tips and techniques that were valuable skills when writing real-time software in languages you have probably never even heard of. I enjoy learning about and using technology but some might say my learning process is back-to-front, and is not following a traditional software path at all.

    TFA would have been useful to me only a few years ago and probably still contains advice and information which, to me, are new.

    --
    I am not interested in knowing who people are or where they live. My interest starts and stops at our servers.
    • (Score: 0) by Anonymous Coward on Wednesday March 12, @03:05AM (1 child)

      by Anonymous Coward on Wednesday March 12, @03:05AM (#1396094)

      Got it, my apologies.

      • (Score: 2) by janrinok on Wednesday March 12, @04:05AM

        by janrinok (52) Subscriber Badge on Wednesday March 12, @04:05AM (#1396105) Journal

        No apologies necessary - it is unusual and it isn't the path that most people have followed....

        --
        I am not interested in knowing who people are or where they live. My interest starts and stops at our servers.