# Step 2: Installation

# Opening the terminal

Is Keitaro already installed?

Skip that page, and proceed to Step 3: Setup.

  • (All) Most cloud providers offer a 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

Log in to the serverserver in your terminal:

ssh root@server_ip
1

When the terminal prompts you with ECDSA key fingerprint is..., type Y and press Enter.

Type the password.

Don't see the password?

If the password is not visible, do not worry, type it in regardless. Press Enter.

# Running installation command

Copy and paste the following installation command to the terminal, and press Enter:

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

Wait for the installation command to finish, then open the control panel in your browser (http://xxx.xxx.xxx.xxx/admin).

# Installation FAQ

How to get install.log?

The following commands allow you to obtain the install.log. There are several options to read the log:

Read in terminal:

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

Obtain only the installation result:

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

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

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