Use this method for freshly installed VPS and servers.
This script installs and configures all the necessary environment and Keitaro TDS on the server.
Clean server with CentOS 7 and without control panels. For installation use the virtual server (VPS).
How to choose server or hosting?
Read at the page How to choose server or hosting
Note: The server must be clean at the time when you start a script. Launch on the server with websites which were run or with control panel will entail unpredictable consequences.
Open your server by SSH and run:
curl -sSL http://keitarotds.com/install.sh | bash -s -- -l en -k 8
Then follow the script instructions. You will be prompted for server IP, the license key, domain (if SSL is necessary).
Installing on Azure VM
If you're using Azure or any other servers without direct root access:
curl -sSL http://keitarotds.com/install.sh | sudo bash -s -- -l en -k 8
Single-click installation will:
- Install the latest versions of Nginx, MariaDB, Redis, PHP 7
- Configure Nginx, PHP-FPM, MariaDB
- Install Monit to monitor Nginx, MariaDB and PHP-FPM
- Configure firewall
- Connect a free SSL certificate from Let's Encrypt (with automatic extension)
- Install Keitaro TDS
Note: The script closes all ports except 22, 3333 (SSH port friendhosting), 80, 443. If your SSH is installed on a non-standard port, you will lose access to the console.
If the installation was cut short with an error
See the latest steps of installation. Try to identify and eliminate the cause. If you have a problem, please contact our technical support.
How to continue the installation?
Run again the installation command. All parameters which were previously entered will be restored automatically.
How to Add Additional Sites to the Server?
To add a website that should work separate from Keitaro, use this command:
curl -sSL https://keitarotds.com/add-site.sh | bash -s
How to Attach Domains to the Keitaro?
Add an A-record in the domain DNS, like the following:
@ IN A 220.127.116.11
Replace “18.104.22.168” to your server IP. After several hours, try to open the admin panel from that domain
How to Update the Server Environment?
yum update yum upgrade
How to add SSL after installation?
If you chose not to install the certificate when you first start, you can install it later using the command
curl -sSL https://keitarotds.com/enable-ssl.sh | bash -s -- domain1.ru
The script will not work if the server was not configured by the script of single-click installation.
How to Download install.log?
You can upload the file to 'transfer.sh', just run this command:
curl -H "Max-Downloads: 1" -H "Max-Days: 5" --upload-file ./install.log https://transfer.sh/install.log
You'll get the download link. It allows just single download, after that it delete the file.
Where is Keitaro Installed?