Difference between revisions of "Script installation"

From TITAN Wiki
Jump to: navigation, search
m
m
Line 40: Line 40:
 
*'''Step 7 - Password''' - You access your Titan Admin Panel (located on [https://admin.usetitan.com Titan Admin Panel]) using your UseTitan login details. However you also need 'admin' account on your website. It can be used e.g. for forum administration or other activities on your website.
 
*'''Step 7 - Password''' - You access your Titan Admin Panel (located on [https://admin.usetitan.com Titan Admin Panel]) using your UseTitan login details. However you also need 'admin' account on your website. It can be used e.g. for forum administration or other activities on your website.
 
*'''Step 8 - Add the license''' - To finish installation you need add your domain to your license plan in UseTitan system.  Go to Your UseTitan [https://usetitan.com/account.aspx DashBoard] and click "Add new domain". Please copy "Domain name", "Website Connection String", "Forum Connection String" and paste them into UseTitan system. "Connection string" is a information about connection to your database. Inside connection string are data, which you entered in step 4.  
 
*'''Step 8 - Add the license''' - To finish installation you need add your domain to your license plan in UseTitan system.  Go to Your UseTitan [https://usetitan.com/account.aspx DashBoard] and click "Add new domain". Please copy "Domain name", "Website Connection String", "Forum Connection String" and paste them into UseTitan system. "Connection string" is a information about connection to your database. Inside connection string are data, which you entered in step 4.  
 +
Exemplary connection string:
 +
Data Source=DATABASE SERVER ADDRESS; Initial Catalog=DATABASE NAME; Integrated Security=false; User ID=DATABASE USER; Password=USER PASSWORD;
  
 
*'''Step 9 - Set RDNS''' If you don't use ([https://wiki.usetitan.com/index.php/Advanced_email_configuraton external SMTP server]), please set correct RDNS (you should will be able to do it in your hosting account), or add PTR record to your DNS table. Value of RDNS should be your domain without www (e.g. '''domain.com''') and value of PTR record should be your server IP (e.g. '''192.168.0.1''').
 
*'''Step 9 - Set RDNS''' If you don't use ([https://wiki.usetitan.com/index.php/Advanced_email_configuraton external SMTP server]), please set correct RDNS (you should will be able to do it in your hosting account), or add PTR record to your DNS table. Value of RDNS should be your domain without www (e.g. '''domain.com''') and value of PTR record should be your server IP (e.g. '''192.168.0.1''').
 
Here you can read more about RDNS/PTR https://www.cloudflare.com/learning/dns/glossary/reverse-dns/
 
Here you can read more about RDNS/PTR https://www.cloudflare.com/learning/dns/glossary/reverse-dns/
  
Exemplary connection string:
+
 
Data Source=DATABASE SERVER ADDRESS; Initial Catalog=DATABASE NAME; Integrated Security=false; User ID=DATABASE USER; Password=USER PASSWORD;
 
 
*'''Step 10 - Finished!''' - If you finish all previous steps and you are sure that every step was ended correctly, go to main directory with installation files and remove installation package and directory "/install/".
 
*'''Step 10 - Finished!''' - If you finish all previous steps and you are sure that every step was ended correctly, go to main directory with installation files and remove installation package and directory "/install/".
  

Revision as of 09:38, 9 May 2019

Script installer

Script installation is a procedure to upload and install Titan on your server. It should take no more than 30 minutes. The procedure is easy so don't worry. This article is so huge, because we wanted to describe the installation procedure in every detail.

Installation procedure consists of two main parts:

  • Part 1 - Preparing installation files to upload on server
  • Part 2 - Script installation on server


If you have VPS/Dedicated server, you need to configure it first (install some necessary software). See VPS configuration article which describes how to do it.

Preparing files

Follow the steps below:

  • Step 1 - Download Titan script (you should receive the ZIP package after purchase) and unzip the script on your computer.
  • Step 2 - Download forum files from here and unzip forum files on your computer.
  • Step 3 - Copy all forum files and paste them into script files root directory.
  • Step 4 - Create new zip file from connected files. It is important to create new zip file from all files not from folder in which are files.
  • Step 5 - Upload created package on your server. If you have GoDaddy hosting, and you have problems with upload files, please see this link: [1]
  • Step 6 - Unzip the package on your server.

Now, if you have finished preparing installation files and you are sure, that every file on server is uploaded correctly, you can start the installation.

Installation

Go to your website with note "/install/". For example: http://domain.com/install/

Follow the steps from the TITAN Installer:

  • Step 1 - Requirements & files - Checking files on the server and server requirements. If some file was uploaded wrong, you will see which one and you should uplod missing file.
  • Step 2 - Machine Key - Go to Machine Key Generator and generate ASP.NET 2.0 Machine Key. Open Web.config file, which is located on your hosting account. Find <!--MACHINE KEY--> and replace it with generated Machine Key. Save file when you change Machne Key.
  • Step 3 - Permissions - Checking permissions to connect to files on the server. If some permissions is blocked you have to change permissions. We need "Full Control" (read, write, modify = 777) permissions for the application to the following folders/files/subfolders, in which are all installation files.
  • Step 4 - Databases - Go to your hosting control panel and create two Microsoft SQL (MSSQL) databases. First for the website, and second for the forum. Create also database user account and give him permissions to management both databases. If you don't have installed MSSQL on your server, you should install it or contact with hosting support in order to buy such a service. When you finish creating databases and user account, fill detials and click next step.
If you see an error on "Checking remote connection to Website..." (e.g. "A network-related or instance-specific error occurred while establishing a connection to SQL Server...") make sure that:

1. Database server address is not using local name. It should be an IP address or domain, instead of "localhost" or local server instance name. Good: 123.45.67.89, 123.45.67.89\SQLEXPRESS, domain.com\SQLEXPRESS Bad: localhost, localhost\SQLEXPRESS, abcdefghij\SQLEXPRESS
2. You have whitelisted port 1433 in Firewall

  • Step 5 - Email - Go to your hosting control panel and create email account. To finish this step we need connect to this account. Please make sure all required fields are filled out correctly.
  • Step 6 - CRON - You need to run a particular URL every 24h at 23:30 server time. It's necessary for Titan to work. This file handles all daily jobs. Titan won't work properly without this file trigerred. URL to run every 24h you will see during the installation.
    • Go to your hosting control panel and create Scheduled Task. Run your Scheduled Task after created. After it's successfully triggered, go to the next step. Instruction how to create scheduled task for GoDaddy and SmarterASP
    • If you are using VPS, perform actions in instruction VPS CRON Setup
  • Step 7 - Password - You access your Titan Admin Panel (located on Titan Admin Panel) using your UseTitan login details. However you also need 'admin' account on your website. It can be used e.g. for forum administration or other activities on your website.
  • Step 8 - Add the license - To finish installation you need add your domain to your license plan in UseTitan system. Go to Your UseTitan DashBoard and click "Add new domain". Please copy "Domain name", "Website Connection String", "Forum Connection String" and paste them into UseTitan system. "Connection string" is a information about connection to your database. Inside connection string are data, which you entered in step 4.

Exemplary connection string:

Data Source=DATABASE SERVER ADDRESS; Initial Catalog=DATABASE NAME; Integrated Security=false; User ID=DATABASE USER; Password=USER PASSWORD;
  • Step 9 - Set RDNS If you don't use (external SMTP server), please set correct RDNS (you should will be able to do it in your hosting account), or add PTR record to your DNS table. Value of RDNS should be your domain without www (e.g. domain.com) and value of PTR record should be your server IP (e.g. 192.168.0.1).

Here you can read more about RDNS/PTR https://www.cloudflare.com/learning/dns/glossary/reverse-dns/


  • Step 10 - Finished! - If you finish all previous steps and you are sure that every step was ended correctly, go to main directory with installation files and remove installation package and directory "/install/".


You can now log into your Admin Panel and configure the script.