Skip to main content

iRidi Server NUC/Linux

Install and run iRidi Server on NUC/PC hardware.

Documentation updated 01.01.2024

iRidi Sever for Linux is a software implementation of iRidi Server that runs as a daemon on any personal computer, all-in-one computer, mini PC, tablet, or laptop running a desktop version of Linux (x86/x64).

Attention

Warning. The server does not work on virtual machines

iRidiumServerWindowsPicture.png

Technical specifications:

Intel® NUC systems use various processors. The package may include system boards and cases optimized for installing memory modules and a hard drive. See the specification for iRidi server NUC

Recommended load:

  • 50 control panels
  • more than 6000 iRidi server tags (no more than 12000 is recommended).

Warranty period: 12 (months)

iRidi Server connects to the controlled equipment and sends it commands. Control panels connect to the server to control equipment through it, receive status feedback, and download logs and the database.

The server database can store information about server and equipment operation for the entire time the server has been running. Using data from the database, a control panel can display logs and plot changes in server variables.

iRidiumServerHowItWorks.png

You can manage iRidi Server settings through the console and web interface.

Installation and setup​

To install iRidi Server on Linux:

  1. Download the iRidi Server distribution for Linux, matching the bitness of your operating system.
  • x86 :

wget -O iridiumserver.deb https://iridi.com/ru/redirects/?go=iRidium_Server_Linux_Desktop_x86

  • x64 :

wget -O iridiumserver.deb https://iridi.com/redirects/?go=iRidium_Server_Linux_Debian_x64

Note
  • If a certificate issue prevents the download, add the parameter --no-check-certificate

wget -O iridiumserver.deb --no-check-certificate https://iridi.com/ru/redirects/?go=iRidium_Server_Linux_Desktop_x86

  • To determine which build to download for your NUC (32-bit or 64-bit), you need to identify the bitness of the running kernel and the processor architecture.

The distribution iridiumserver.deb must be installed using Linux tools. Use a file manager or the console command sudo dpkg -i //.deb

for example: sudo dpkg -i /home/iridiumserver.deb

  1. Check that the application server is running using the command: ps aux | grep iridium

Ps_aux1.png

If the process is found, proceed to step 3. Otherwise, start the server manually. By default, the executable is named iridium and is in the iridiumserver folder

Start the server using a file manager or the console command:

/iridiumserver/iridium

Important

If errors occur when starting the server, you need to resolve them and start the server again. If the error is unclear, take a screenshot of it and send it to our technical support team.

  1. Open the server settings by navigating to the following address in a browser: http://host:8888/, where host is the local IP address of the PC running the server.

  2. Sign in to the server using the username and password of a registered iRidi Mobile integrator. The server cannot be used without signing in.

LogInonServerStep1.pngServerTestModeOn.png

Complete all sign-in steps to access the server settings. Enable the Test mode ON option in the server settings to use its full functionality. For more information about operating modes, see Licensing policy.

With Test Mode active, you can test cloud projects and upload projects from iRidi Transfer (locally, without using iRidi Cloud).

Tip

Note: If you are signed in to the operating system as root, you do not need to use the sudo command.

Remove a project from the iRidi server​

To delete project files or licenses, or to free up space on the server, do the following:

  1. Stop the server

/opt/iridiumserver/forebear.sh --stop

Stop_server_nuc_linux1.png

  1. Delete the files
 rm -R /root/iRidium\ Server/Logs/
rm -R /root/iRidium\ Server/DataBase/
rm -R /root/iRidium\ Server/Documents/

Clear_server_nuc_linux1.png

  1. Start the server

/opt/iridiumserver/forebear.sh --start

Start_server_nuc_linux1.png

Identify the kernel architecture​

To determine which iRidi server build to download for your NUC (32-bit or 64-bit), you need to identify the bitness of the running kernel and the processor architecture. You can use this command:

uname -a

Uname1.png

Check the application server installation​

To check whether iRidi Server is installed on your device, enter this command:

dpkg -l | grep iridium

Dpkg1.png

Configure the network address on Linux​

Important

The application server starts on an interface that must have an IP address. If no interface or IP address is detected at startup, the operating system is restarted. This continues until an interface with an IP address becomes available.

To obtain an address automatically using DHCP:

Make sure the primary network interface is named eth0.

Use the command:

ip -br link show

If the network interface name differs from eth0, rename it using the following command:


IFACE=$(ip -br link show | awk '/^en/ {print $1; exit}') && MAC=$(ip link show $IFACE | awk '/ether/ {print $2}') && cat > /etc/systemd/network/10-eth0.link <<EOF
[Match]
MACAddress=$MAC
[Link]
Name=eth0
EOF
update-initramfs -u && reboot

To obtain network settings using DHCP, use these commands:

 vi /etc/network/interfaces 
allow-hotplug eth0
iface eth0 inet dhcp

Notes on the vi command:

  • After opening the file, press i or INSERT. This enables insert mode.
  • Make the required changes. Lines beginning with # are comments and are ignored by the daemon.
  • After you finish inserting text, press ESC, then a colon, then w, q, and ENTER. This saves the changes to the file.
  • To exit without saving, press q! and ENTER instead of w and q.

To specify a static IP address:

  • Run all commands with root privileges
  • The top line is the file name (/etc/network/interfaces); open it with any available editor.
  • The interface may have a name other than enp0s3 (you need to check using ip a).
  • Specify your own address, netmask, and gateway.
  • Specify DNS servers in /etc/resolv.conf

To configure a static IP address, use the following network settings:

 vi /etc/network/interfaces 
source /etc/network/interfaces.d/* auto lo
iface lo inet loopback
allow-hotplug enp0s3
iface enp0s3 inet static
address 192.168.0.**
netmask 255.255.252.***
gateway 192.168.0.**

Settings_static_IP12.png

After obtaining a network address or setting a static address, you need to restart the server.

Develop and run a project​

Once the server is installed, you can develop its configuration and logic:

Server project in iRidi Studio

Upload the completed project to the iRidi server: Starting the iRidi server configuration