Overview
This guide outlines the setup process for running FrameworkX on Linux, tested on Ubuntu 22.04 and Debian 12 with .NET 8.0 compatibility. It involves installing .NET 8.0 if not already available, importing necessary files, and configuring a connection between a Windows and Linux environment. The setup includes running web services on Linux, allowing Windows to connect via FrameworXthe platform, where additional features can be installed on Linux as needed. This approach facilitates a multiproject multi-project configuration, enabling seamless integration and functionality across both operating systems.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
The UBUNTU used version for testing was 22.04. It was also tested with Debian 12 and it worked. Others OS that accept .net8NET 8.0 should work as well, the only difference can be in how to install .net8NET 8.0.
Step 1
.NET 8.0 should already be installed on Linux. If not, proceed to the section "Steps to install .NET 8 on Linux (Ubuntu).”
Step 2
Here we will import the necessary files to open the connection between your computer and Linux. We recommend to import this files in this path "/Home/FrameworX/". (create it if not exists)
Code Block |
---|
git clone https://github.com/tatsoftdocs/FrameworX<buildNumber>.git |
Where, <buildNumber> will be the build number of FrameworX, , the build number you can find in “Solution Manager” > “Connected Server Information” > “Installed Versions” e.g:
Code Block |
---|
git clone https://github.com/tatsoftdocs/FrameworX326.git |
If you don’t have github installed, use the following command:
Code Block |
---|
sudo apt install git |
If that doesn’t work for you, you have a secondary option below:
Copy the files and subdirectories from the Windows installation directory "<Install Path>\FrameworX\net8.0" to the Linux directory "/Home/FrameworX".
Step 3
On Linux, we will run the WebServices to connect to the windows computer. Inside the directory "/Home/FrameworX/", run the following command:
Code Block |
---|
dotnet TWebServices.dll |
After you run this command, it should show you in terminal that it is running and what is the IP and Port.
Step 4
After that, simply run FrameworX.exe on Windows, connect to Linux in “Server Information” > “Remote Server” > add the IP and port (it will be shown when you do the command in step 3), “Upgrade Product…” with the options you want to install on Linux (for example: HTML5, Designer/Remote, Protocol Drivers, etc.). Here you import to Linux the product installation.
Step 5
Finally, “Upload File…”, and upload the file you will use in the Linux environment, it is important to notice that the project has to be created as multiproject option.
Steps to
installInstall .NET 8 on Linux (Ubuntu)
To install .NET 8 on a Linux machine, follow the steps below. The instructions are based on the Ubuntu distribution, but can be adapted for other distributions.
Update existing packages:
Code Block |
---|
sudo apt update sudo apt upgrade -y |
Install the required packages
Code Block |
---|
sudo apt install -y wget apt-transport-https |
Add the Microsoft Package Signing key
Code Block |
---|
wget https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb |
Update the repositories:
Code Block |
---|
sudo apt update |
Install the .NET 8 SDK:
Code Block |
---|
sudo apt install -y dotnet-sdk-8.0 |
Verify the installation:
Code Block |
---|
dotnet --version |