> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/system-administration/installation/logicnets-installation-on-ubuntu.md).

# LogicNets Installation on Ubuntu

## 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-i386.
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](http://install.sh).
9. Run [install.sh](http://install.sh).
10. Add a user to access the server by using the following command: - var/www/logicnets/system/scripts ./accessmanagement.sh adduser “” “” “” “” “” “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
```

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 \*:443> DocumentRoot /var/www/logicnets/htdocs SSLEngine on SSLCertificateFile /etc/apache2/certs/.cer SSLCertificateKeyFile /etc/apache2/certs/.key

## Archived replies

### Matthijs de Graaff, 2025-05-02

> [apt -get install libc6-1386.](#35yh9m5)

Should be

[apt -get install libc6-i386.](#35yh9m5)

### LN Support (Tim), 2025-05-02

Matthijs de Graaff thank you for pointing that out - it's corrected now.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/platform-documentation/system-administration/installation/logicnets-installation-on-ubuntu.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
