网站群 米拓互联网家装平台有哪些

web/2025/10/6 18:16:17/文章来源:
网站群 米拓,互联网家装平台有哪些,外贸企业的网站建设,网站的优化方法有哪些内容本文作者#xff1a;徐晓伟 GitLab 是一个全球知名的一体化 DevOps 平台#xff0c;很多人都通过私有化部署 GitLab 来进行源代码托管。极狐GitLab 是 GitLab 在中国的发行版#xff0c;专门为中国程序员服务。可以一键式部署极狐GitLab。 本文主要讲述了在极狐GitLab 用户… 本文作者徐晓伟 GitLab 是一个全球知名的一体化 DevOps 平台很多人都通过私有化部署 GitLab 来进行源代码托管。极狐GitLab 是 GitLab 在中国的发行版专门为中国程序员服务。可以一键式部署极狐GitLab。 本文主要讲述了在极狐GitLab 用户自定义 Pages 域名、SSL/TLS 域名证书。 描述 默认情况下pages 域名和证书 是被禁用的 自定义域名配置 导出 helm gitlab 配置 # 将已配置的值导出到文件中 helm -n gitlab-test get values my-gitlab my-gitlab.yaml查看 GitLab Pages Custom Domains Service 的 EXTERNAL-IP [rootanolis-7-9 ~]# kubectl -n gitlab-test get service NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE cm-acme-http-solver-jpzhd NodePort 10.105.18.121 none 8089:32764/TCP 39h cm-acme-http-solver-kvj5q NodePort 10.99.177.114 none 8089:30973/TCP 39h cm-acme-http-solver-q82j2 NodePort 10.103.217.244 none 8089:32188/TCP 39h my-gitlab-certmanager ClusterIP 10.101.131.129 none 9402/TCP 39h my-gitlab-certmanager-webhook ClusterIP 10.104.249.65 none 443/TCP 39h my-gitlab-gitaly ClusterIP None none 8075/TCP,9236/TCP 39h my-gitlab-gitlab-exporter ClusterIP 10.104.47.204 none 9168/TCP 39h my-gitlab-gitlab-pages-custom-domains LoadBalancer 10.97.49.247 172.25.25.32,10.97.49.247 80:32713/TCP 87m my-gitlab-gitlab-pages-metrics ClusterIP 10.109.40.15 none 9235/TCP 3h3m my-gitlab-gitlab-shell ClusterIP 10.107.227.187 none 22/TCP 39h my-gitlab-kas ClusterIP 10.108.130.73 none 8150/TCP,8153/TCP,8154/TCP,8151/TCP 39h my-gitlab-minio-svc ClusterIP 10.109.30.226 none 9000/TCP 39h my-gitlab-nginx-ingress-controller LoadBalancer 10.102.62.140 pending 80:30875/TCP,443:31768/TCP,22:30561/TCP 39h my-gitlab-nginx-ingress-controller-metrics ClusterIP 10.96.243.11 none 10254/TCP 39h my-gitlab-postgresql ClusterIP 10.104.225.8 none 5432/TCP 39h my-gitlab-postgresql-hl ClusterIP None none 5432/TCP 39h my-gitlab-postgresql-metrics ClusterIP 10.107.233.118 none 9187/TCP 39h my-gitlab-prometheus-server ClusterIP 10.101.151.224 none 80/TCP 39h my-gitlab-redis-headless ClusterIP None none 6379/TCP 39h my-gitlab-redis-master ClusterIP 10.103.127.195 none 6379/TCP 39h my-gitlab-redis-metrics ClusterIP 10.104.184.133 none 9121/TCP 39h my-gitlab-registry ClusterIP 10.107.98.111 none 5000/TCP 39h my-gitlab-webservice-default ClusterIP 10.110.211.99 none 8080/TCP,8181/TCP,8083/TCP 39h [rootanolis-7-9 ~]# kubectl -n gitlab-test get svc | grep gitlab-pages-custom-domains my-gitlab-gitlab-pages-custom-domains LoadBalancer 10.97.49.247 172.25.25.32,10.97.49.247 80:32713/TCP 87m [rootanolis-7-9 ~]#修改配置 注意此处填写的 externalHttp 不能和 gitlab 实例的 IP 相同 作者 gitlab 实例域名 gitlab.test.helm.xuxiaowei.cn 解析到 172.25.25.32作者 gitlab pages 域名 *.pages.test.helm.xuxiaowei.cn、*.test.helm.xuxiaowei.io 解析到 172.25.25.31文档 global:pages:# 用于支持自定义域名仅支持 HTTP 请求externalHttp:# HTTP 请求到达 Pages daemon 的 IP 地址列表。用于支持自定义域名。# 使用上述 GitLab Pages Custom Domains Service 的部分 EXTERNAL-IP- 172.25.25.31- 10.97.49.247更新配置 helm upgrade -n gitlab-test --install my-gitlab gitlab/gitlab --timeout 600s -f my-gitlab.yaml --version 7.7.0等待所有 pod 更新完成 [rootanolis-7-9 ~]# kubectl -n gitlab-test get pod -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES cm-acme-http-solver-2ldtp 1/1 Running 14 (10m ago) 37h 192.168.210.234 anolis-7-9 none none cm-acme-http-solver-94dv5 1/1 Running 14 (10m ago) 37h 192.168.210.247 anolis-7-9 none none cm-acme-http-solver-klkpz 1/1 Running 14 (10m ago) 37h 192.168.210.230 anolis-7-9 none none my-gitlab-certmanager-8457bfdc8-w858k 1/1 Running 14 (10m ago) 37h 192.168.240.118 anolis-7-7 none none my-gitlab-certmanager-cainjector-74df787cf4-j7cfc 1/1 Running 14 (10m ago) 37h 192.168.240.66 anolis-7-7 none none my-gitlab-certmanager-webhook-7b86db4c96-dhcxl 1/1 Running 14 (10m ago) 37h 192.168.240.95 anolis-7-7 none none my-gitlab-gitaly-0 1/1 Running 14 (10m ago) 37h 192.168.210.228 anolis-7-9 none none my-gitlab-gitlab-exporter-55dcfcb595-gl6nm 1/1 Running 14 (10m ago) 37h 192.168.210.242 anolis-7-9 none none my-gitlab-gitlab-pages-848b78cbbb-7x6nt 1/1 Running 0 7m14s 192.168.240.115 anolis-7-7 none none my-gitlab-gitlab-runner-5f6ff5994c-wdw5l 1/1 Running 3 (10m ago) 4h13m 192.168.210.222 anolis-7-9 none none my-gitlab-gitlab-shell-55fdc9cb9f-52gnr 1/1 Running 14 (12m ago) 37h 192.168.240.76 anolis-7-7 none none my-gitlab-gitlab-shell-55fdc9cb9f-cfhsh 1/1 Running 14 (10m ago) 37h 192.168.210.223 anolis-7-9 none none my-gitlab-issuer-37-gqljk 0/1 Completed 0 7m14s 192.168.240.82 anolis-7-7 none none my-gitlab-kas-688dc97ddd-28gr7 1/1 Running 40 (9m39s ago) 37h 192.168.240.96 anolis-7-7 none none my-gitlab-kas-688dc97ddd-tvkvd 1/1 Running 46 (9m34s ago) 37h 192.168.210.245 anolis-7-9 none none my-gitlab-migrations-37-t69sl 0/1 Completed 0 7m14s 192.168.240.75 anolis-7-7 none none my-gitlab-minio-66f584f746-t6qwb 1/1 Running 6 (10m ago) 29h 192.168.210.251 anolis-7-9 none none my-gitlab-minio-create-buckets-37-6lsd8 0/1 Completed 0 7m14s 192.168.240.97 anolis-7-7 none none my-gitlab-nginx-ingress-controller-6bdd56c45-ch57n 1/1 Running 14 (10m ago) 37h 192.168.240.67 anolis-7-7 none none my-gitlab-nginx-ingress-controller-6bdd56c45-cm2lz 1/1 Running 14 (10m ago) 37h 192.168.210.246 anolis-7-9 none none my-gitlab-postgresql-0 2/2 Running 28 (10m ago) 37h 192.168.210.244 anolis-7-9 none none my-gitlab-prometheus-server-646489c599-8mgc9 2/2 Running 28 (10m ago) 37h 192.168.210.208 anolis-7-9 none none my-gitlab-redis-master-0 2/2 Running 28 (10m ago) 37h 192.168.210.239 anolis-7-9 none none my-gitlab-registry-78fc549f8d-d2zjv 1/1 Running 14 (10m ago) 37h 192.168.240.98 anolis-7-7 none none my-gitlab-registry-78fc549f8d-xbkvh 1/1 Running 14 (10m ago) 37h 192.168.210.240 anolis-7-9 none none my-gitlab-sidekiq-all-in-1-v2-7ff55f699b-phhjt 1/1 Running 0 7m14s 192.168.210.235 anolis-7-9 none none my-gitlab-toolbox-7f79f69d96-xvl47 1/1 Running 0 6m44s 192.168.240.101 anolis-7-7 none none my-gitlab-webservice-default-6f5d96f89c-c779l 2/2 Running 0 7m14s 192.168.240.81 anolis-7-7 none none my-gitlab-webservice-default-6f5d96f89c-m2svw 2/2 Running 0 5m7s 192.168.240.78 anolis-7-7 none none [rootanolis-7-9 ~]# 查看项目 Pages 配置 默认 webservice-default Deployment 只有两个副本请等待 webservice-default Deployment 恢复正常副本数后再查看 否则页面数据在每次刷新可能结果不同 自定义域名 添加完成后需要验证 DNS如果你有域名 DNS 权限可以选择添加 DNS 后刷新验证。 ! 如果你没有 DNS 权限或者你不想验证 DNS 权限可以在管理页面取消验证。 取消验证后需要重新添加域名才生效 访问效果 注意由于此项目存在项目名问题所以此效果是使用 https://framagit.org/xuxiaowei-com-cn/my-maven-app 的 domain 分支无项目名部署的并且只能使用 http 方式访问 ! 由于只配置了 externalHttp所以只能通过 http 方式访问https 将无法访问 自定义域名 SSL/TLS 证书 配置 导出 helm gitlab 配置 # 将已配置的值导出到文件中 helm -n gitlab-test get values my-gitlab my-gitlab.yaml查看 GitLab Pages Custom Domains Service 的 EXTERNAL-IP​ [rootanolis-7-9 ~]# kubectl -n gitlab-test get service NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE cm-acme-http-solver-jpzhd NodePort 10.105.18.121 none 8089:32764/TCP 39h cm-acme-http-solver-kvj5q NodePort 10.99.177.114 none 8089:30973/TCP 39h cm-acme-http-solver-q82j2 NodePort 10.103.217.244 none 8089:32188/TCP 39h my-gitlab-certmanager ClusterIP 10.101.131.129 none 9402/TCP 39h my-gitlab-certmanager-webhook ClusterIP 10.104.249.65 none 443/TCP 39h my-gitlab-gitaly ClusterIP None none 8075/TCP,9236/TCP 39h my-gitlab-gitlab-exporter ClusterIP 10.104.47.204 none 9168/TCP 39h my-gitlab-gitlab-pages-custom-domains LoadBalancer 10.97.49.247 172.25.25.32,10.97.49.247 80:32713/TCP 87m my-gitlab-gitlab-pages-metrics ClusterIP 10.109.40.15 none 9235/TCP 3h3m my-gitlab-gitlab-shell ClusterIP 10.107.227.187 none 22/TCP 39h my-gitlab-kas ClusterIP 10.108.130.73 none 8150/TCP,8153/TCP,8154/TCP,8151/TCP 39h my-gitlab-minio-svc ClusterIP 10.109.30.226 none 9000/TCP 39h my-gitlab-nginx-ingress-controller LoadBalancer 10.102.62.140 pending 80:30875/TCP,443:31768/TCP,22:30561/TCP 39h my-gitlab-nginx-ingress-controller-metrics ClusterIP 10.96.243.11 none 10254/TCP 39h my-gitlab-postgresql ClusterIP 10.104.225.8 none 5432/TCP 39h my-gitlab-postgresql-hl ClusterIP None none 5432/TCP 39h my-gitlab-postgresql-metrics ClusterIP 10.107.233.118 none 9187/TCP 39h my-gitlab-prometheus-server ClusterIP 10.101.151.224 none 80/TCP 39h my-gitlab-redis-headless ClusterIP None none 6379/TCP 39h my-gitlab-redis-master ClusterIP 10.103.127.195 none 6379/TCP 39h my-gitlab-redis-metrics ClusterIP 10.104.184.133 none 9121/TCP 39h my-gitlab-registry ClusterIP 10.107.98.111 none 5000/TCP 39h my-gitlab-webservice-default ClusterIP 10.110.211.99 none 8080/TCP,8181/TCP,8083/TCP 39h [rootanolis-7-9 ~]# kubectl -n gitlab-test get svc | grep gitlab-pages-custom-domains my-gitlab-gitlab-pages-custom-domains LoadBalancer 10.97.49.247 172.25.25.32,10.97.49.247 80:32713/TCP 87m [rootanolis-7-9 ~]#修改配置 注意此处填写的 externalHttp 不能和 gitlab 实例的 IP 相同 作者 gitlab 实例域名 gitlab.test.helm.xuxiaowei.cn 解析到 172.25.25.32作者 gitlab pages 域名 *.pages.test.helm.xuxiaowei.cn、*.test.helm.xuxiaowei.io 解析到 172.25.25.31文档 global:pages:# 用于支持自定义域名、SSL/TLS 证书仅支持 HTTPS 请求externalHttps:# HTTPS 请求到达 Pages daemon 的 IP 地址列表。用于支持自定义域名。# 使用上述 GitLab Pages Custom Domains Service 的部分 EXTERNAL-IP- 172.25.25.31- 10.97.49.247更新配置 helm upgrade -n gitlab-test --install my-gitlab gitlab/gitlab --timeout 600s -f my-gitlab.yaml --version 7.7.0可以观察到 GitLab Pages 无法部署 [rootanolis-7-9 ~]# kubectl -n gitlab-test get pod -o wide | grep gitlab-pages my-gitlab-gitlab-pages-6b5f557b5c-pp6ww 0/1 Init:0/2 0 102s none anolis-7-9 none none my-gitlab-gitlab-pages-848b78cbbb-7x6nt 1/1 Running 0 94m 192.168.240.115 anolis-7-7 none none [rootanolis-7-9 ~]#查看无法部署的原因 无法找到 my-gitlab-pages-tls secret原因是开启了自定义 域名 SSL/TLS 证书后需要创建一个 TLS secret [rootanolis-7-9 ~]# kubectl -n gitlab-test describe pod my-gitlab-gitlab-pages-6b5f557b5c-pp6ww # 节选 Events: Type Reason Age From Message---- ------ ---- ---- ------- Normal Scheduled 2m42s default-scheduler Successfully assigned gitlab-test/my-gitlab-gitlab-pages-6b5f557b5c-pp6ww to anolis-7-9 Warning FailedMount 34s (x9 over 2m42s) kubelet MountVolume.SetUp failed for volume init-pages-secrets : secret my-gitlab-pages-tls not found [rootanolis-7-9 ~]#创建 my-gitlab-pages-tls TLS secret openssl genrsa -out ca.key 2048 openssl req -new -x509 -days 3650 -key ca.key -subj /CCN/ST山东/L青岛/O徐晓伟工作室/OU徐晓伟工作室/CN*.pages.test.helm.xuxiaowei.cn/CN*.test.helm.xuxiaowei.io/emailAddressxuxiaoweixuxiaowei.com.cn -out ca.crt -utf8KEY_FILEca.key CERT_FILEca.crt CERT_NAMEmy-gitlab-pages-tls kubectl -n gitlab-test create secret tls ${CERT_NAME} --key ${KEY_FILE} --cert ${CERT_FILE}重启 pages Deployment [rootanolis-7-9 ~]# kubectl -n gitlab-test rollout restart deployment my-gitlab-gitlab-pages deployment.apps/my-gitlab-gitlab-pages restarted [rootanolis-7-9 ~]#等待所有 pod 更新完成 [rootanolis-7-9 ~]# kubectl -n gitlab-test get pod -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES cm-acme-http-solver-2ldtp 1/1 Running 14 (121m ago) 39h 192.168.210.234 anolis-7-9 none none cm-acme-http-solver-94dv5 1/1 Running 14 (121m ago) 39h 192.168.210.247 anolis-7-9 none none cm-acme-http-solver-klkpz 1/1 Running 14 (121m ago) 39h 192.168.210.230 anolis-7-9 none none my-gitlab-certmanager-8457bfdc8-w858k 1/1 Running 14 (121m ago) 39h 192.168.240.118 anolis-7-7 none none my-gitlab-certmanager-cainjector-74df787cf4-j7cfc 1/1 Running 14 (121m ago) 39h 192.168.240.66 anolis-7-7 none none my-gitlab-certmanager-webhook-7b86db4c96-dhcxl 1/1 Running 14 (121m ago) 39h 192.168.240.95 anolis-7-7 none none my-gitlab-gitaly-0 1/1 Running 14 (121m ago) 39h 192.168.210.228 anolis-7-9 none none my-gitlab-gitlab-exporter-55dcfcb595-gl6nm 1/1 Running 14 (121m ago) 39h 192.168.210.242 anolis-7-9 none none my-gitlab-gitlab-pages-6bd898c7d5-tvspn 1/1 Running 0 4m36s 192.168.240.104 anolis-7-7 none none my-gitlab-gitlab-runner-5f6ff5994c-lbbjt 0/1 Running 0 21s 192.168.240.121 anolis-7-7 none none my-gitlab-gitlab-shell-55fdc9cb9f-52gnr 1/1 Running 14 (123m ago) 39h 192.168.240.76 anolis-7-7 none none my-gitlab-gitlab-shell-55fdc9cb9f-cfhsh 1/1 Running 14 (121m ago) 39h 192.168.210.223 anolis-7-9 none none my-gitlab-issuer-38-742q6 0/1 Completed 0 91m 192.168.240.73 anolis-7-7 none none my-gitlab-issuer-55-fp5rb 0/1 Completed 0 24m 192.168.240.105 anolis-7-7 none none my-gitlab-kas-688dc97ddd-28gr7 1/1 Running 40 (120m ago) 39h 192.168.240.96 anolis-7-7 none none my-gitlab-kas-688dc97ddd-tvkvd 1/1 Running 46 (120m ago) 39h 192.168.210.245 anolis-7-9 none none my-gitlab-migrations-38-9mz5h 0/1 Completed 0 91m 192.168.210.252 anolis-7-9 none none my-gitlab-migrations-55-tbpvq 0/1 Completed 0 24m 192.168.240.90 anolis-7-7 none none my-gitlab-minio-66f584f746-t6qwb 1/1 Running 6 (121m ago) 31h 192.168.210.251 anolis-7-9 none none my-gitlab-minio-create-buckets-38-lzrsj 0/1 Completed 0 91m 192.168.240.79 anolis-7-7 none none my-gitlab-minio-create-buckets-55-g2gvz 0/1 Completed 0 24m 192.168.240.107 anolis-7-7 none none my-gitlab-nginx-ingress-controller-6bdd56c45-ch57n 1/1 Running 14 (121m ago) 39h 192.168.240.67 anolis-7-7 none none my-gitlab-nginx-ingress-controller-6bdd56c45-cm2lz 1/1 Running 14 (121m ago) 39h 192.168.210.246 anolis-7-9 none none my-gitlab-postgresql-0 2/2 Running 28 (121m ago) 39h 192.168.210.244 anolis-7-9 none none my-gitlab-prometheus-server-646489c599-8mgc9 2/2 Running 28 (121m ago) 39h 192.168.210.208 anolis-7-9 none none my-gitlab-redis-master-0 2/2 Running 28 (121m ago) 38h 192.168.210.239 anolis-7-9 none none my-gitlab-registry-78fc549f8d-d2zjv 1/1 Running 14 (121m ago) 39h 192.168.240.98 anolis-7-7 none none my-gitlab-registry-78fc549f8d-xbkvh 1/1 Running 14 (121m ago) 39h 192.168.210.240 anolis-7-9 none none my-gitlab-sidekiq-all-in-1-v2-84f99f6776-78g2z 1/1 Running 0 24m 192.168.210.197 anolis-7-9 none none my-gitlab-toolbox-6cbbbdcbdf-v6mf2 1/1 Running 0 24m 192.168.210.202 anolis-7-9 none none my-gitlab-webservice-default-79f7757847-2mw8g 2/2 Running 0 24m 192.168.210.215 anolis-7-9 none none my-gitlab-webservice-default-79f7757847-gz9lm 2/2 Running 0 2m27s 192.168.240.117 anolis-7-7 none none [rootanolis-7-9 ~]# 创建一个自定义域名 abc123.xuxiaowei.cn 证书 openssl genrsa -out ca.key 2048 openssl req -new -x509 -days 3650 -key ca.key -subj /CCN/STShanDong/LQingDao/Oxuxiaowei/OUxuxiaowei/CNabc123.xuxiaowei.cn/emailAddressxuxiaoweixuxiaowei.com.cn -out ca.crt -utf8新增/编辑域名填写域名 SSL/TLS 证书 体验 域名 SSL/TLS 证书 号外号外 极狐GitLab 正在推出DevSecOps 成熟度测评链接https://gitlab.cn/devsecops-assessment/ 测评非常全面并提供了可靠建议即使不付费买产品对自己想要落地 DevSecOps 的用户具有很高的参考意义快来动手试试吧

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/web/88048.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

网站开发岗位职责网站维护需要做那些事

来源:国机智能机器人曾为现代互联网早期协议和架构设计做出贡献的Vint Cerf,用一个寓言来解释为什么在人工智能等新兴技术出现后,勇敢的领导力至关重要。想象一下,你住在一个被群山环绕的山谷底部的小社区里。在远处的山顶上有一块…

医院网站建设作用中国4台根服务器地点

表单 表单输入绑定 只需要v-model声明一下这个变量就可以。 还可以选择不同的类型&#xff0c;例如 type"checkbox“ v-model 也提供了 lazy、number、.trim 功能&#xff0c;只需要在v-model后面加入.lazy 例如&#xff1a;v-model.lazy”message“ <template><…

名片型网站开发网站首页面

大家都知道java中有很多的基础知识&#xff0c;需要大家花费一定的时间去消化。关于java中ConcurrentHashMap的扩容机制不知道大家是否了解过&#xff0c;其实内容也是很好理解的&#xff0c;一起来看看吧。首先&#xff0c;我们需要知道的是&#xff1a;1. 计算每个线程可以处…

四个平台建设网站不显示图片网络运维工程师年终总结

此章节偏理论知识 对于小一点的项目 比如说角色都是平级的 那我们直接像之前 vue2.x项目从0到1&#xff08;二&#xff09;之后台管理侧边栏&#xff08;动态渲染路由以及高亮&#xff09;_vue动态渲染侧边栏_关忆北_的博客-CSDN博客这样渲染就行了 但是一旦项目大了 …

