SiteView-Web can be installed on a Linux system and configured to run as a systemd service.
Running SiteView-Web as a service allows it to:
- Start automatically when the Linux system starts.
- Run in the background without requiring a terminal window to remain open.
- Restart automatically if the application stops unexpectedly.
1. Install SiteView-Web on Linux
Step 1: Extract the SiteView-Web Package
In the downloaded SiteView-Web package, locate the Linux folder. It should contain a .tar file.
Copy the .tar file to your Linux system and extract it to the folder where you want to install SiteView-Web.
For example:
sudo tar -xf [name-of-file.tar] -C [destination-folder]
Replace:
[name-of-file.tar]with the actual SiteView-Web.tarfilename.[destination-folder]with the folder where you want SiteView-Web to be installed.
For example:
sudo tar -xf SiteView-Web.tar -C /opt/siteviewweb
Make sure the destination folder already exists before running the command.
Step 2: Make SiteView-Web Executable
Go to the folder where SiteView-Web was extracted.
For example:
cd /opt/siteviewweb
Then make the SiteView-Web application executable:
sudo chmod +x SiteViewWeb
2. Create a systemd Service for SiteView-Web
Step 1: Create the Service File
Run the following command:
sudo nano /etc/systemd/system/SiteView-Web.service
This creates a systemd service file named:
SiteView-Web.service
Add the following content:
[Unit]
Description=SiteView-Web Service
[Service]
# Wait 20 seconds before starting SiteView-Web
ExecStartPre=/bin/sleep 20
WorkingDirectory=[destination-folder]
ExecStart=[destination-folder]/SiteViewWeb
Restart=always
RestartSec=60
KillSignal=SIGINT
SyslogIdentifier=SiteView-Web-log
User=[username]
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
[Install]
WantedBy=multi-user.target
Before saving the file, make the following changes:
- Replace
[destination-folder]with the full path where SiteView-Web is installed. - Replace
[username]with the Linux user account that will run SiteView-Web.
For example:
WorkingDirectory=/opt/siteviewweb
ExecStart=/opt/siteviewweb/SiteViewWeb
User=siteview
Press:
Ctrl + X
Then press:
Y
and press Enter to save the file and exit Nano.
3. Enable and Start the SiteView-Web Service
Step 1: Reload systemd
After creating or modifying the service file, run:
sudo systemctl daemon-reload
Step 2: Enable SiteView-Web at Startup
Run:
sudo systemctl enable SiteView-Web.service
This configures SiteView-Web to start automatically when the Linux system boots.
Step 3: Start SiteView-Web
Run:
sudo systemctl start SiteView-Web.service
4. Check the Service Status
To verify that SiteView-Web is running, use:
sudo systemctl status SiteView-Web.service
If SiteView-Web is running correctly, the service status should show:
active (running)
![]()
If the service does not start successfully, you can view its systemd log using:
sudo journalctl -u SiteView-Web.service
5. Access SiteView-Web from Another Computer
By default, SiteView-Web runs on:
localhost:5000
This means it may initially be accessible only from the Linux system on which it is running.
To make SiteView-Web accessible to other computers on your network or through the Internet, you can configure Nginx as a reverse proxy.
Continue with the following FAQ for instructions on configuring an Nginx reverse proxy: