0
[EN] [1.x] Website Installation
Wruczek edited this page 7 years ago
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:
- Enable .htaccess support
- Enable mod_rewrite: (
sudo a2enmod rewrite && sudo service apache2 restart) - Edit
.htaccessfiles, uncomment line number 19 (remove "#") - Change
enablehtainconfig.phptotrue
nginx:
- Make sure your config is similar to this one
-
.phpfiles served without extension - Error pages changed to custom ones - Change path to error pages
- Change
enablehtainconfig.phptotrue
Choose a installation method:
- 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
Normal installation
- Download the latest website files from here.
- Unzip downloaded files there, you will get a
ts-website-1.0folder - Connect to FTP and upload files from inside of the
ts-website-1.0folder to your web server - Navigate to your web server address in your browser
Installation with shell access
- Connect to your SSH
cdinto your web server directory (usually located in/var/wwwor/var/www/html)- Install
unzipif 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