# Installation

WARNING

The script closes all ports except current SSH port, 80, 443. If your SSH is installed on a non-standard port, you will lose access to the console.

# How to run

  1. Open Terminal and log in to the server:

    ssh root@x.x.x.x

  2. Change x.x.x.x to the server's ip-address.

  3. Enter the password. Don't worry abount not seen any feedback while typing the password.

  4. When you successfully logged in the server, copy and paste that command:

    curl -fsSL keitaro.io/install.sh | bash -s -- -L en

  5. Enter the license key when the installer ask you, then Enter.

That's it. In 5-10 minutes, you'll get the admin panel URL, login and password.

# FAQ

# What will be installed?

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

# The installation stopped right after the license key input

Make sure the license IP is the correct and coincides with the IP of the server you are installing Keitaro on.

# How to continue the installation process after the error

Run again the installation command. All parameters which were previously entered will be restored automatically.

# How to share 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.

# How to block an access to Keitaro form definite IPs

You can set up your server in local configs at /etc/nginx/conf.d/local.

Use /etc/nginx/conf.d/local/keitaro/server.inc for the whole server settings.

To block an access add the following lines:

deny x.x.x.x;
allow all;

# How to begin the installation process without entering the license key

You need to enter the -K (the license key) and -P (server's IP):

curl -fsSL keitaro.io/install.sh | bash -s -- -L en && bash run -K 1234-1234-1234-1234 -A 1.1.1.1
  • How to run
  • FAQ
  • How to begin the installation process without entering the license key