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

公司建站后还要录入网页吗宝塔搭建wordpress网站

公司建站后还要录入网页吗,宝塔搭建wordpress网站,新加坡建设局网站,wordpress 加论坛目录 一.安装harbor和docker-compose 1.下载 2.将该文件修改为这样#xff0c;修改好自己的hostname和port#xff0c;后文的用户和密码可以不改也可以改#xff0c;用于登录 3.安装 二.修改daemon.json文件和/etc/hosts文件 三.使用powershell作windows端域名映射 四…目录 一.安装harbor和docker-compose 1.下载 2.将该文件修改为这样修改好自己的hostname和port后文的用户和密码可以不改也可以改用于登录 3.安装 二.修改daemon.json文件和/etc/hosts文件 三.使用powershell作windows端域名映射 四.浏览器使用域名登录验证 1.用户admin密码没有修改默认是Harbor12345 2.根据提供的推送指令操作 五.镜像打标签和推送 六.拉取验证 七.过程中遇到的一些问题 1.Get https://harborslb.com/v2/: http: server gave HTTP response to HTTPS client 2.unauthorized: unauthorized to access repository: library/centos, action: push: unauthorized to access repository: library/centos, action: push 3.在浏览器使用账号密码登录时报错核心服务不可用 4.启动docker报docker.service holdoff time over, scheduling restart 一.安装harbor和docker-compose 1.下载 链接https://pan.baidu.com/s/1FfDCJPWGcBK0krmiMfdpJQ  提取码8pu7 [rootlocalhost ~]# cd /usr/local/ [rootlocalhost local]# ll total 651916 drwxr-xr-x. 2 root root         6 Apr 11  2018 bin -rw-r--r--  1 root root  59383631 Aug 20 15:59 docker-compose-linux-x86_64 drwxr-xr-x. 2 root root         6 Apr 11  2018 etc drwxr-xr-x. 2 root root         6 Apr 11  2018 games -rw-r--r--  1 root root 608175520 Aug 20 16:01 harbor-offline-installer-v2.8.4.tgz drwxr-xr-x. 2 root root         6 Apr 11  2018 include drwxr-xr-x. 2 root root         6 Apr 11  2018 lib drwxr-xr-x. 2 root root         6 Apr 11  2018 lib64 drwxr-xr-x. 2 root root         6 Apr 11  2018 libexec drwxr-xr-x. 2 root root         6 Apr 11  2018 sbin drwxr-xr-x. 5 root root        49 Jul 23 08:59 share drwxr-xr-x. 2 root root         6 Apr 11  2018 src [rootlocalhost local]# mv docker-compose-linux-x86_64 /usr/local/bin/docker-compose [rootlocalhost local]# chmod x /usr/local/bin/docker-compose[rootlocalhost local]# tar -zxvf harbor-offline-installer-v2.8.4.tgz  harbor/harbor.v2.8.4.tar.gz harbor/prepare harbor/LICENSE harbor/install.sh harbor/common.sh harbor/harbor.yml.tmpl [rootlocalhost local]# cd harbor/ [rootlocalhost harbor]# ll total 597536 -rw-r--r-- 1 root root      3639 Aug 15 17:53 common.sh -rw-r--r-- 1 root root 611834153 Aug 15 17:54 harbor.v2.8.4.tar.gz -rw-r--r-- 1 root root     12499 Aug 15 17:53 harbor.yml.tmpl -rwxr-xr-x 1 root root      2725 Aug 15 17:53 install.sh -rw-r--r-- 1 root root     11347 Aug 15 17:53 LICENSE -rwxr-xr-x 1 root root      1881 Aug 15 17:53 prepare [rootlocalhost harbor]# cp harbor.yml.tmpl harbor.yml [rootlocalhost harbor]# hostnamectl set-hostname harborslb.com[rootlocalhost harbor]# vim harbor.yml 2.将该文件修改为这样修改好自己的hostname和port后文的用户和密码可以不改也可以改用于登录 3.安装 [rootlocalhost harbor]# ./install.sh 二.修改daemon.json文件和/etc/hosts文件 [rootlocalhost harbor]# vim /etc/docker/daemon.json { registry-mirrors: [https://docker.mirrors.ustc.edu.cn], insecure-registries: [192.168.2.190], insecure-registries: [harborslb.com] } [rootlocalhost harbor]# tail -1 /etc/hosts #按自己的实际名称修改 192.168.2.190 harborslb.com[rootlocalhost harbor]# systemctl restart docker[rootlocalhost harbor]#  docker-compose up -d [] Running 10/10✔ Network harbor_harbor        Created                                                                                                                 0.0s ✔ Container harbor-log         Started                                                                                                                 0.0s ✔ Container harbor-portal      Started                                                                                                                 0.0s ✔ Container registryctl        Started                                                                                                                 0.0s ✔ Container registry           Started                                                                                                                 0.0s ✔ Container redis              Started                                                                                                                 0.0s ✔ Container harbor-db          Started                                                                                                                 0.0s ✔ Container harbor-core        Started                                                                                                                 0.0s ✔ Container harbor-jobservice  Started                                                                                                                 0.0s ✔ Container nginx              Started       三.使用powershell作windows端域名映射 Windows PowerShell 版权所有C Microsoft Corporation。保留所有权利。安装最新的 PowerShell了解新功能和改进https://aka.ms/PSWindowsPS C:\WINDOWS\system32 cd .\drivers\etc\ PS C:\WINDOWS\system32\drivers\etc notepad .\hosts 四.浏览器使用域名登录验证 1.用户admin密码没有修改默认是Harbor12345 2.根据提供的推送指令操作 五.镜像打标签和推送 [rootlocalhost harbor]# docker login http://harborslb.com #使用刚才的用户和密码登录 Username: admin Password:  WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-storeLogin Succeeded[rootlocalhost harbor]# docker tag centos:latest harborslb.com/library/centos #打标签[rootlocalhost harbor]# docker push harborslb.com/library/centos #推送到仓库 Using default tag: latest The push refers to repository [harborslb.com/library/centos] 74ddd0ec08fa: Pushed  latest: digest: sha256:a1801b843b1bfaf77c501e7a6d3f709401a1e0c83863037fa3aab063a7fdb9dc size: 529 六.拉取验证 [rootlocalhost harbor]# docker pull harborslb.com/library/centos Using default tag: latest latest: Pulling from library/centos Digest: sha256:a1801b843b1bfaf77c501e7a6d3f709401a1e0c83863037fa3aab063a7fdb9dc Status: Image is up to date for harborslb.com/library/centos:latest harborslb.com/library/centos:latest [rootlocalhost harbor]# docker images REPOSITORY                      TAG       IMAGE ID       CREATED         SIZE nginx                           latest    eea7b3dcba7e   9 days ago      187MB goharbor/harbor-exporter        v2.8.4    b8d33e28ec68   10 days ago     97.7MB goharbor/redis-photon           v2.8.4    7b7324d651ca   10 days ago     120MB goharbor/trivy-adapter-photon   v2.8.4    91d8e9f0b21a   10 days ago     464MB goharbor/notary-server-photon   v2.8.4    a46f91560454   10 days ago     113MB goharbor/notary-signer-photon   v2.8.4    da66bd8d944b   10 days ago     110MB goharbor/harbor-registryctl     v2.8.4    805b38ca6bee   10 days ago     141MB goharbor/registry-photon        v2.8.4    756769e94123   10 days ago     79MB goharbor/nginx-photon           v2.8.4    375018db778b   10 days ago     116MB goharbor/harbor-log             v2.8.4    8a2045fb24d2   10 days ago     124MB goharbor/harbor-jobservice      v2.8.4    97808fc10f64   10 days ago     141MB goharbor/harbor-core            v2.8.4    c26fcd0714d8   10 days ago     164MB goharbor/harbor-portal          v2.8.4    4a8b0205c0f9   10 days ago     124MB goharbor/harbor-db              v2.8.4    5b8af16d7420   10 days ago     174MB goharbor/prepare                v2.8.4    bdbf974d86ce   10 days ago     166MB mysql                           5.6       dd3b2a5dcb48   20 months ago   303MB centos                          latest    5d0da3dc9764   23 months ago   231MB harborslb.com/library/centos    latest    5d0da3dc9764   23 months ago   231MB registry                        2.6.2     10b45af23ff3   3 years ago     28.5MB owncloud                        latest    327bd201c5fb   4 years ago     618MB 七.过程中遇到的一些问题 1.Get https://harborslb.com/v2/: http: server gave HTTP response to HTTPS client 检查/etc/docker/daemon.json文件的格式和参数是否正确尤其是换行后添加“,”容易遗忘就导致安全仓库失败 { registry-mirrors: [https://docker.mirrors.ustc.edu.cn], insecure-registries: [192.168.2.190], insecure-registries: [harborslb.com] } 2.unauthorized: unauthorized to access repository: library/centos, action: push: unauthorized to access repository: library/centos, action: push 可能是没有登录导致的我登录了就解决了 [rootlocalhost harbor]# docker login http://harborslb.com #使用刚才的用户和密码登录 Username: admin Password:  WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-storeLogin Succeeded 3.在浏览器使用账号密码登录时报错核心服务不可用 我是运行此命令解决 [rootlocalhost harbor]#  docker-compose up -d 4.启动docker报docker.service holdoff time over, scheduling restart 和第一个问题同样检查那个文件格式参数
http://www.dnsts.com.cn/news/19221.html

