A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://sunengine.github.io/src/en/manual-install_en/step_by_step_server_installation_en.html below:

Ubuntu server walkthrough | SunEngine Documentation

# Ubuntu server walkthrough # Installing Asp.Net Core Runtime

Link to instruction.

# Add repository # Install packages # Install PostgreSql

Link to manual.

# PostgreSql one more package # Set password for postgres user # Postgres console opening # Set user password

Enter the password instead postgres_user_password

# Create a database

my_site.com - database name

# We collect the project locally and write to the server

Clone the sources of SunEngine from official repository to your computer.

All build and publication scripts are located in the Scripts/ directory

In the Scripts/ directory, copy the file PUBLISH.template toPUBLISH and edit it, setting all the parameters

We assemble the project by executing the script - build.sh (the folderbuild appears in the root directory of the project)

Create the /site/my_site.com folder on the server. The path can be any.

We put build on the server, running the scriptpubli.sh

On the server, edit the configuration files in the directory /site/my_site.com/Config

# Connection settings

In the file /Config/DataBaseConnection.json you must specify the database name, user postgres and password.

# Fill the database with initial data

In the directory /site/my_site.com/Server run

This commandline creates tables and other structures in the database and fills with the initial data.

Read more about the dotnet SunEngine.dll commands in this article.

# Create a kestrel service on systemd

Link to instruction.

systemd allows after the server starts to constantly keep the necessary processes running, and restart if they are forced to turn off.

Create the file my_site.com.service in /etc/systemd/system directory

# Enable systemd service # Commandlines to hack # Check the systemd process logs # Restart systemd process # Configuration Nginx

Link to instruction.

# Installing Nginx # Creating configuration of Nginx

First create the file /etc/nginx/sites-available/my_site.com and fill it with

# Activate my_site.com settings # Reload Nginx Settings

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4