2.1.3 Open Source Linux

2.1.3.1 Preparation

For Linux platforms, do the following prior to installing SquidNet:

  • Make sure you have sudo/root access.
  • Make sure you have enough disk space.
  • If using a cross-platform render farm, update your operating systems hosts file (/etc/hosts) with the IP addresses and node names of Windows or Mac OS nodes.

2.1.3.2 Basic installer

To install SquidNet using the Linux installer, execute the following instructions:

  1. Make sure you have admin (root) access before beginning installation process.

  2. Always check the website for the latest updates.

  3. Open up a terminal and make sure you have “sudo” root access. Execute the following commands:

    "cd" to folder where the SquidNet installer resides:
    
    tar xvzf squidnet-linux-x.xxx.tar.gz
    chmod +x ./squidnet-linux-.xxx.run
    sudo ./squidnet-linux-x.xxx.run
    

Hint

You may start, stop or restart the SquidNet daemon using the following commands (as root):

sqn --start (or sudo /etc/init.d/squidnet start)
sqn --stop (or sudo /etc/init.d/squidnet stop)
sqn --restart (or sudo /etc/init.d/squidnet restart)

2.1.3.3 32-Bit Libraries

Some Linux distributions do not install the 32-bit libraries by default. If yours doesn’t, you’ll need to install the following 32-bit packages:

  • Fedora 26:

    sudo yum install libacpi.i686 libacpi.x86_64 libstdc++.i686 libXext.i686
    
  • Ubuntu 16.04 and 14.04:

    sudo dpkg --add-architecture i386
    sudo apt-get update
    sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
    sudo apt-get install libxrender1:i386 libxtst6:i386 libxi6:i386
    
  • CentOS 7:

    sudo yum install libstdc++.i686 libXext.i686
    

2.1.3.4 Hostname lookup

Make sure that your Linux system has the proper hostname name setup so that when a hostname lookup is made the correct network IP address is returned.

For Debian-based distributions:

  • hostnamectl set-hostname <new-hostname>

For RedHat-based distributions:

  • Edit “/etc/sysconfig/network”
  • Execute “/etc/rc.d/rc.sysinit” (or reboot).

Alternatively, but not recommended, you can edit your /etc/hosts file to include the hostname and IP address. If the hostname of your node is not present in /etc/hosts, SquidNet will use the IP address assigned to network interface “eth0”.

2.1.3.5 Uninstall

To uninstall SquidNet, do the following:

  1. From a terminal shell, “cd” to the quidNet installation directory /usr/squidnet and execute uninstall script uninstall.sh.