Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

From D2000 version v12, the installation program is available for the operating system Raspbian Raspberry PI OS for Raspberry Pi platform (models 2 and higher) and for computers built on Raspberry Pi Compute Module (for example, Techbase NPE X500 M3 inudstrial industrial computer).

A full D2000 system image for Raspberrry Raspberry Pi can be for simplification be directly downloaded from from https://d2000.ipesoft.com/download/#raspberry (950 MB, after unziping 3unzipping, 3.5 GB). The image does not contain a graphic interface (to keep the image small), but it can be installed.

To obtain the D2000 installers for the Raspberry Pi platform and to obtain the images for the the Techbase NPE X500 M3 industrial computer, please contact the Ipesoft sales department.)
The installation procedure is the same as the D2000 installation procedure on the Linux platform (just the name of the installer is different).
Note: since

Info
titleRunning D2000 on a 64-bit OS

Since D2000 on Raspberry PI is a 32-bit application, when using a 64-bit OS, it is necessary to install the necessary 32-bit ARM libraries:

apt install unixodbc:armhf libuuid1:armhf odbc-postgresql:armhf zlib1g:armhf


If you are using a 64-bit Raspberry Pi OS based on Debian version 12 (bookworm) and later: these OSes use 16KB memory pages by default to increase memory size. For 32-bit applications to work, you need to set

kernel=kernel8.img

in the /boot/firmware/config.txt file. This will cause a kernel that uses 4KB pages to be loaded.



Installing and configuring the image for Raspberry Pi:

  • Download the system image from https://d2000.ipesoft.com/download/#raspberry and unzip it.

  • Insert a free micro SD card with a size of at least 4GB to the card reader for transfer of the image.

  • Using the Win32DiskImager utility (in the Windows environment) or using the command dd (in Linux) copy the image to a micro SD card.


    Figure: after running Win32DiskImager, simply select the downloaded image (1), the target micro SD card inserted into the card reader (2) and write the image to the micro SD card with Write button (3).

  • Insert the micro SD card into the Raspberry Pi and connect the power supply. Raspberry Pi boots from the SD card.

  • Log in as the default user pi with password raspberry (for security reasons, it is recommended to change the password).

  • run Run a command:
    sudo raspi-config
    to start the Raspberry Configuration Tool. In the menu, select "7 Advanced Options" and then "A1 Expand Filesystem". Confirm "OK" and select "Finish" from the main menu to exit the tool. Select reboot. Upon reboot, the file system expands so it can use all the free space on the micro SD card.

  • after After reboot and repeated logging in as a user pi identify the IP address and a network mask with a the command:
    ifconfig eth0
    Example of listing in which the IP address 172.16.0.108 and the network mask 255.255.0.0 can be seen:

...

  • To insert the IP address and network mask into the /opt/d2000/instance.properties configuration file, edit it with the command:
    sudo nano /opt/d2000/instance.properties

    Change the IP address in the row
    IPAddr1 = 172.16.0.108
    and mask in the row
    IPMask = 255.255.0.0
    If you have configured a WiFi interface, you can also edit the line with IpAddr2.

    Save the file with the keyboard shortcut Ctrl+O and exit the editor by pressing Ctrl+X.

  • Standard Raspberry Pi does not contain a real-time clock (RTC). If your Raspberry Pi doesn't have access to a preconfigured NTP server (212.82.32.26 t.j. darkstar.sanet.de), then you have to specify a custom NTP server:
    sudo nano /etc/systemd/timesyncd.conf

    Edit the row in the [Time] section with the NTP server IP address and enter IP address of a custom NTP server:
    NTP=212.82.32.26

    Save the file with the keyboard shortcut Ctrl+O and exit the editor by pressing Ctrl+X . Restart the NTP server by the command
    sudo systemctl restart systemd-timesyncd

    Shortly, the date command should display the current time.

  • Then restart Raspberry Pi by restart the Raspberry Pi with the command
    sudo reboot

  • The installation includes the D2000 with a preconfigured application application myapp. You can log in remotely using D2000 HI, D2000 CNF, GrEdit, Sysconsole, etc., using a default name and password (SystemD2000/SystemD2000), which we also recommend to changechanging.  When When running the tools, it is necessary to specify the parameter /S<ip_raspberry> e.g. /S172.16.0.11

...