怎样自己建设网站代理记账公司收费表

查看自己系统的版本 必须运行 Windows 10 版本 2004 及更高版本&#xff08;内部版本 19041 及更高版本&#xff09;或 Windows 11 才能使用以下命令 在设置&#xff0c;系统里面就能看到 开启windows功能 直接winQ搜 开启hyber-V、使用于Linux的Windows子系统、虚拟机平…

网站关键词全国各地的排名情况网站栏目标题

Ubuntu conda环境迁移&#xff08;conda-pack&#xff09; 方法一&#xff1a;压缩拷贝方法二&#xff1a;conda-pack 在一台电脑配置好conda虚拟环境后&#xff0c;若在其它电脑需要同样的环境&#xff0c;可通过如下两种方式进行迁移。 方法一&#xff1a;压缩拷贝 找到Ubu…

互联网网站建设挣钱吗网站的搜索功能一般怎么做

文物是宝贵的历史遗产和文化瑰宝&#xff0c;其保护是我们共同的责任。为了实现文物的安全保护&#xff0c;现代科技提供了各种环境监测设备&#xff0c;可以实时监控文物的状态并采取相应的保护措施。本文将介绍一种利用各种环境监测设备实现文物实时状态监控的保护系统。 一…

国外论文类网站有哪些方面百度搜索网站提交

类型一&#xff1a;安装包问题 1、包内部代码报错&#xff0c;如&#xff1a;某方法没有 检查版本&#xff1a; python -> import 包名 -> 包名.__version__ -> 包名.__file__ 若import 的包名与 pip安装的包的路径不一致&#xff0c;则copy过去 具体&#xff1a…

西乡网站建设公司长沙做企业网站的公司

案例 18: 列操作 - 重命名、删除和重新排序列 知识点讲解 在处理 DataFrame 时&#xff0c;经常需要对列进行各种操作&#xff0c;如重命名列、删除列或重新排序列。Pandas 提供了简洁的方法来执行这些任务。 重命名列: 使用 rename 方法可以改变 DataFrame 中一个或多个列的…

湖北建科建设工程有限公司网站在线做带字头像的网站

非常不可思议……之前四篇博文竟然有超过100的阅读量…… 此文此部分终结&#xff0c;没有继续写下去的必要了。 插入一个分享&#xff1a; 编程基础不重要了&#xff0c;只要明确需求&#xff0c;借助AI工具就能完成一个项目。 当然也不是一次成功&#xff0c;工具使用也需要…

上海市建设安全协会网站查询考试wordpress建设软件下载站

1.在开始菜单输入 CMD 找到 Qt5.15.2(MSVC 64-bit) 2.输入windeployqt exe所在路径 3.运行完毕后&#xff0c;双击打开exe文件&#xff0c;可能会报错&#xff0c;缺少相关的dll,找到缺少的dll拷贝到运行文件夹下即可。

城阳区规划建设局网站园林景观设计公司人员规模

Spring 官方脚手架不再支持初始化 Java8 和 Java 11 项目&#xff0c;目前仅支持初始化Java17 和 Java21 项目。 阿里巴巴Spring脚手架支持初始化Java8、Java11、Java17、Java19 的项目&#xff0c;不支持初始化Java21的项目。

网站添加新闻咸阳网站设计

Logback 是一个灵活而高效的日志框架&#xff0c;它是由 Ceki Glc 开发的&#xff0c;也是 Log4j 的创建者之一。Logback 旨在成为 Log4j 的替代品&#xff0c;并提供了一系列强大的功能和性能改进。 以下是 Logback 的一些主要特点和功能&#xff1a; 模块化结构&#xff1a;…

济南市住建局官方网站关于开通网站建设的请示

Sharepoint服务是Sharepoint的重要组成&#xff0c;可以说Sharepoint的许多网站功能都是基于这些服务构架起来的。这里把Sharepoint服务的相关要点总结一下。 1、什么是 SharePoint 服务&#xff1f; SharePoint 服务是一项 IT 服务&#xff0c;它是运行在后台&#xff0c;为调…

企业招聘网站哪个最好wordpress禁止中国ip

1.将N个数据按照从小到大顺序组织存放在一个单向链表中。如果采用二分查找&#xff0c;那么查找的平均时间复杂度是O(logN)。 F 解析&#xff1a; 二分查找的平均复杂度是O&#xff08;logN&#xff09;没有错&#xff0c;一看到这个就跳坑了。然后知道陷阱来了&#xff01;按顺…

域名有了怎么做网站南京俄语网站建设

内容 这里介绍了图像处理的入门操作&#xff0c;&#xff0c;你将学习如何读取图像&#xff0c;如何显示图像以及如何将其保存回去你将学习以下功能&#xff1a;cv.imread()&#xff0c;cv.imshow()&#xff0c;cv.imwrite() 简单使用OpenCV 读取图像 使用cv.imread()函数读…

吴江区建设局网站wordpress首页指定分类列表

回归用来表示输入输出之间的关系。 用实际例子来解释一下线性回归&#xff1a;根据房屋的面积、房龄来估算房屋价格。为了实现这个预测放假的模型&#xff0c;需要收集一个真实的数据集&#xff0c;该数据集包括了房屋的销售价格、面积和房龄。 在机器学习中&#xff0c;这个数…

建筑工程网站建设安徽中色十二冶金建设有限公司网站

文章目录资源文件的命名资源文件基名的指定struts.xml 文件指定资源文件的基名struts.properties 文件指定资源文件的基名通过标签 i18n 指定资源文件的基名资源文件的位置包级资源文件类级资源文件全局级资源文件默认资源文件资源文件的加载顺序Action 中加载资源文件在 JSP 中…

建设像京东一样的网站wordpress 添加关键词

难度&#xff1a;Medium 题目&#xff1a; 设计并实现一个算法&#xff0c;找出二叉树中某两个节点的第一个共同祖先。不得将其他的节点存储在另外的数据结构中。注意&#xff1a;这不一定是二叉搜索树。 例如&#xff0c;给定如下二叉树: root [3,5,1,6,2,0,8,null,null,7,…

周到的商城网站建设注册网络公司

目录 一. HashMap概述 二. HashMap特点 三. HashMap构造方法 四. HashMap的常用方法 五. 使用注意事项 六. 代码示例 一. HashMap概述 HashMap 是 Java 中的一个非常重要的类&#xff0c;它实现了 Map 接口&#xff0c;用于存储键值对&#xff08;key-value pairs&#…