相关文章:

  • 使用angular2框架做的网站wordpress页面响应慢
  • 四川省住房与城乡建设厅网站关键词seo排名怎么做的
  • 网页设计与网站规划建网站的公司大全
  • 重庆网站推广公司哪家好网站动图怎么做
  • 设置网站默认首页c语言入门自学零基础
  • 泰安建站哪家好网络推广 推广
  • 怎么做像知乎一样的网站做自己网站
  • 建设市政务信息共享网站wordpress需要先安装数据库
  • wordpress国内打开速度慢福州seo结算
  • 此网站域名三天更换做外贸的人经常用什么网站
  • 做网站买什么服务器 便宜网站制作文章
  • 网站建设会计帐务处理做地推的网站
  • 网站开发培训什么ps设计师网站有哪些
  • 如何自己做网站模版3d建模培训班有用吗
  • 模板网站建设 报价余杭门户网站
  • 现在网站前台用什么做dedecms网站地图
  • 做淘客的网站名称wordpress手机编辑器插件下载地址
  • 李连杰做的功夫网站南宁网站建设 超博网络
  • 关键词没有排名的网站怎么做app制作教程下载
  • 北京监理建设协会网站荆门网站建设
  • 直邮网站的推广活动怎么做企业管理定制软件
  • 2022年最火的电商平台企业网站seo服务
  • 企业手机版网站外国做袜子的网站
  • 做网站必须学php吗wordpress 首页调用页面标题
  • 广东网站备案需要多久在线房屋设计免费图
  • 破解软件网站wordpress首页登录设置
  • 用discuz做的门户网站建造网站需要多少钱
  • 如何给企业做网站昌平网站建设哪家强
  • 松江品划网站建设开发好网站推荐几个你知道的
  • 网站引导页是什么全国企业公示信息系统查询