Skip to content
#

Raspberry Pi

raspberry-pi logo

The Raspberry Pi is a popular single-board computer designed to promote the teaching of computer science in schools. The use of the Raspberry Pi computer ranges from robotics to home automation. Many variations of the Raspberry Pi exist, such as the Raspberry Pi Zero, which is smaller than the more powerful Raspberry Pi 4.

Here are 162 public repositories matching this topic...

KarlBaumann
KarlBaumann commented Feb 12, 2020

Is your feature request related to a problem? Please describe.
A regular SD card supports approx. 100,000 write cycles. Depending on the usage, SD card will die from few weeks to few months.

Describe the solution you'd like
Tutorial should guide users through setting up web and machinery on a read-only filesystem.
That means:

  1. it should be described how to create ram-drives,
    2
bitsandbots
bitsandbots commented May 5, 2020

#! /bin/bash

newUser='webuser'
newDbPassword='p1r4sp'
newDb='inventory'
host=localhost
#host='%'

commands="CREATE DATABASE `${newDb}`;CREATE USER '${newUser}'@'${host}' IDENTIFIED BY '${newDbPassword}';GRANT USAGE ON . TO '${newUser}'@'${host}' IDENTIFIED BY '${newDbPassword}';GRANT ALL privileges ON `${newDb}`.*
TO '${newUser}'@'${host}';FLUSH PRIVILEGES;"

echo "${commands}"

Created by Raspberry Pi Foundation

Released July 2011

Organization
raspberrypi
Website
www.raspberrypi.org
Wikipedia
Wikipedia
You can’t perform that action at this time.