With these steps I managed to get Pimox on my Raspberry Pi 4 and 5 in february 2024.
Install "RPi OS Lite 64-bit" with Raspberry Pi Imager. It's listed under "Raspberry Pi OS (Other)"
With these steps I managed to get Pimox on my Raspberry Pi 4 and 5 in february 2024.
Install "RPi OS Lite 64-bit" with Raspberry Pi Imager. It's listed under "Raspberry Pi OS (Other)"
| #!/usr/bin/env bash | |
| # Author: Salvatore Guarino - [email protected] | |
| # Instructions: | |
| # | |
| # 1. Manually rsync the local Magento 2 folder on the remote server. | |
| # 2. Change the Mysql DB settings on app/etc/env.php on the remote server. | |
| # 3. Copy the script on your local Magento 2 folder | |
| # 4. Change variables according to your local and remote environment |
| <!-- AOS --> | |
| Step 1: follow: https://michalsnik.github.io/aos/ | |
| Step 2: Add | |
| <link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/[email protected]/dist/aos.js"></script> | |
| Step 3: add jquery dependency (requirejs-config.js) | |
| var config = { | |
| shim: { | |
| jquery: { |
| <?php | |
| $endPoint = 'https://api.github.com/graphql'; | |
| $query = <<<'GRAPHQL' | |
| query getUsers { | |
| user { | |
| id | |
| name | |
| } |
Create file /etc/systemd/system/[email protected]. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service| / ip address | |
| add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=LAN | |
| add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=ISP1 | |
| add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=ISP2 | |
| / ip firewall mangle | |
| add chain=prerouting dst-address=10.111.0.0/24 action=accept in-interface=LAN | |
| add chain=prerouting dst-address=10.112.0.0/24 action=accept in-interface=LAN | |
| add chain=prerouting in-interface=ISP1 connection-mark=no-mark action=mark-connection \ | |
| new-connection-mark=ISP1_conn |
| # Mirror of the instructions available here: | |
| # http://www.lowefamily.com.au/2016/06/02/installing-ubiquiti-unifi-controller-5-on-raspberry-pi/ | |
| # | |
| # These commands CANNOT be run in a script. | |
| # They're just for reference. | |
| # Install on Raspbian Jessie, or upgrade from Wheezy. | |
| # Make sure all packages are upgraded (update && upgrade). |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |