-
Notifications
You must be signed in to change notification settings - Fork 80
[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.
- A web server, shared hosting or dedicated server running Apache or nginx
- Access to your web server (via shell or FTP)
- A FTP Client
- PHP 5.5 version or greater
- Enabled support for
utf8_encode
- 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
Apache:
- Enable .htaccess support
- Enable mod_rewrite: (
sudo a2enmod rewrite && sudo service apache2 restart
) - Edit
.htaccess
files, uncomment line number 19 (remove "#") - Change
enablehta
inconfig.php
totrue
nginx:
- Make sure your config is similar to this one
-
.php
files served without extension - Error pages changed to custom ones - Change path to error pages
- Change
enablehta
inconfig.php
totrue
-
Normal installation - easier but slower
- if you don't have a SSH access, or you are not comfortable using it
-
Installation with shell access - harder but way faster
- if you have a shell access to your server
- Download the latest website files from here.
- Unzip downloaded files there, you will get a
ts-website-1.0
folder - Connect to FTP and upload files from inside of the
ts-website-1.0
folder to your web server - Navigate to your web server address in your browser
- Connect to your SSH
-
cd
into your web server directory (usually located in/var/www
or/var/www/html
) - Install
unzip
if you don't have it already:sudo apt install unzip
- Run:
wget https://github.com/Wruczek/ts-website/archive/1.0.zip && unzip 1.0.zip && rm 1.0.zip
- To move the files to the root directory, run:
mv ts-website-1.0/{*,.*} . 2>/dev/null;rm -r ts-website-1.0/
- Navigate to your web server address in your browser
Heavly inspired by piwik documentation
TS-Website Wiki | German Translation by derrobin154 | Polish Translation by toster234 | Czech Translation by flw55 | Hungarian Translation by Aqua22