Raspberry Pi

Raspberry Pi 3

Sense HAT

CAMERA MODULE V2

The official   Raspberry Pi 3

"Touch Display"

The official Raspberry Pi 3 keybord and mouse

The official Raspberry PI USB "WIFI DONGLE"

The official Raspberry Pi 3 case

Raspberry Pi länkar

Install PHP7 + Nginx + MySQL + PhpMyAdmin

https://owlcation.com/stem/Simple-search-PHP-MySQL


1. wget https://gist.github.com/isc30/aa80d81df44de8a91dc0a82d55806381/raw/install.bash


2. sudo bash install.bash


https://gist.github.com/isc30/aa80d81df44de8a91dc0a82d55806381

<script src="https://gist.github.com/isc30/aa80d81df44de8a91dc0a82d55806381.js"></script>


http://www.raspberrypi-spy.co.uk


2014

http://www.raspberrypi-spy.co.uk/2014/08/how-to-reset-a-forgotten-raspberry-pi-password/


http://www.raspberrypi-spy.co.uk/2014/05/simple-raspberry-pi-camera-photo-gallery-using-php/

http://sye.dk/sfpg/

1. wget http://sye.dk/sfpg/Single_File_PHP_Gallery_4.7.0.zip

2. sudo unzip Single_File_PHP_Gallery_4.7.0.zip -d /var/www/html/photos



2013

http://www.raspberrypi-spy.co.uk/2013/06/how-to-setup-a-web-server-on-your-raspberry-pi/


2012

http://www.raspberrypi-spy.co.uk/2012/06/simple-guide-to-the-rpi-gpio-header-and-pins/

http://www.raspberrypi-spy.co.uk/2012/05/send-text-and-html-email-using-python/

http://www.raspberrypi-spy.co.uk/2012/09/getting-your-raspberry-pi-serial-number-using-python/

http://www.raspberrypi-spy.co.uk/2012/08/sending-sms-text-messages-using-python/



http://hammarstrom.one/pi/index.html

http://hammarstrom.one/playbox


http://www.thegeekstuff.com/2010/04/how-to-fix-offending-key-in-sshknown_hosts-file


https://coolestguidesontheplanet.com/what-is-sip-in-osx-10-11-el-capitan/

https://coolestguidesontheplanet.com/install-mcrypt-for-php-on-mac-osx-10-10-yosemite-for-a-development-server/


https://www.apple.com/apple-events/september-2018/#mn_p



==> /usr/local/Cellar/mariadb/10.3.9/bin/mysql_install_db --verbose --user=magnu


==> Caveats


A "/etc/my.cnf" from another install may interfere with a Homebrew-built


server starting up correctly.




MySQL is configured to only allow connections from localhost by default




To connect:


    mysql -uroot




To have launchd start mariadb now and restart at login:


  brew services start mariadb


Or, if you don't want/need a background service you can just run:


  mysql.server start


==> Summary


🍺  /usr/local/Cellar/mariadb/10.3.9: 651 files, 174.4MB


==> Caveats


==> openssl


A CA file has been bootstrapped using certificates from the SystemRoots


keychain. To add additional certificates (e.g. the certificates added in


the System keychain), place .pem files in


  /usr/local/etc/openssl/certs




and run


  /usr/local/opt/openssl/bin/c_rehash




openssl is keg-only, which means it was not symlinked into /usr/local,


because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.




If you need to have openssl first in your PATH run:


  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile




For compilers to find openssl you may need to set:


  export LDFLAGS="-L/usr/local/opt/openssl/lib"


  export CPPFLAGS="-I/usr/local/opt/openssl/include"




==> mariadb


A "/etc/my.cnf" from another install may interfere with a Homebrew-built


server starting up correctly.




MySQL is configured to only allow connections from localhost by default




To connect:


    mysql -uroot




To have launchd start mariadb now and restart at login:


  brew services start mariadb


Or, if you don't want/need a background service you can just run:


  mysql.server start


Magnuss-Mac-mini:~ magnushammarstrom$ mysql.server start


Starting MariaDB


..180929 17:52:41 mysqld_safe Logging to '/usr/local/var/mysql/Magnuss-Mac-mini.local.err'.


180929 17:52:42 mysqld_safe Starting mysqld daemon with databases from /usr/local/var/mysql


... SUCCESS! 


Magnuss-Mac-mini:~ magnushammarstrom$ mysql.server stop


Shutting down MariaDB


... SUCCESS! 


Magnuss-Mac-mini:~ magnushammarstrom$ mysql.server restart


 ERROR! MariaDB server PID file could not be found!


Starting MariaDB


.180929 18:07:53 mysqld_safe Logging to '/usr/local/var/mysql/Magnuss-Mac-mini.local.err'.


180929 18:07:53 mysqld_safe Starting mysqld daemon with databases from /usr/local/var/mysql


 SUCCESS! 


Magnuss-Mac-mini:~ magnushammarstrom$ sudo nano /usr/local/var/mysql


Password:


Magnuss-Mac-mini:~ magnushammarstrom$ sudo cd /usr/local/var/mysql


Magnuss-Mac-mini:~ magnushammarstrom$ ls


Desktop Documents Downloads Library Movies Music Pictures Public


Magnuss-Mac-mini:~ magnushammarstrom$ sudo cd /usr/local/var/mysql


Magnuss-Mac-mini:~ magnushammarstrom$ sudo nano /usr/local/var/mysql/Magnuss-Mac-mini.local.err


Magnuss-Mac-mini:~ magnushammarstrom$ 


Copyright Magnus Hammarström @ 1971-2071 All Rights Reserved