Obelisk
EN
Chapter 2 of 43Next chapter
Installation & first steps

Transfer and open the installation kit

Download the complete Obelisk ZIP, copy it to the FreePBX server and extract it into /root/obelisk-install. Keep that directory: it will also be useful if you need to resume installation or manage scheduled jobs.

Obelisk documentation

Transfer the complete archive

Download obelisk-latest-version.zip and connect to the PBX with an SFTP client. If you are using a Windows client, WinSCP is one option. Transfer the ZIP in binary mode: if the client offers a transfer mode, choose Binary, not Text/ASCII. Copy it to /root. If your account cannot write there, upload it to your home directory and ask the administrator to move it to /root. Alternatively, use the commands on the Demo page to download the ZIP directly from the PBX.

Download Obelisk

Connect to the PBX over SSH

Connect over SSH to the Linux server running FreePBX, using the address and SSH account supplied by its administrator. Replace USER with your SSH username and PBX_HOST with the PBX address. After signing in, run the installation commands on that server.

  1. Check the host and sign in

    At the first connection, compare the host fingerprint with the value supplied by the administrator before accepting it. Enter your password or use your configured SSH key. A password entered in a terminal is normally not displayed. You should reach the shell of the FreePBX server.

  2. Use the administrative account

    If you are not already root, the next step uses sudo -i and requires an account authorized to administer the server. Do not enable root SSH access just for this guide. If SFTP cannot write to /root, upload the ZIP to your own home directory and have the administrator place that exact file in /root before extraction.

Command
ssh USER@PBX_HOST

Use a dedicated working directory

  1. Enter the administrative shell

    If you are not already root, use the following command with an account authorized for sudo. The commands use the stable download name obelisk-latest-version.zip. Check that the ZIP is in /root before continuing.

    Command
    sudo -i
  2. Optional: verify the downloaded file

    If the Obelisk Team supplied the ZIP’s SHA-256 checksum, compare it with the result below. The checksum identifies the file contents; it is not your license activation key. If the values differ, download the ZIP again before installing. This check is optional when no checksum has been supplied.

    Command
    sha256sum /root/obelisk-latest-version.zip
  3. Extract without overwriting files

    Use a new, empty extraction folder. These commands stop if /root/obelisk-install already exists. If it contains an interrupted installation, keep the original kit and follow the recovery guide. For a separate new installation, choose another empty folder and use that path in the commands. If this is not the first installation on your PBX, use the guides below to choose the right procedure: reinstall after removal, resume an interrupted installation, or update an existing one. The installer checks that the extracted folder contains exactly the expected files. Do not mix kits or add any other files to /root/obelisk-install, including the downloaded ZIP: keep that ZIP outside the folder, in /root.

    Command
    mkdir /root/obelisk-install &&
    unzip -n /root/obelisk-latest-version.zip -d /root/obelisk-install &&
    cd /root/obelisk-install

Keep the extracted kit for later operations

Check that /root/obelisk-install contains install.sh and the other kit files. Keep the whole folder outside the website folder. The next chapter starts with the preliminary check, called preflight: install only after resolving the reported errors.

Use an interactive SSH terminal so you can answer the questions. Keep the log paths and saved progress files reported by the installer. These files, called journals, let the original kit continue an interrupted operation. For a new maintenance task, extract the current kit in another empty folder; finish any interrupted task with the kit that started it.

Request your demo

The complete Obelisk experience. Tell us about your contact center.

Loading the request form…