Installation
- Installing on Windows
- Download and install the ASP.NET Core Runtime 8.0.5.
- Create user
- Create directory
- Extract files
- Assign permissions
- Create IIS site
- Configure the IIS site
- Configure the site user
- Configure database location
- Installing on Linux
- Fully supported but instructions comming soon.
- Related
Installing on Windows
Download and install the ASP.NET Core Runtime 8.0.5.
There are several download available, but you are looking for the Hosting Bundle for windows at: https://dotnet.microsoft.com/en-us/download/dotnet/8.0
Download and install on your server.
Create user
It is advisable to create a user for the wiki site to run under. This can be a local user or an active directory user. Here we will use a local account called mytightwiki_com.
Create directory
Create a directory to house the TightWiki website files. Here we will use C:\inetpub\MyTightWiki
Extract files
Download the latest version of TightWiki.zip and extract it to the new directory we just created Here we are using 7-zip to extract to C:\inetpub\MyTightWiki.
The directory C:\inetpub\MyTightWiki should now contain two additional directories which were extracted from the zip file: Site and Data. The Site directory contains the website files while the Data directory contains the SQLite database files.
Assign permissions
Ensure that the account you created (mytightwiki_com) has read access to Site and read and write access to Data.
Create IIS site
Open Internet Information Services (IIS) Manager and add a new site.
Configure the IIS site
Once you have clicked Add website on the previous step, it is time to configure the site. Here we will call the site MyTightWiki and select the directory where we previouly extracted the TightWiki.zip files (C:\inetpub\MyTightWiki).
Configure the site user
IIS will access your server using the user which we enter here on the Add website dialog. Here you will enter the username and password that we created on step 2 that we called mytightwiki_com.
Configure database location
You should not have to modify this, but the location of the SQLite database files is located in the Site\appsettings.json file.
Installing on Linux
Fully supported but instructions comming soon.
Related