Stories
Slash Boxes
Comments

SoylentNews is people

posted by mrpg on Tuesday July 03 2018, @12:39PM   Printer-friendly
from the nobody-think-of-the-NUC dept.

Arthur T Knackerbracket has found the following story:

[...] While it has been possible to get Alpine on the Pi for some time – Raspberry Pi 2 owners have been able to get it working since version 3.2.0 – this is the first version to add support for the Raspberry Pi 3 Model B+ and also offer an arm64 (aarch64) image to ease deployment.

The Pi 3 Model B+ packs a surprising amount of power into a small package, rocking a 64 bit 1.4GHz processor and gigabit ethernet (over USB 2.0). The 1GB RAM (unchanged from the previous Model B) should give the slimline Alpine incarnation of Linux more than enough headroom, depending what else you decide to run.

[...] Alpine's frugal nature makes it appealing as an alternative to some of the more resource intensive distributions available for the Pi, with optimisations such as OpenRC replacing systemd as the init system. A minimal disk installation will only consume around 130MB and the maintainers claim a container only needs 8MB.

-- submitted from IRC


Original Submission

 
This discussion has been archived. No new comments can be posted.
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) by DannyB on Tuesday July 03 2018, @03:22PM (8 children)

    by DannyB (5839) Subscriber Badge on Tuesday July 03 2018, @03:22PM (#701945) Journal

    On a Ras Pi project, I decided to use Raspbian Light (no GUI). Install my JAR with a script that starts it as a daemon at boot. Then perform a carefully crafted list of other tasks to get Raspbian to run on read-only media. That way you can pop the SD into the Pi, boot it, the application runs in background, and nothing on the SD will ever be written. This gives me the impression (or misconception?) that the configuration would be a lot more stable. No worrying about an abrupt power off of the Pi with things not being written. The Java app on the PI provides a web based control panel accessible from a desktop computer, and controls the GPIO using Pi4J.

    I first heard of Alpine Linux while I was tinkering with Kubernetes last year. Just for personal amusement and learning. Alpine is VERY light. About as bare bones as it gets. I can run Java on it, but I have to add the glibc for the JVM to work.

    --
    People today are educated enough to repeat what they are taught but not to question what they are taught.
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 0) by Anonymous Coward on Tuesday July 03 2018, @05:26PM (5 children)

    by Anonymous Coward on Tuesday July 03 2018, @05:26PM (#702049)

    alpine looked cool but their code of conduct is pretty disgusting.

    • (Score: 2) by jmorris on Wednesday July 04 2018, @12:21AM (4 children)

      by jmorris (4844) on Wednesday July 04 2018, @12:21AM (#702266)

      Yea, it really is getting out of hand. If you pick on some Mac using fairy you would get banned for two offenses. The usual and...

      Explicitly Disallowed Conduct

      1. Discrimination based on, but not limited to, individuality or technological preference is not allowed.

      You can't even make jokes about technology in a tech project. "Technological preference" is now a protected class. First I'd heard of that one. $current_year moves faster and faster. Madness.

      • (Score: 2) by coolgopher on Wednesday July 04 2018, @01:31AM (2 children)

        by coolgopher (1157) on Wednesday July 04 2018, @01:31AM (#702289)

        FFS! Everyone has the right to a vi vs emacs flame war!

        I mean, it's really a bit of a useful rite of passage, defending your editor of choice against the horde. If you can't make sane arguments and keep a clear enough head to ignore responding the emotional ones, you'll get to repeat the lesson until you learn that there will always be others with differing opinions which you cannot budge.

        • (Score: 3, Insightful) by jmorris on Wednesday July 04 2018, @02:13AM (1 child)

          by jmorris (4844) on Wednesday July 04 2018, @02:13AM (#702311)

          But that might lead to bad feelz in some modern snowflake that has been raised to believe their beliefs can never, ever, under no circumstance, be questioned. Better everyone wear a muzzle than one snowflake have sadz. Doesn't matter what, just never question them. If they are thirty and still believe in the Easter Bunny you better not so much as snicker or it will be off to the camps with you unless you have several more Intersectionality points than they do, then you might escape with a stern warning.

          • (Score: 2) by coolgopher on Wednesday July 04 2018, @02:35AM

            by coolgopher (1157) on Wednesday July 04 2018, @02:35AM (#702320)

            Well I ain't puttin' up with that bullshit, and if it means I'll need to sprinkle more expletives in my correspondence to keep such wankers away from me, then so be it. Now sod off ya git! :P

      • (Score: 2) by DannyB on Thursday July 05 2018, @02:10PM

        by DannyB (5839) Subscriber Badge on Thursday July 05 2018, @02:10PM (#702977) Journal

        Would tabs vs spaces count as a "Technological preference"?

        What about a Technological Orientation instead of Preference? I was born this way (to use tabs). It is an immoral and unnatural act to use spaces for indentation.

        Difference between Behavior and Orientation:

        Behavior:

        • I used spaces on my last project because that was the employer's requirements
        • I mated with someone of the opposite gender to produce offspring

        Orientation:

        • When I drive past a billboard with tabs, it's like my eyes are magnetically attracted to it
        • When I drive past a billboard using spaces, I can just ignore it
        --
        People today are educated enough to repeat what they are taught but not to question what they are taught.
  • (Score: 2) by Freeman on Tuesday July 03 2018, @07:51PM

    by Freeman (732) on Tuesday July 03 2018, @07:51PM (#702135) Journal

    Yeah, assuming your OS is running totally in RAM and doesn't write to the SD, that should protect you from a SD card corruption due to unexpected shutdown.

    --
    Joshua 1:9 "Be strong and of a good courage; be not afraid, neither be thou dismayed: for the Lord thy God is with thee"
  • (Score: 2) by EETech1 on Thursday July 05 2018, @02:13AM

    by EETech1 (957) on Thursday July 05 2018, @02:13AM (#702796)

    I've had zero issues with sd card corruption using these:

    https://www.digikey.com/product-detail/en/RP-SMKC08DA1/PCR237-ND/4168602?WT.z_cid=sp_8001_buynow [digikey.com]
    They're not cheap ~$45 for 8 GB, but they have additional error correction, and power failure recovery.

    If you want SLC flash and class 10 speed, they also have these:
    https://www.digikey.com/product-detail/en/RP-SMSC08DA1/P17014-ND/5119421?WT.z_cid=sp_8001_buynow [digikey.com]
    They're only ~$145 for the 8 GB!

    It sucks that you have to buy a $45 memory card to make a $35 computer work reliably, but it saves the hassle of the read only filesystem.

    I have about a dozen Pi's in industrial applications, and they just pull the plug no matter what you tell them, so these are a lifesaver. I can push updates to them, and change calibrations without having to fuss with rebooting to make changes. I also like to be able to log everything so if there is a problem, I have some data to go on.

    Cheers!