I run the PiZeroW2 in headless mode. So basically all installation guides are made from the terminal.
No-Ip Updater Update Script for noip3
#!/bin/bash
U=woodmastr
P=snrflw21
HOSTNAMES=amd2.ddns.net
#echo "noip-duc -u $U -p $P --hostnames $HOSTNAMES --once"
noip-duc -u $U -p $P --hostnames $HOSTNAMES --once
Start samba with
sudo service smbd status
Start VNC with
vncserver-virtual :1
connect to vnc with
This one took me quite a qhile to figure out. RPi-Googledrive gets you a live google drive directory on your pi. Go over to rpi-Googledrive.
usb drives are only mounted at boot time. usbmount automatically mounts usb drives under /media/usb*. install it via shell
sudo apt install usbmount # install usb
it neads a tweak: in /lib/systemd/system/systemd-udevd.service
set # PrivateMounts=no
and sudo reboot
or restart systemd and udev subprocesses
sudo systemctl daemon-reexec
sudo service systemd-udevd restart
.
Install docker and docker-compose utility via the guide on docker site itself.
Lemp for pi consists of nginx webserver, mariadb, php. Before installing nginx you might want to make sure that apache2
is uninstalled via sudo apt remove apache2
. Install a lemp wordpress stack with this script.
Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin lets you manage a system from the console or remotely. Install it with
wget http://prdownloads.sourceforge.net/webadmin/webmin-2.000.tar.gz
tar -zxvf webmin-2.000.tar.gz
cd webmin-2.000
sudo ./setup.sh
and access it on standard port 10000 with eg http://raspberrypi.local:10000