Automated Install - dietpi.txt configuration. Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
ducker

Automated Install - dietpi.txt configuration.

Post by ducker »

Need help setting up packages to auto install.

Here's what I've done so far:
This page says:
Find software ID's you want to install, run dietpi-software list
I can't seem to get that to output anything running it from the directory on the computer I created the USB with.

I can't find anywhere else to get software ID to put in the config before I boot up the Pi, which I find rather strange.

Maybe I've been staring at the screen too long, but I'm stumped.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Automated Install - dietpi.txt configuration.

Post by Fourdee »

Hi,

The software ID's are listed with command:

Code: Select all

dietpi-software list
You'll need to run this on a device with DietPi already installed.

Example, to find nextcloud:

Code: Select all

dietpi-software list | grep nextcloud

Code: Select all

id 114 | =0 | nextcloud: a safe home for all your data | +webserver +mysql | http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=3026#p3026
114 is the install index.

Another option is to browse the source code, to find indexs:
https://github.com/Fourdee/DietPi/blob/ ... tware#L533
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
ducker

Re: Automated Install - dietpi.txt configuration.

Post by ducker »

So... you can't get a list of software to automate... unless you manually install the software...?

Or am I misunderstanding the usage of "automation?"
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Automated Install - dietpi.txt configuration.

Post by Fourdee »

ducker wrote:So... you can't get a list of software to automate... unless you manually install the software...?

Or am I misunderstanding the usage of "automation?"
Another option is to browse the source code, to find indexs:
https://github.com/Fourdee/DietPi/blob/ ... tware#L533
We have plans to add ID's on our website in the future.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
ducker

Re: Automated Install - dietpi.txt configuration.

Post by ducker »

Right on.

It just boggled me that I had to install to get IDs for an automated install :P

Interesting project you've got going on.

I may give it a run and stick around.

I want a light, lean, minimal headless install that can be automated.

Thanks for the information.
User avatar
WarHawk
Posts: 606
Joined: Thu Jul 20, 2017 8:55 am

Re: Automated Install - dietpi.txt configuration.

Post by WarHawk »

nextcloud needs to have Apache2 and mysql to run properly...

At least that is how I have mine set up....others have reported that lighttpd and sqlite doesn't seem to work
Post Reply