Hacker News new | past | comments | ask | show | jobs | submit login
NiceOS – PHP programmer create Linux distro that use binaries from other distros (github.com/solcloud)
2 points by solcloud on Jan 4, 2022 | hide | past | favorite | 3 comments



Yes I am mainly PHP programmer

Yes one person can manage NiceOS

Yes my system boot under 2 seconds

Yes NiceOS do not have package manager

Yes it is using bash script as init (PID 1)

Yes it is using binaries from arch or debian currently

Yes it is technically using binaries from artix or devuan

Yes I am really running this over year as my primary desktop OS

Yes minimal preset can be build under 5 minutes on average laptop machine

Yes by changing one environment variable you can dramatically change how resulting system will look like

Yes over Christmas I decide to create YouTube channel to showcase NiceOS https://www.youtube.com/playlist?list=PL6McYun7ERj4ZfT3DPlDt...

Now I want to know if only one person will ever use it or not, so please go give it a try and give feedback :)


Good work. This looks very interesting.

A question:

Some VPS hosting providers let you upload a custom OS image to their servers. Was NiceOS created for such a scenario? For example, if you wanted to distribute a VPS image to customers so they could self-install a web app. Would NiceOS be suitable for a task like this? (Example: NiceOS + PHP + web server + database - all pre-configured. )

Self-hosting remains complicated and impossible for non-technical users. No-one appears to have solved this problem (Docker, Cloudron, Sandstorm are not easy for non-technical users).

I can see that a minimalist VPS OS image configured around a single web app might make self-install a tad bit easier.

By the way, you should add the text 'Show HN:' to the title of your post so others find it more easily.

Good luck with you project!


Thank you. Ups totally forgot about Show HN thing

For your question: Primary it was created to automate process of building many different presets for machines I use. So I can export one variable run 'make build' command and as a result I get disk image (storage/sda.img) that I can 'burn' (dd) onto hard drive of my laptop for example.

But of course you can do whatever you want with disk image - upload to VPS provider, convert to VirtualBox disk image (VDI) etc.

So yeah if you create preset that include all your required binaries and setup than it can be for sure used as self hosted OS app.

That is why I also provide minimal example. I want NiceOS to be basically bootstrapper for whatever you needs - if you need only small kernel and few binaries you can do that with NiceOS, if you want full blown ubuntu kernel config + 3000 apt packages NiceOS can do that too and if you need something in between no problem also.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: