How to install CapRover on a VPS

Procédure

CapRover can be installed in just a few clicks on your VPS server thanks to the preconfigured template available in your customer area. CapRover is an open source PaaS (Platform as a Service) platform that simplifies the deployment and management of your web applications and containerized databases with Docker. This guide details the procedure for deploying this template and connecting to your administration interface.

The steps

  1. Access the VPS management

    Log in to your customer area, go to the Servers tab, then click the Manage button opposite the VPS concerned.

    List of VPS servers in the LWS customer area
  2. Open the reinstallation tool

    In the left sidebar menu of your virtual machine management interface, click on the Reinstallation section.

    Access to the Reinstallation menu in the KVM panel
  3. Select the CapRover Platform template

    In the Template to install field, choose CapRover Platform. Make sure your SSH key remains checked in the keys to install section, then click the red Reinstall server button.

    Select the CapRover Platform template, check the SSH options then click Reinstall server.
  4. Confirm data overwrite

    A modal window titled Confirm reinstallation appears to remind you that the disk will be erased irreversibly. Enter the exact identifier of your server (for example vps123456) in the confirmation field, then click Reinstallation.

    VPS reinstallation confirmation window
  5. Wait during deployment

    The system formats and performs the complete installation of the system with Docker and CapRover. Wait about 4 to 5 minutes for the operation to complete automatically.

    Tracking the ongoing VPS reinstallation with the CapRover Platform template.
  6. Note the machine's IP address

    Once the installation is complete, go back to the Overview section of the sidebar menu. Find the Server IPs block and copy your IPv4 address.

    Note the IPv4 address of your VPS in the « Server IPs » section.
  7. Connect to the administration interface

    Open a new tab in your web browser and go to the URL http://203.0.113.10:3000 (replacing 203.0.113.10 with your real IP address). Enter the platform's initial password in the required field then click Login.

    Login page for the CapRover administration interface.
  8. Discover the CapRover dashboard

    The dashboard is displayed, confirming that your instance is working properly. You can browse the side menus such as Apps, Monitoring or Cluster to manage your future containers.

    CapRover dashboard after the first login.

Frequently asked questions

Why does the initial connection use HTTP and not HTTPS?

At this stage, your server is only accessible via its raw IP address on port 3000. SSL/TLS security certificates require a valid domain name, which will be configured in the next step via a DNS record.

Is my current data preserved during installation?

No. Applying the template fully resets the virtual hard drive of your VPS. All pre-existing data is permanently deleted.

What should I do if the page on port 3000 does not appear immediately?

Starting all of CapRover's Docker containers completely may take an additional one to two minutes after the task finishes in the panel. Wait a short while then refresh the page.

What DNS configuration should I prepare next?

To link your domain name to CapRover, you will need to create a generic wildcard A-type DNS entry, such as *.caprover.example.com pointing to your server's IP address.

Can I still administer my server via SSH command line?

Yes, your SSH key configured during installation remains operational and allows you to connect as the root administrator on your virtual machine.

Useful links

help.lws.net/a/7945
Was this article helpful?

Yes

No

Read 1 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

Need more help?

A question about this article?

Léo, our assistant, answers you straight away based on our articles.

A problem with your account?

Our technical support team handles your request by ticket, from your customer area.

Open a ticket