Based on SkylineGlobe Server Edge for Windows, SkylineGlobe Server Edge for Linux also requires no installation or web server software. SkylineGlobe Server Edge for Linux has been thoroughly tested and verified on the Ubuntu Desktop distribution, assuring reliable performance. Support for other Linux distributions is also available.
SkylineGlobe Server can only run on a platform with a graphical user interface (GUI). While Ubuntu Desktop systems already include a built-in windowing system, when running a headless Linux system, you will need to install at least some minimal form of GUI, e.g., X Window system, to run SkylineGlobe Server.
To run SkylineGlobe Server Edge for Linux on Ubuntu Desktop 2204:
- Open the terminal application from your graphical user interface (GUI) i.e., not from SSH.
Note: If installing SGS on a headless Linux system, run the following commands to start a new X Window system:sudo /usr/bin/X :0 &
export DISPLAY=:0 - Install the latest stable branch of Wine. See https://wiki.winehq.org/Ubuntu for information.
- Run the following commands in the terminal:
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
winetricks -q –force dotnet48 - Copy the extracted files from the SG.zip package to a Skyline directory ("SGS-Edge") located under .wine/drive_c directory.
- Place the SkylineGlobe license file (SLSkylineGlobeServer.lic) in the SGS-Edge directory.
Note: If using a floating license, an SLFloat.xml file that includes your server URL and the access token received with your Cloud subscription must be saved next to the SLSkylineGlobeServer.lic file in the SGS-Edge directory. To create this file manually, create an XML file called SLFloat.xml, that contains the following line (replace [YOURTOKEN] with your access token received with your Cloud subscription):<Floating><ServerUrl>https://cloud.skylineglobe.com/sws/[YOURTOKEN]/Client/ClientCalls.aspx</ServerUrl></Floating>
- In the terminal, change the directory to the SGS-Edge directory and run the following command:
wine SGSLauncher.exe
- If running SkylineGlobe Server Edge for Linux on a server cluster, do the following:
- Set up a PostgreSQL server for storing SGS databases. More about: Storing SGS Databases on a PostgreSQL Server >
- In the Web.config file located in the SGS directory, replace the value $CATALOG_DB_FILE$ with the path of the catalog.db. The location should be shared by all the machines in the cluster, e.g., shared disk.
- On the first machine, double-click the SGSLauncher.exe file to run it. Then locate the element <machineKey….. /> in the SGS\Web.config file) and copy it.
- On all other machines, edit the Web.config file located in the SGS directory: Locate the element <machineKey….. /> and replace it with the one copied from the first machine. Then double-click the SGSLauncher.exe file to run it.
- Start SkylineGlobe Server Manager. More about: Starting SkylineGlobe Server Manager > Then in the SGS Manager Settings page, set the “Public URL” value. More about: Setting a Public URL - Post-Installation Procedure >
- SGS Edge for Linux can only serve content to HTTP clients. If you have clients that only support HTTPS (e.g., TerraExplorer Fusion), you'll need to implement a reverse proxy in front of your server. This allows the server to serve content to these clients over the HTTPS protocol. More about: Enabling HTTPS >