Make SnakeOil install much easier
|
Posts: 642
Threads: 37
Joined: Mar 2019
Reputation:
150
Location: Melbourne, Australia
After seeing how easy it was to install moOde, I believe it is time to make the SnakeOil install much easier.
Currently, my steps are:
1. Download image : Ubuntu iso
2. Flash image to USB/SD card
3. Connect terminal and keyboard
4. Boot from USB/SD card
5. Download SO script file
6. Transfer script file using WinSCP
7. SSH into computer and run script
8. Reboot computer and update firmware etc.
It is long winded and can be challenging for a beginner, becoming a barrier for easy adoption of SO. By contrast, moOde requires steps 1,2 and 4. Can we do something similar?
Note that Step 3 can be skipped easily using the Raspberry Pi imager.
https://www.raspberrypi.com/news/raspber...g-utility/
The imager (click on gear image) can set up the user and network as part of the install. I think it is possible to do a similar process by modifying the iso?
Due to its licensing requirements, it will not be possible to modify and host the Ubuntu image. However, we should be be able to simplify the steps. Is it possible to provide a Linux image which downloads and installs Ubuntu, then downloads and runs SO installer?
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
How does MoOde install work? Is it a OS image with all the software already installed? So you flashed the image and everything works? If yes, that's how Snakeoil was (before 1.2.x). There were several reasons then for the change:
- Limited cloud storage at the time. This is now resolved somewhat - moving from 2TB to 4TB.
- Very limited time. For around 2+ years now I have the workload of 2 to 3 people. This current job was the worst of it all and I actually have full intention to blow steam at my manager and then just resigned. Because my co-worker simply refuse to work. So now only do I have to do the work that's equal to 2 people, I have to clean up his work. I believe I have ranted about this multiple times and it all came into a head last Thursday.. On that resignation bit, I actually tried, but my laptop refuse to go ahead with my plan. Not only did my manager cancel the meeting, my laptop crashed 3 times as I was writing out an angry letter itemising the reasons why I had to resign. Things are smoother now and the problem person is semi-officially gone, and they convinced me to stay. This guy is off to a higher paying job elsewhere (that's why he hasn't been working on his current one past few months as he's actively using his current role here as a stepping board to a better one). Perth is a very small country town, I hope after his next stint he will never get employment in this town ever again. Literally everybody knows somebody around here.
- Third is bandwidth. Item 5 of your list is extremely annoying to me. I'm not sure if you remember the history behind this, it probably preceeds you using SnakeoilOS. I hate the fact that people have to sign up to the forums in order to download the installer script or the firmware. But it had to be done at the time, because some irresponsible folks engaged a botnet and initiate tens of thousands of bots to download the file. i.e. a distributed denial of service attack. Actions like this can instantly take out the site, and at the time, incur a huge cost as my hosting at that time charge if bandwidth is exceeded.
So it's all about storage, time and network bandwidth.
1st and 3rd is partially solved. Time is still the problem - right now I'm still doing the workload of 3 people. I have a lot of deliverables by Nov, and the project is in trouble because not only did this guy not do any quality work, the little he did is like cancer and it needs to be cleaned up. So now only do I have to add new features by Nov, I have to fix his bugs at the same time too. Because reading in between the lines, I'm not going to get any extra help.
Despite that, I'm still open to suggestions though.. I'm thinking of writing a playback (Ansible)... so you basically install the OS of your chance, then run the playbook to install it. The workflow will be:
1. Install stock OS
2. Download a small script and execute (without login). Something like bash -c "$(wget /path/to/script/file)"
3. The script will pull from the Snakeoil server and install.
4. and that's it.
Over the past year I've slowly accumulate enough infrastructure for the above to be in place. I don't have to worry much about people chewing up the bandwidth any more since I've now moved on to two servers with unlimited bandwidth. This is my goal for 1.3... And reason why 1.3 hasn't been released yet.
If I resigned last Thurs this will be my plan for the rest of the year and I'll only start seeking employment in the new year. But alas my laptop just refuse to cooperate. At least my current company listened and took steps to mitigate the problem so that's a great thing. Really I'm forking up ~AUD$100 a month to host this Snakeoil infrastructure, and that does not include the support behind the scenes... Realistically my day job has to take precedence, especially now that working conditions are going to improve.
Let me know about that playbook thing. Do you reckon that's a good move?
Snakeoil Operating System - Music, your way!
Posts: 642
Threads: 37
Joined: Mar 2019
Reputation:
150
Location: Melbourne, Australia
(01-Aug-2023, 09:14 AM)agent_kith Wrote: How does MoOde install work? Is it a OS image with all the software already installed? So you flashed the image and everything works? If yes, that's how Snakeoil was (before 1.2.x). Yes, I do realise 1.1.x was similar, but as you know, that way of doing things was not sustainable because you were spending lots of time maintaining things.
(01-Aug-2023, 09:14 AM)agent_kith Wrote: Very limited time. Understand how difficult it is for you at the moment. You have done an unbelievable job of making SO sound so good but everything depends on you mainly. I can help with the forum and Wiki, but unable to technically contribute.
Perhaps the next steps are very small ones which are easy to do? And perhaps discard the ambitious kernel builder project?
(01-Aug-2023, 09:14 AM)agent_kith Wrote: I'm thinking of writing a playback (Ansible)... so you basically install the OS of your chance, then run the playbook to install it. The workflow will be:
1. Install stock OS
2. Download a small script and execute (without login). Something like bash -c "$(wget /path/to/script/file)"
3. The script will pull from the Snakeoil server and install.
4. and that's it.
Over the past year I've slowly accumulate enough infrastructure for the above to be in place. I don't have to worry much about people chewing up the bandwidth any more since I've now moved on to two servers with unlimited bandwidth. This is my goal for 1.3... And reason why 1.3 hasn't been released yet.
Let me know about that playbook thing. Do you reckon that's a good move? I think the playbook is a good way forward, especially when it makes it easier for people to adopt SO. We need an injection of new people using SO...
1
Posts: 55
Threads: 5
Joined: Sep 2020
Reputation:
8
Location: Australia
(01-Aug-2023, 12:06 PM)Snoopy8 Wrote: And perhaps discard the ambitious kernel builder project?
I might be the only person here that thinks this.....I've been hanging on for the kernel builder and have not upgraded from 1.1 haha
1
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
Kernel builder is cool, because it's that little bit extra push that can really make a beautiful system sounds like it's real. The idea of kernel building is to basically use the power of crowdsourcing to find a good version, then some good settings. From there on we can make individual tweaks to taste.
There's not really a lot of things to test really,
- Drivers to include/exclude - This is a no brainer, if you use NVMe, you gotta have have those drivers, ditto for network, USB and audio devices)
- Drivers to be installed in kernel, or as a module (kmod) - This has subtle differences. But I am unsure what sounds better
- Various timer, schedulers
- Kernel versions - big kettle of fish. Newer versions will have better support and stability. But may not sound as good
- RT patches - Probably related to 4.
1 cannot be helped. And 2-5 are simple, but because there are so many kernels the process can get complicated.
Still looking to upgrade my hardware. I'm looking for something that accepts a USB card, and also SFP (optical does make the sound cleaner), and small enough to be powered by a LPS. We need an audiophile hardware maker to make a USB + SFP card that works on PCI-e x2 (or x4)... Making it one slot will make things easier, otherwise I have to buy breakout boards and that's not always reliable.
But yeah, kernel builder is kind of pointless if I still cannot successfully make Snakeoil easily installable for the masses.
Snakeoil Operating System - Music, your way!
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
I've done some quick testing and here are some points:
- Don't have to over-complicate things. Can skip orchestration tools (Ansible, Puppet, Chef) for now and just stick to the existing script
- But instead of signing up to the forum and download, you (anybody) can download the script and execute it
- The script will be small, but it will pull files from the Internet and install them
- Instead of hiding the install screens, the script will show any prompts from the installer. This is to get around a problem installing Samba on the Pi
- With the theme of keeping things simple, will forgo the use of NextCloud as the repository and just use a simple web server to serve the files
- This web server will hopefully be protected by CloudFlare DDOS mechanisms and hopefully that will prevent history from repeating itself.
So, it will be install OS, and then SSH to the computer (or via a connected monitor), run the script and execute it... Aim is to complete this by the end of the year. Let's hope this can be done.
Snakeoil Operating System - Music, your way!
|
Users browsing this thread: |
1 Guest(s)
|
|
Welcome
|
You have to register before you can post on our site.
|
SnakeoilOS Mission Statement
|
Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.
SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.
If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.
|
|
|