Added quickstart script

This commit is contained in:
Stuart Clements 2020-01-17 17:56:20 +01:00
parent 8809b7aa5d
commit 6e358e8889
3 changed files with 42 additions and 2 deletions

View File

@ -15,6 +15,7 @@ This section describes how to install Harbor and perform the required initial co
- [Configure the Harbor YML File](install_config/configure_yml_file.md)
- [Run the Installer Script](install_config/run_installer_script.md)
- [Deploying Harbor with High Availability via Helm](install_config/harbor_ha_helm.md)
- [Deploy Harbor with the Quick Installation Script](install_config/quick_install_script.md)
- [Troubleshooting Harbor Installation](install_config/troubleshoot_installation.md)
- [Reconfigure Harbor and Manage the Harbor Lifecycle](install_config/reconfigure_manage_lifecycle.md)
- [Customize the Harbor Token Service](install_config/customize_token_service.md)

View File

@ -22,10 +22,16 @@ The standard Harbor installation process involves the following stages:
1. [Configure the Harbor YML File](configure_yml_file.md)
1. [Run the Installer Script](run_installer_script.md)
You can also use Helm to install Harbor on a Kubernetes cluster, to make it highly available. For information about installing Harbor with Helm on a Kubernetes cluster, see the [Deploying Harbor with High Availability via Helm](harbor_ha_helm.md).
If installation fails, see [Troubleshooting Harbor Installation](troubleshoot_installation.md).
## Quick Installation
You can run a script that deploys Harbor to Ubuntu 18.04 with a single command. For information, see [Deploy Harbor with the Quick Installation Script](quick_install_script.md).
## Deploy Harbor on Kubernetes
You can also use Helm to install Harbor on a Kubernetes cluster, to make it highly available. For information about installing Harbor with Helm on a Kubernetes cluster, see [Deploying Harbor with High Availability via Helm](harbor_ha_helm.md).
## Post-Installation Configuration
For information about how manage your deployed Harbor instance, see [Reconfigure Harbor and Manage the Harbor Lifecycle](reconfigure_manage_lifecycle.md).

View File

@ -0,0 +1,33 @@
# Deploy Harbor with the Quick Installation Script
The Harbor community has provided a script that with a single command prepares an Ubuntu 18.04 machine for Harbor and deploys the latest stable version.
## Prerequisites
You have a machine or VM that is running Ubuntu 18.04.
## Procedure
1. Download the `harbor.sh` script from [gist.github.com](https://gist.github.com/kacole2/95e83ac84fec950b1a70b0853d6594dc) to your Ubuntu machine or VM.
1. Grant run permissions to the current user.
```$ chmod u+x```
1. Run the script as superuser.
```$ sudo ./harbor.sh```
1. Select whether to deploy Harbor using the IP address or FQDN of the host machine.
This is the address at which you access the Harbor interface and the registry service.
- To use the IP address, enter `1`.
- To use the FQDN, enter `2`.
The script takes several minutes to run. As it runs, the script downloads the necessary packages and dependencies from Ubuntu, installs the latest stable versions of Docker and Docker Compose, and installs the latest stable version of Harbor.
1. When the script reports `Harbor Installation Complete`, log in to your new Harbor instance.
```$ docker login <harbor_ip_or_FQDN>```
- User name: `admin`
- Password: `VMware12345`
1. Enter the Harbor address in a browser to log in to the Harbor interface.