# Step 2. Installation

# Opening terminal

If Keitaro preinstalled on the server

If cloud provides created a server with preinstalled Keitaro, skip to "Step 3. Setup".

How to install on Hetzner?
  1. Choose a server with "CentOS 8 Stream":

  1. Enable User data:

  1. Copy and paste that content:

#cloud-config
runcmd:
- curl -fsSL keitaro.io/install.sh | bash -s
1
2
3
  1. Create a server
  2. Wait around 10 minutes and open http://your_server_ip/admin/.
  • (All) Most cloud provides offers web terminal to connect to the server.
  • (Windows) Use Putty.
  • (macOS) Open Terminal app from Applications (⌘ + SPACE, then type Terminal).
  • (Linux) Open the terminal.
Terminal on macOS (video)

# Connecting to SSH

Login to your server in your terminal:

ssh root@server_ip
1

When terminal ask you ECDSA key fingerprint is..., type Y and press Enter.

Type the password.

Don't see the password?

Don't worry, just type the password. Then press Enter.

# Running installation command

Copy and paste installation command:

curl -fsSL keitaro.io/install.sh | bash -s -- -W
1

Wait until the installed finishes installs Keitaro, then open http://xxx.xxx.xxx.xxx/admin.

You must see the setup page.

# Installation FAQ

How to get install.log?

Read in terminal:

less /var/log/keitaro/install.log
1

Get only the installation result:

tail -n 1000 /var/log/keitaro/install.log
1

To send install.log to the customer support, run:

curl -H "Max-Days: 2" --upload-file /var/log/keitaro/install.log https://transfer.sh/install.log
1