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
Open Terminal and log in to the server:
x.x.x.xto the server's ip-address.
Enter the password. Don't worry abount not seen any feedback while typing the password.
When you successfully logged in the server, copy and paste that command:
curl -fsSL keitaro.io/install.sh | bash -s -- -L en
Enter the license key when the installer ask you, then
That's it. In 5-10 minutes, you'll get the admin panel URL, login and password.
# 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/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 22.214.171.124