******************************
Attention! This is the instruction for installation at Linux Armv7l (e.g. Raspberry Pi2) (armv7l 32 bits).
******************************
Clone a Raspberry Pi SD Card on macOS
First step is to prepare SD card for your Raspberry Pi or Nano Pi. You can chose some tools for card cloning like:
- ApplePi-Baker – for Apple Computers
- Win32DiskImager – for Windows
or you can use command line terminal. We are presenting steps for apple computers
First you need to identify the new card’s device name. Plug in the new card and run:
diskutil list
Normally the new SD card will appear with exactly the same physical device name as the one you copied from. But you’re about to use dd (aka “disk destroyer”, remember?), so please double-check everything here.
You might want to re-run Disk Utility from Spotlight again and just ensure you have the correct device name for the SD card.
Once you’re 100% sure you have the correct device name, you first need to unmount the SD card from the system. This might seem counter-intuitive, but it’s exactly what you need here, because macOS does not understand the Linux file system stored in the SD card backup file.
Unmount the card using:
diskutil unmountDisk diskN
Where /dev/diskN is the device name.of the SD card you’re writing to.
Unmounting is a bit like ejecting a storage device from the operating system while keeping it physically connected. Basically, because the OS is no longer aware of the device’s file systems, just the physical device, it can now overwrite the storage in any way it wants.
Download DietPi for Raspberry files to create clean OS for MPS Satellite implementation.
It is recommended to use official files from https://dietpi.com
Click here to download the image.
We have tested version:
Your downloaded file will have a name like: DietPi_RPi-ARMv6-Stretch.7z
Unzip it to get *.img file like: DietPi_RPi-ARMv6-Stretch.img and place it in the home directory.
Now you can write your backup image to the SD card using a command like:
sudo dd if=DietPi_RPi-ARMv6-Stretch.img of=/dev/diskN
You will be asked for the PC admin password and just after you enter it process of card restoring will be initiated.
It may take a time. SD Card cloning can take even 20 minutes it depends on the computer speed.
dd is far slower when writing than when reading, typically less than 1MB/sec. If the dd command for copying from your SD card to local disk took 10-20 minutes, expect the write to take an hour or two. Whatever you do, don’t sit around waiting for it to finish. Go and do something else, or leave it overnight.
When it’s finally done, it’s safest to eject the device properly:
diskutil eject diskN
MPS Satellite installation process
If you have your DietPi ready please log in to the console with your authorisation data and switch to the administrator roles. The default login and password is: root / dietpi
The first run of DietPi will drive you through the installation of OS so you need to follow all instructions from the screen. If only process complete you will have the possibility to run some commands. Start with:
sudo su
Make sure that your Dietpi is updated:
sudo apt-get update
sudo apt-get upgrade
In the DietPi OS there are some restrictions for PHP installation so it is worth to start with our Installer to check if the system is ready to run MPS Satellite.
cd
wget https://www.mpssatellite.com/rpi/install.zip
You will need to install ZIP libraries, do that with:
apt install zip -y
Now unzip the installation package
unzip install.zip
And start the installation file with the command
cd install
sh install
Installation will prompt the text
“Thank you for being with us”
It means that system should be ready for opening it in the Internet Browser. Next step should be connected with SQL and Application connection.