johnrlive / caprover-installer

Easy install caprover server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

caprover-installer

Easy install caprover server

This simple script will install caprover server on your OS

Just do: sudo sh caprover-ubuntu-18-installer.sh

After install this caprover server, you may config a domain and continue install steps on your client by install caprover client installer:

Configuring the domain

Next, we want to point our domain to our VPS.

First, we have to find the public (or external) IP address of our VPS. You will find that IP address easily on your VPS user interface:

Next, go to your domain registrar’s website. Login, and navigate to your domain’s DNS settings. We will use a subdomain that we will point to our VPS via an A record:

We are using a wildcard subdomain here, which allows our applications to be accessible via yourApplicationName.server.yourDomainName.com (note that you don’t have to use .server here, you can use whatever name you want).

Initializing CapRover from our personal system

On your personal laptop/desktop install :

npm i -g caprover

Then execute :

$ caprover serversetup

Here is a sample output:

Setup CapRover machine on your server...

? have you already started CapRover container on your server? Yes
? IP address of your server: [yourIPAddress]
? CapRover server root domain: server.[yourDomainName].com
? new CapRover password (min 8 characters): [hidden]
? enter new CapRover password again: [hidden]
? "valid" email address to get certificate and enable HTTPS: [your@email.com]
? CapRover machine name, with whom the login credentials are stored locally: [yourCustomCapRoverMachineName]

CapRover server setup completed: it is available as [yourCustomCapRoverMachineName] at https://captain.server.[yourDomainName].com

For more details and docs see CapRover.com

After initialization, you can navigate to https://captain.server.[yourDomainName].com:

Let’s log in with our new and secure password:

Congratulations! Your CapRover PaaS is now up and running.

Thanks

I was searching for powerfull caprover installation help and i found Dominik Sobe's article This repository is summary of Dominik Sobe's solution thanks from :

Dominik Sobe for best caprover installation article

forked from yiiman-dev/caprover-installer

About

Easy install caprover server

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%