Last Updated: December 16, 2025
Browser Media Center is committed to protecting your privacy. This extension does not collect, transmit, store, or share any personal information or usage data.
We do not collect any data.
#Headless Setup of Raspberry Pi Zero W (Raspberry Pi 3 Wireless) (macOS)
diskutil eraseDisk ExFat temp disk4(Use your disk here)wget https://downloads.raspberrypi.org/raspbian_lite_latestdiskutil unmountDisk /dev/disk4 or whatever your disk path issudo dd if=PATH-TO-RASPBIAN-IMAGE of=/dev/disk4` or whatever your disk path iscd /volumes && ls. You should see a boot partition from the SD card cd boot && touch sshnano wpa_supplicant.conf and enter network={ ssid="YOUR-SSID" psk="YOUR-WIFI-PASSWORD" }diskutil unmountDisk /dev/disk4 (or whatever your disk path is) and put it in the#Setting up Docker Machine on Raspberry PI
curl -sSL https://get.docker.com | sh (If we let Machine try to install the Docker daemon it will fail.)sudo nano /etc/os-release and change the line that says ID=raspbian to ID=debiandocker-machine create --driver generic --generic-ip-address YOUR-PIS-IP --generic-ssh-key ~/.ssh/id_rsa --generic-ssh-user pi --engine-storage-driver overlay2 MACHINE-NAMEThis is helpful when you don't want to disable SELinux but do want to allow apache to execute an external program. For example wkhtmltopdf. Run the following commands from the terminal. (This has been tested in CentOS 7.)
setsebool httpd_execmem on
Change a dirs security context if the program writes to a file
| DELETE FROM wp_comments WHERE comment_approved = 0 |
| You can check if SELinux is blocking sendmail by running: | |
| /usr/sbin/getsebool httpd_can_sendmail | |
| ...which will report: | |
| httpd_can_sendmail --> {on|off} | |
| ...and if it is off, you can turn it on using |
| <?php | |
| if($believeInAdhereToAndRelyOnJesus == TRUE) { | |
| //Run functions | |
| loveGod(); | |
| loveOthersAsYourself(); | |
| makeDisciples(); | |
| } | |
| else { | |
| //Output a message and terminate the current script |