DietPi | Lightweight justice for your single-board computer
kandi X-RAY | DietPi Summary
kandi X-RAY | DietPi Summary
DietPi is an extremely lightweight Debian-based OS. It is highly optimised for minimal CPU and RAM resource usage, ensuring your SBC always runs at its maximum potential. The dietpi programs use lightweight whiptail menus. You'll spend more time enjoying DietPi and applications you need and less time staring at the command line. Use dietpi-software to quick and easy install Ready to Run & Optimised applications for your system. DietPi will do all the necessary configurations, including starting the services. Few highlights: Desktop Environments, Remote Desktop Access, Media Systems & Players, BitTorrent & Downloading, Cloud & Backup, Gaming & Emulation, Social & Search, Camera & Surveillance, Networking, System Stats & Management, Home Automation, Hardware & Voice Projects, Webserver Stacks, DNS Servers / Pi-hole, File Servers, Printing and much more. Use dietpi-services to control which installed software has higher or lower priority levels (nice, affinity, policy scheduler). dietpi-update automatically checks for updates and informs you when they are available. Update instantly, without having to write a new image. DietPi automation allows you to completely automate a DietPi installation with no user input, simply by configuring dietpi.txt before powering on.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of DietPi
DietPi Key Features
DietPi Examples and Code Snippets
Community Discussions
Trending Discussions on DietPi
QUESTION
So I have this NGINX config file:
...ANSWER
Answered 2021-Dec-30 at 21:24Typo is server
instead of server_name
within the server {}
block
QUESTION
i run a mixed windows and linux network with different desktops, notebooks and raspberry pis. i am trying to establish an off-site backup between a local raspberry pi and an remote raspberry pi. both run on dietpi/raspbian and have an external hdd with ntfs to store the backup data. as the data to be backuped is around 800GB i already initially mirrored the data on the external hdd, so that only the new files have to be sent to the remote drive via rsync.
i now tried various combinations of options including --ignore-existing --size-only -u -c und of course combinations of other options like -avz etc.
the problem is: nothing of the above really changes anything, the system tries to upload all the files (although they are remotely existing) or at least a good number of them.
could you give me hint how to solve this?
...ANSWER
Answered 2021-Jan-28 at 14:28I do this exact thing. Here is my solution to this task.
QUESTION
I'm trying to run a script automatic when booting Raspberry with DietPi. My script starts a Python3 programm which then at the end starts an external program MP4Box which merges 2 video files to a mp4 in a folder in my lighttp webserver.
When I start the script manually everything works. But when the script starts automatically on boot, when it comes to the external program MP4Box, I get an error:
...ANSWER
Answered 2020-Dec-24 at 18:24Contrary to the description, the scripts in postboot.d are not excuted as root. So I changed my script to:
QUESTION
I want to use my raspberry for two purposes:
- Tor proxy
- Email server
So, the tor proxy is already set and I was able to use it. I installed the tor services on my DietPi distro, I configure the proxy on my browser, port 9050 socks v5, and everything is cool. I decided to install the email server but, first, I was setting up iptables as firewall. I was following a tutorial for the setting and I copied and paste the rules. Anyway, even if I comment the rules when I set the proxy in the browser I can not reach anything, I got a timeout. If I remove iptables, uninstall it, the proxy works again. If i run a
iptables-save
this is what I got
...ANSWER
Answered 2020-Dec-10 at 13:46In the end it was quite a basic fix to do. What you need to do is just adding these two lines in your
/etc/iptables.firewall.rules
QUESTION
i want to run a python script on dietPI. I chose dietPI because i want to boot fast.
When i run a simple tkinter program i get the error _tkinter.TclError: no display name and no $DISPLAY environment variable
Ive already tried setting a display variable like so: export DISPLAY=:0
(i tried other numbers aswell)
but then i get _tkinter.TclError: couldn't connect to display ":0.0"
Any help?
...ANSWER
Answered 2020-Dec-05 at 10:55This took me all day to get working. (I also posted this same answer on a different SE site here: https://raspberrypi.stackexchange.com/a/118928/60683)
Note: This is for raspbian, with main user account using the default username ("pi")
Here are the steps in order:
Name your python file main.py
and drag your python file to the desktop.
Next, create a new plain text file and add the following contents:
QUESTION
I'm cross compiling a Qt project using Qt Creator and I'm getting the following error:
...ANSWER
Answered 2020-Aug-20 at 12:52Here is a code snipped for you.
qml.qrc
QUESTION
I got my RaspberryPi registered as a Thing in Aws IoT.
Im executing this python script:
...ANSWER
Answered 2020-Jun-26 at 10:10I figured out what the problem was:
I did not know that I have to attach the thing and the policy to a certificate. That seems like it was the problem, now I am getting the messages straight to my test console.
If someone runs into this issue, check out this Blog Entry which helped me fix it.
QUESTION
I am trying to write a generic method that should accept filter dictionary as key values pair and using sqlalchemy create select statement supporting multiple where clauses.
...ANSWER
Answered 2020-Feb-27 at 09:41Please try the following code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install DietPi
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page