Skip to content

[EN] [1.x] Website Installation

Wruczek edited this page Dec 28, 2018 · 1 revision

This is an outdated tutorial for ts-website 1.x This is a short tutorial on installing TS-website.

Requirements

General:

  • A web server, shared hosting or dedicated server running Apache or nginx
  • Access to your web server (via shell or FTP)
  • A FTP Client

Web Server:

  • PHP 5.5 version or greater
  • Enabled support for utf8_encode

Recommended configuration

  • We recommend using PHP 7 with nginx:
    sudo apt-get install nginx php7.0-fpm php7.0-curl php7.0-mbstring php7.0-json php7.0-mysql php7.0-xml

Recommended web server configuration

Apache:

  1. Enable .htaccess support
  2. Enable mod_rewrite: (sudo a2enmod rewrite && sudo service apache2 restart)
  3. Edit .htaccess files, uncomment line number 19 (remove "#")
  4. Change enablehta in config.php to true

nginx:

  1. Make sure your config is similar to this one - .php files served without extension - Error pages changed to custom ones
  2. Change path to error pages
  3. Change enablehta in config.php to true

Choose a installation method:

Normal installation

  1. Download the latest website files from here.
  2. Unzip downloaded files there, you will get a ts-website-1.0 folder
  3. Connect to FTP and upload files from inside of the ts-website-1.0 folder to your web server
  4. Navigate to your web server address in your browser

Installation with shell access

  1. Connect to your SSH
  2. cd into your web server directory (usually located in /var/www or /var/www/html)
  3. Install unzip if you don't have it already: sudo apt install unzip
  4. Run: wget https://github.com/Wruczek/ts-website/archive/1.0.zip && unzip 1.0.zip && rm 1.0.zip
  5. To move the files to the root directory, run: mv ts-website-1.0/{*,.*} . 2>/dev/null;rm -r ts-website-1.0/
  6. Navigate to your web server address in your browser

Heavly inspired by piwik documentation
Clone this wiki locally