0

LogicNets Installation on Ubuntu

  • updated 1 yr ago

Description

Ubuntu is an open-source operating system on Linux for the enterprise server, desktop, and cloud. LogicNets v8+ supports Ubuntu as an operating system. This topic provides the steps required to install LogicNets on Ubuntu.

Installation Steps

To install LogicNets on an Ubuntu operating system, you will need to take the following steps.

  1. Navigate to /var/www/logicnets/system/scripts.
  2. To run 32-bit sqlite3, run the following:
    • apt -get install libc6-1386.
  3. Enable the following modules within the apache2 configuration.
    • apt install a2enmod rewrite
    • a2enmod cgi
    • a2enmod headers
    • a2enmod actions
    • a2enmod ssl
  4. To get ODBC working for database connections, run the following:
    • apt-get install unixodbc -y
    • apt-get install ca-certificates -y
    • apt-get install hostsed -y
  5. Remove the standard apache2 websites that are enabled:
    • rm etc/apache2/sites-enabled/00-default.conf
    • rm /etc/apache2/conf-enabled/serve-cgi-bin.conf
    • rm etc/apache2/sites-enabled/default-ssl.conf
  6. Restart Apache 2:
    • systemct1 restart apache2.
  7. Verify that the config file in the install zip file has the right TARGET = /var/www/logicnets.
  8. Go to install.sh.
  9. Run install.sh.
  10. Add a user to access the server by using the following command:
    • var/www/logicnets/system/scripts ./accessmanagement.sh adduser <company> “<name>” “” “” “<email>” <company> “<password>” “active” “100” –groups=pop,admin

Apache Config File

Below is an example of a LogicNets Apache configuration file that contains the right settings to make LogicNets work. The location of the Apache configuration files can be found in /etc/apache. We recommend making a new configuration file and using this as an example, then deleting the default configuration files as done above in the installation steps. 

<Directory "/var/www">
    AllowOverride All
    # Allow open access:
    Require all granted

    #Ensure that authorization headers are passed    
    CGIPassAuth On
</Directory>

ScriptAlias /cgi-bin/ "/var/www/logicnets/system/bin/"
Action mylns /cgi-bin/logicnets
AddHandler mylns .lns
DocumentRoot /var/www/logicnets/htdocs

<VirtualHost *:80>
    DocumentRoot /var/www/logicnets/htdocs
</VirtualHost>

<VirtualHost *:443>
    DocumentRoot /var/www/logicnets/htdocs
    SSLEngine on
    SSLCertificateFile /etc/apache2/certs/<your certificate>.cer
    SSLCertificateKeyFile /etc/apache2/certs/<your key>.key
</VirtualHost>

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 1 yr agoLast active
  • 26Views
  • 1 Following

Home