当前位置: 首页 > news >正文

网站 后台 数据 下载网站开发常见毕业设计题目

网站 后台 数据 下载,网站开发常见毕业设计题目,公司网站建设办法,免费广告设计模板网站目录 一、Harbor介绍 二、安装 Harbor 2.1 环境准备 2.2下载 Harbor 3.3 修改配置(可选) 3.4 启动 Harbor 3.5访问 Harbor 三、使用 Harbor 3.1 管理Harbor 一、Harbor介绍 Docker Harbor 是由 VMware 公司开源的一款企业级的 Docker Registry …

目录

一、Harbor介绍

二、安装 Harbor

2.1 环境准备

2.2下载 Harbor

3.3 修改配置(可选)

3.4 启动 Harbor

3.5访问 Harbor

三、使用 Harbor

3.1 管理Harbor


一、Harbor介绍

        Docker Harbor 是由 VMware 公司开源的一款企业级的 Docker Registry 项目,旨在为用户提供一个便捷的方式来搭建和管理私有 Docker 镜像仓库。

二、安装 Harbor

2.1 环境准备

        Harbor 是作为一个包含多个服务的 Docker 应用程序部署的,因此,目标主机需要安装 Docker 和 Docker Compose。

2.2下载 Harbor

        访问 Harbor 的官方网站或其 GitHub 仓库,下载最新版本的 Harbor 部署包。通常,下载的文件是一个压缩包,解压后会包含一个 `docker-compose.yml` 文件和其他配置文件。

# 下载
https://github.com/goharbor/harbor/releases/download/v2.11.0/harbor-offline-installer-v2.11.0.tgz#解压
tar -zxvf harbor-offline-installer-v2.11.0.tgz

3.3 修改配置(可选)

        根据你的环境需求,你可能需要修改 `harbor.yml` 配置文件中的参数,比如 HTTP/HTTPS 端口、存储方式、数据库设置等。

# Configuration file of Harbor# The IP address or hostname to access admin UI and registry service.
# DO NOT use localhost or 127.0.0.1, because Harbor needs to be accessed by external clients.
hostname: 192.168.179.134# http related config
http:# port for http, default is 80. If https enabled, this port will redirect to https portport: 8888# https related config
#https:
#  # https port for harbor, default is 443
#  port: 443
#  # The path of cert and key files for nginx
#  certificate: /your/certificate/path
#  private_key: /your/private/key/path# enable strong ssl ciphers (default: false)# strong_ssl_ciphers: falseharbor_admin_password: Harbor12345# Harbor DB configuration
database:# The password for the root user of Harbor DB. Change this before any production use.password: root123# The maximum number of connections in the idle connection pool. If it <=0, no idle connections are retained.max_idle_conns: 100# The maximum number of open connections to the database. If it <= 0, then there is no limit on the number of open connections.# Note: the default number of connections is 1024 for postgres of harbor.max_open_conns: 900# The maximum amount of time a connection may be reused. Expired connections may be closed lazily before reuse. If it <= 0, connections are not closed due to a connection's age.# The value is a duration string. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".conn_max_lifetime: 5m# The maximum amount of time a connection may be idle. Expired connections may be closed lazily before reuse. If it <= 0, connections are not closed due to a connection's idle time.# The value is a duration string. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".conn_max_idle_time: 0# The default data volume
data_volume: /data/opt/harbor/data

3.4 启动 Harbor

        在 Harbor 解压目录下,执行以下命令启动 Harbor:

./install.sh

3.5访问 Harbor

       启动成功后,你可以通过 Web 浏览器访问 Harbor 的管理界面,通常是 `http://<your-harbor-ip>:80` 或者根据你的配置可能使用 HTTPS 和指定的端口。默认的管理员用户名和密码通常是 `admin/Harbor12345`,首次登录后应立即更改默认密码。

三、使用 Harbor

3.1 管理Harbor

# 停止 Harbor
docker-compose stop# 重启 Harbor
docker-compose start# 重新配置 Harbor
#1.停止 Harbor
docker-compose down -v
#2.更新 harbor.yml
vim harbor.yml
#3.运行脚本以填充配置
./prepare
4.重新创建并启动 Harbor 实例
docker-compose up -d


 

http://www.yayakq.cn/news/834687/

相关文章:

  • 网站建设行业地位yy直播下载电脑版
  • 商务 服务类网站模板企业网站无线端怎么做
  • 网站开发方向c语言做图软件ps下载网站有哪些
  • 网站被host重定向处理学生个人网页制作代码
  • 天津市做公司网站的公司网站需要备案才能建设吗
  • 佛山市网站建设分站哪家好郑州建网站
  • vs python 网站开发怎样克隆别人的网站
  • 宜春做网站的公司哪家好广州教育平台登录入口
  • 网站设计前景如何在电脑上做网站
  • 游戏设计 网站有哪些做买家秀的网站
  • 怎么做个人网站织梦网站后台地址
  • 做韩国网站有哪些东西吗免费logo在线制作字体logo
  • 吕梁市住房与城乡建设厅网站电子商务网站建设的概要设计
  • 做动物网站的原因自己怎么建网站卖东西
  • 网站里面的图片做桌面不清晰学校网站设计流程
  • 郑州公司网站建设哪家好网站设置怎么删除
  • 爱网站网站查询网站开发与技术分析
  • 柳州住房城乡建设厅官方网站百度竞价广告投放
  • 企业手机网站建设平台博物馆网站建设情况说明
  • 免费拿项目做的网站东莞高端品牌网站建设
  • 2018企业网站优化应该怎么做网站h1标签怎么做
  • 企业网站自助建站上海东莞常平学校网站建设
  • 如何申请个人网站wordpress 红色模版
  • 开发网站五个阶段手机优化怎么得100分
  • 织梦做企业网站教程php mysql做网站
  • 鸿运通网站建设手表网站哪家好
  • 云服务器网站建站国外做彩票网站违法吗
  • 网站收录查询代做效果图网站哪家好
  • 龙岗商城网站建设教程作文网推荐
  • 建设网站的知识自己怎么制作一个公众号