-
Notifications
You must be signed in to change notification settings - Fork 80
[EN] Website Installation
Wruczek edited this page Dec 27, 2018
·
32 revisions
This is a short tutorial on installing TS-website 2.0
Show / hide
- 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.6 version or greater
- Enabled extensions:
mbstring
,json
,pdo_mysql
,curl
- Ubuntu 16.04+, PHP 7.0+, nginx
Show / hide
- Download the latest version from the releases page
- Unzip it
- Transfer it to the web directory
- Open your browser and navigate to TS-website, proceed with installation
Show / hide
This is a simple tutorial with commands for dummies.
What will you need:
- Clean VPS server running Ubuntu 16.04 or later
- SSH access to the server ("putty")
Update apt and get some necessary packages
sudo apt-get update
sudo apt-get install unzip
Please follow DigitalOcean's great tutorial for this.
After you get back: Install some additional PHP packages:
sudo apt-get install php-mbstring php-curl
Create a database:
sudo mysql
CREATE DATABASE ts-website;
exit
- Go to the releases page and copy the link to the latest release zip (like this)
- Choose how would you like to install TS-website:
In a root folder (for example https://wruczek.tech)
This will remove everything from the html
folder!
cd /var/www
sudo rm -r html
sudo wget paste_the_release_zip_link_here
sudo unzip ts-website-release*.zip
sudo rm ts-website-release*.zip
mv ts-website html
sudo chown www-data:www-data -R html
In a sub-directory (for example https://wruczek.tech/ts-website)
cd /var/www/html
sudo wget paste_the_release_zip_link_here
sudo unzip ts-website-release*.zip
sudo rm ts-website-release*.zip
sudo chown www-data:www-data -R ts-website
Visit your website in web browser again to start the installation process.
If you have installed TS-website in a sub-directory, remember to visit http://your-server/ts-website
Have fun!
TS-Website Wiki | German Translation by derrobin154 | Polish Translation by toster234 | Czech Translation by flw55 | Hungarian Translation by Aqua22