Tag: Linux

HOW-TO Easily Install and Secure MariaDB MySQL Server

HOW-TO Easily Install and Secure MariaDB MySQL Server

This HOW-TO is an easy step-by-step guide to getting a MySQL server working on a Raspberry Pi including setting up user authentication. If you haven’t yet set up your Pi here’s a HOW-TO: http://tinab.blog/how-to-headless-pi-easy-setup You can skip this step but it’s a useful base that ensures a good start: http://tinab.blog/how-to-install-a-standard-base-linux-server-on-raspberry-pi Start by updating (if you …

+ Read More

HOW-TO Easily Install and Secure mosquitto MQTT on Raspberry Pi

HOW-TO Easily Install and Secure mosquitto MQTT on Raspberry Pi

This HOW-TO is an easy step-by-step guide to getting an MQTT broker working on a Raspberry Pi including TLS and user authentication. If you haven’t yet set up your Pi here’s a HOW-TO: http://tinab.blog/how-to-headless-pi-easy-setup You can skip this step but it’s a useful base that ensures a good start: http://tinab.blog/how-to-install-a-standard-base-linux-server-on-raspberry-pi Start by updating (if you …

+ Read More

HOW-TO Install a Reliable Base Server on Raspberry Pi

HOW-TO Install a Reliable Base Server on Raspberry Pi

Setting up the basic items I use on every server installation. Start with a headless Raspberry Pi installation as per this HOW-TO: http://tinab.blog/how-to-headless-pi-easy-setup Once on an ethernet connection, disable WiFi & set a hostname add the following Set an appropriate hostname in raspi-config Update the system Install Samba and create a share add the following …

+ Read More

Report my Raspberry Pi model

Report my Raspberry Pi model

How to identify Raspberry Pi model details from the command line. Or, to put it another way, which Pi did I SSH into? To get the model: then read the revision from the table –OR– Then lookup the revision from https://elinux.org/RPi_HardwareHistory To get RAM details (if you have a Pi 4 with 2GB and a …

+ Read More

Linux Commands – top ten or thereabouts

Linux Commands – top ten or thereabouts

Commands I’m forever Googling… Command Does what? Example history Prints previously executed commands history !!!n!-n Re-executes a previous command:!! – last command (inc sudo !!)!n – command at history line n!-n – n commands ago !!sudo !!!702!-1 pwd Print Working Directory pwd rmdir Remove empty Directory rmdir rm Remove any Director rm locate find file …

+ Read More