搞一个boostrap主题,用django的mtv去对接

请添加图片描述

nginx的配置,设定这个模板映射的路径

    location /assets/{alias  /home/luichun/lc/Pyfile/Pyhome/app/statichome_to_nginx/pifu/dist/assets/;}

1:设定一个主页的路由【django主要用来设定逻辑】
2:设定主页的响应内容【使用boostrap框架来对前端展示进行美化】
3:根据模板的js 与css 加入到页面
4:根据想要的内容一点点填充上去
5:分开页面头部,身体,页脚

设置它这个页面html代码的顺序

<!DOCTYPE html>
<html lang="en"><head><!-- Required Meta Tags Always Come First --><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><!-- Title --><title _msttexthash="59172854" _msthash="0">企业 |空间 - 多用途响应式模板</title><!-- Favicon --><link rel="shortcut icon" href="./favicon.ico"><!-- Font --><link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&amp;display=swap" rel="stylesheet"><!-- CSS Implementing Plugins --><link rel="stylesheet" href="./assets/vendor/bootstrap-icons/font/bootstrap-icons.css"><!-- <link rel="stylesheet" href="./assets/vendor/hs-mega-menu/dist/hs-mega-menu.min.css"> --><!-- CSS Implementing Plugins --><link rel="stylesheet" href="./assets/vendor/hs-mega-menu/dist/hs-mega-menu.min.css"><!-- CSS Space Template --><link rel="stylesheet" href="./assets/css/theme.min.css"></head><body><!-- ========== HEADER ========== --><header id="header" class="navbar navbar-expand-lg navbar-light navbar-end bg-white"><div class="container"><nav class="js-mega-menu navbar-nav-wrap"><!-- Default Logo --><a class="navbar-brand" href="#" aria-label="Space"><img class="navbar-brand-logo" src="./assets/svg/logos/logo.svg" alt="Image Description"></a><!-- End Default Logo --><!-- Toggler --><button class="navbar-toggler" type="button" data-bs-toggle="collapse"data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false"aria-label="Toggle navigation"><span class="navbar-toggler-default"><i class="bi-list"></i></span><span class="navbar-toggler-toggled"><i class="bi-x"></i></span></button><!-- End Toggler --><!-- Collapse --><div class="collapse navbar-collapse" id="navbarNavDropdown"><ul class="navbar-nav"><!-- Landings --><li class="hs-has-mega-menu nav-item" data-hs-mega-menu-item-options='{"desktop": {"maxWidth": "30rem"}}'><a id="landingsMegaMenu" class="hs-mega-menu-invoker nav-link dropdown-toggle"aria-current="page" href="#" role="button" aria-expanded="false">Landings</a><!-- Mega Menu --><div class="hs-mega-menu hs-position-right-fix dropdown-menu"aria-labelledby="landingsMegaMenu" style="min-width: 30rem;"><!-- Main Content --><div class="navbar-dropdown-menu-inner"><div class="row"><div class="col-sm mb-3 mb-sm-0"><span class="dropdown-header">Classic</span><a class="dropdown-item" href="#">Corporate</a><a class="dropdown-item" href="#">Agency</a><a class="dropdown-item" href="#">Consulting</a><a class="dropdown-item" href="#">Services</a><a class="dropdown-item" href="#">Business</a></div><div class="col-sm"><span class="dropdown-header">Apps</span><a class="dropdown-item" href="#">Growth</a><a class="dropdown-item" href="#">SaaS</a><a class="dropdown-item" href="#">Wallet</a><a class="dropdown-item" href="#">API</a></div></div><!-- End Row --></div><!-- End Main Content --></div><!-- End Mega Menu --></li><!-- End Landings --><!-- Pages --><li class="hs-has-mega-menu nav-item"><a id="pagesMegaMenu" class="hs-mega-menu-invoker nav-link dropdown-toggle" href="#"role="button" aria-expanded="false">Pages</a><!-- Mega Menu --><div class="hs-mega-menu hs-position-right dropdown-menu w-100"aria-labelledby="pagesMegaMenu" style="min-width: 42rem;"><!-- Main Content --><div class="navbar-dropdown-menu-inner"><div class="row"><div class="col-sm-6 col-md"><span class="dropdown-header">Company</span><a class="dropdown-item" href="#">About</a><a class="dropdown-item" href="#">Services</a><a class="dropdown-item" href="#">Customer Stories</a><a class="dropdown-item" href="#">Single Customer Story</a><a class="dropdown-item" href="#">Help Center</a><a class="dropdown-item" href="#">Help Center Categories</a><a class="dropdown-item" href="#">Single Help Center</a></div><div class="col-sm-6 col-md mb-3 mb-md-0"><span class="dropdown-header invisible">Company</span><a class="dropdown-item" href="#">Careers</a><a class="dropdown-item" href="#">Careers Single</a><a class="dropdown-item" href="#">Hire Us</a><a class="dropdown-item" href="#">Contacts</a><a class="dropdown-item" href="#">Log In</a><a class="dropdown-item" href="#">Sign Up</a><a class="dropdown-item" href="#">Forgot Password</a></div><div class="col-sm-6 col-md mb-3 mb-md-0"><span class="dropdown-header">Portfolio</span><a class="dropdown-item" href="#">Modern</a><a class="dropdown-item" href="#">Classic</a><a class="dropdown-item" href="#">Case Study</a></div><div class="col-sm-6 col-md"><span class="dropdown-header">Specialty pages</span><a class="dropdown-item" href="#">Pricing</a><a class="dropdown-item" href="#">Coming Soon</a><a class="dropdown-item" href="#">Error 404</a><a class="dropdown-item" href="#">Terms & Conditions</a><a class="dropdown-item" href="#">Privacy & Policy</a></div></div><!-- End Row --></div><!-- End Main Content --></div><!-- End Mega Menu --></li><!-- End Pages --><!-- Blog --><li class="hs-has-sub-menu nav-item"><a id="blogMegaMenu" class="hs-mega-menu-invoker nav-link dropdown-toggle" href="#"role="button" aria-expanded="false">Blog</a><!-- Mega Menu --><div class="hs-sub-menu dropdown-menu" aria-labelledby="blogMegaMenu"style="min-width: 12rem;"><a class="dropdown-item" href="#">Classic</a><a class="dropdown-item" href="#">Author Profile</a><a class="dropdown-item" href="#">Single Article</a></div><!-- End Mega Menu --></li><!-- End Blog --><!-- Docs --><li class="hs-has-mega-menu nav-item" data-hs-mega-menu-item-options='{"desktop": {"maxWidth": "20rem"}}'><a id="docsMegaMenu" class="hs-mega-menu-invoker nav-link dropdown-toggle" href="#"role="button" aria-expanded="false">Docs</a><!-- Mega Menu --><div class="hs-mega-menu hs-position-right dropdown-menu" aria-labelledby="docsMegaMenu"style="min-width: 20rem;"><!-- Link --><a class="navbar-dropdown-menu-media-link" href="#"><div class="d-flex"><div class="flex-shrink-0"><span class="svg-icon svg-icon-sm text-primary"><img src="/assets/vendor/duotone-icons/gen/gen005.svg" alt="Your SVG File"></span></div><div class="flex-grow-1 ms-3"><span class="navbar-dropdown-menu-media-title">Documentation <spanclass="badge bg-primary rounded-pill ms-1">v1.0</span></span><p class="navbar-dropdown-menu-media-desc">Development guides for buildingprojects with Space</p></div></div></a><!-- End Link --><div class="dropdown-divider"></div><!-- Link --><a class="navbar-dropdown-menu-media-link" href="#"><div class="d-flex"><div class="flex-shrink-0"><span class="svg-icon svg-icon-sm text-primary"><img src="/assets/vendor/duotone-icons/cod/cod010.svg" alt="Your SVG File"></span></div><div class="flex-grow-1 ms-3"><span class="navbar-dropdown-menu-media-title">Snippets</span><p class="navbar-dropdown-menu-media-desc">Move quickly withcopy-to-clipboard feature</p></div></div></a><!-- End Link --></div><!-- End Mega Menu --></li><!-- End Docs --><li class="nav-divider"></li><!-- Log in --><li class="nav-item"><a class="js-animation-link btn btn-ghost-secondary btn-no-focus me-2 me-lg-0"href="javascript:;" role="button" data-bs-toggle="modal" data-bs-target="#signupModal"data-hs-show-animation-options='{"targetSelector": "#signupModalFormLogin","groupName": "idForm"}'>Log in</a><a class="js-animation-link d-lg-none btn btn-primary" href="javascript:;" role="button"data-bs-toggle="modal" data-bs-target="#signupModal" data-hs-show-animation-options='{"targetSelector": "#signupModalFormSignup","groupName": "idForm"}'><i class="bi-person-circle me-1"></i> Sign up</a></li><!-- End Log in --><!-- Sign up --><li class="nav-item"><a class="js-animation-link d-none d-lg-inline-block btn btn-primary" href="javascript:;"role="button" data-bs-toggle="modal" data-bs-target="#signupModal"data-hs-show-animation-options='{"targetSelector": "#signupModalFormSignup","groupName": "idForm"}'><i class="bi-person-circle me-1"></i> Sign up</a></li><!-- End Sign up --></ul></div><!-- End Collapse --></nav></div></header><!-- ========== END HEADER ========== --><!-- ========== SECONDARY CONTENTS ========== --><div class="modal fade" id="signupModal" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog modal-dialog-centered" role="document"><div class="modal-content"><!-- Header --><div class="modal-close"><button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button></div><!-- End Header --><!-- Body --><div class="modal-body p-sm-5"><!-- Log in --><div id="loginModalForm"><!-- Heading --><div class="text-center mb-7"><h4>Log in</h4><p>Don't have an account yet?<a class="js-animation-link" href="javascript:;" role="button"data-hs-show-animation-options='{"targetSelector": "#signupModalForm","groupName": "idForm"}'>Sign up here</a></p></div><!-- End Heading --><div class="d-grid gap-2"><a class="btn btn-white btn-lg" href="#"><span class="d-flex justify-content-center align-items-center"><img class="avatar avatar-xss me-2" src="./assets/svg/brands/google-icon.svg"alt="Image Description">Log in with Google</span></a><a class="js-animation-link btn btn-primary btn-lg" href="#" data-hs-show-animation-options='{"targetSelector": "#loginWithEmailModalForm","groupName": "idForm"}'>Log in with Email</a></div></div><!-- End Log in --><!-- Log in with Modal --><div id="loginWithEmailModalForm" style="display: none; opacity: 0;"><!-- Heading --><div class="text-center mb-7"><h4>Log in</h4><p>Don't have an account yet?<a class="js-animation-link" href="javascript:;" role="button"data-hs-show-animation-options='{"targetSelector": "#signupModalForm","groupName": "idForm"}'>Sign up here</a></p></div><!-- End Heading --><form class="js-validate needs-validation" novalidate><!-- Form --><div class="mb-3"><label class="form-label" for="loginModalFormEmail">Your email</label><input type="email" class="form-control form-control-lg" name="email"id="loginModalFormEmail" placeholder="email@site.com" aria-label="email@site.com"required><span class="invalid-feedback">Please enter a valid email address.</span></div><!-- End Form --><!-- Form --><div class="mb-3"><div class="d-flex justify-content-between align-items-center"><label class="form-label" for="loginModalFormPassword">Password</label><a class="js-animation-link form-label-link" href="javascript:;"data-hs-show-animation-options='{"targetSelector": "#forgotPasswordModalForm","groupName": "idForm"}'>Forgot Password?</a></div><input type="password" class="form-control form-control-lg" name="password"id="loginModalFormPassword" placeholder="8+ characters required"aria-label="8+ characters required" required minlength="8"><span class="invalid-feedback">Please enter a valid password.</span></div><!-- End Form --><div class="d-grid mb-3"><button type="submit" class="btn btn-primary btn-lg">Log in</button></div></form></div><!-- End Log in with Modal --><!-- Sign up --><div id="signupModalForm" style="display: none; opacity: 0;"><!-- Heading --><div class="text-center mb-7"><h4>Sign up</h4><p>Already have an account?<a class="js-animation-link" href="javascript:;" role="button"data-hs-show-animation-options='{"targetSelector": "#loginModalForm","groupName": "idForm"}'>Log in here</a></p></div><!-- End Heading --><div class="d-grid gap-3"><a class="btn btn-white btn-lg" href="#"><span class="d-flex justify-content-center align-items-center"><img class="avatar avatar-xss me-2" src="./assets/svg/brands/google-icon.svg"alt="Image Description">Sign up with Google</span></a><a class="js-animation-link btn btn-primary btn-lg" href="#" data-hs-show-animation-options='{"targetSelector": "#signupWithEmailModalForm","groupName": "idForm"}'>Sign up with Email</a><div class="text-center"><p class="small mb-0">By continuing you agree to our <a href="#">Terms andConditions</a></p></div></div></div><!-- End Sign up --><!-- Sign up with Modal --><div id="signupWithEmailModalForm" style="display: none; opacity: 0;"><!-- Heading --><div class="text-center mb-7"><h4>Sign up</h4><p>Already have an account?<a class="js-animation-link" href="javascript:;" role="button"data-hs-show-animation-options='{"targetSelector": "#loginModalForm","groupName": "idForm"}'>Log in here</a></p></div><!-- End Heading --><form class="js-validate need-validate" novalidate><!-- Form --><div class="mb-3"><label class="form-label" for="signupModalFormEmail">Your email</label><input type="email" class="form-control form-control-lg" name="email"id="signupModalFormEmail" placeholder="email@site.com" aria-label="email@site.com"required><span class="invalid-feedback">Please enter a valid email address.</span></div><!-- End Form --><!-- Form --><div class="mb-3"><label class="form-label" for="signupModalFormPassword">Password</label><input type="password" class="form-control form-control-lg" name="password"id="signupModalFormPassword" placeholder="8+ characters required"aria-label="8+ characters required" required><span class="invalid-feedback">Your password is invalid. Please try again.</span></div><!-- End Form --><!-- Form --><div class="mb-3"><label class="form-label" for="signupModalFormConfirmPassword">Confirm password</label><input type="password" class="form-control form-control-lg" name="confirmPassword"id="signupModalFormConfirmPassword" placeholder="8+ characters required"aria-label="8+ characters required"data-hs-validation-equal-field="#signupModalFormPassword" required><span class="invalid-feedback">Password does not match the confirm password.</span></div><!-- End Form --><div class="d-grid mb-3"><button type="submit" class="btn btn-primary btn-lg">Sign up</button></div><div class="text-center"><p class="small mb-0">By continuing you agree to our <a href="#">Terms andConditions</a></p></div></form></div><!-- End Sign up with Modal --><!-- Forgot Password --><div id="forgotPasswordModalForm" style="display: none; opacity: 0;"><!-- Heading --><div class="text-center mb-7"><h4>Forgot password?</h4><p>Enter the email address you used when you joined and we'll send you instructions to resetyour password.</p></div><!-- En dHeading --><form class="js-validate need-validate" novalidate><div class="mb-3"><!-- Form --><div class="d-flex justify-content-between align-items-center"><label class="form-label" for="resetPasswordSrEmailModalForm" tabindex="0">Youremail</label><a class="js-animation-link form-label-link" href="javascript:;"data-hs-show-animation-options='{"targetSelector": "#loginModalForm","groupName": "idForm"}'><i class="bi-chevron-left small me-1"></i> Back to Log in</a></div><!-- End Form --><!-- Form --><div class="mb-3"><input type="email" class="form-control form-control-lg" name="email"id="resetPasswordSrEmailModalForm" tabindex="1"placeholder="Enter your email address" aria-label="Enter your email address"required data-msg="Please enter a valid email address."></div><!-- End Form --><div class="d-grid"><button type="submit" class="btn btn-primary btn-lg">Submit</button></div></div></form></div><!-- End Forgot Password --></div><!-- End Body --><!-- Footer --><div class="modal-footer d-block text-center py-sm-5"><small class="text-cap mb-4">Trusted by the world's best teams</small><div class="w-85 mx-auto"><div class="row justify-content-between"><div class="col"><img class="img-fluid" src="./assets/svg/brands/gitlab-gray.svg" alt="Logo"></div><!-- End Col --><div class="col"><img class="img-fluid" src="./assets/svg/brands/fitbit-gray.svg" alt="Logo"></div><!-- End Col --><div class="col"><img class="img-fluid" src="./assets/svg/brands/flow-xo-gray.svg" alt="Logo"></div><!-- End Col --><div class="col"><img class="img-fluid" src="./assets/svg/brands/layar-gray.svg" alt="Logo"></div><!-- End Col --></div></div><!-- End Row --></div><!-- End Footer --></div></div></div><!-- ========== END SECONDARY CONTENTS ========== --><!-- 让鼠标悬停能够触发下拉,必须放在body中的最后面进行初始化 --><!-- 首页需要的js --><!-- JS 文件(如果需要在页面加载时立即执行) --><!-- JS 实现插件JS Implementing Plugins --><script src="./assets/vendor/hs-mega-menu/dist/hs-mega-menu.min.js"></script><script src="./assets/vendor/hs-show-animation/dist/hs-show-animation.min.js"></script><!-- JS Space --><!-- JS Plugins Init. --><script>(function () {// INITIALIZATION OF MEGA MENU// =======================================================const megaMenu = new HSMegaMenu('.js-mega-menu', {desktop: {position: 'left'}})// INITIALIZATION OF SHOW ANIMATIONS// =======================================================new HSShowAnimation('.js-animation-link')// INITIALIZATION OF BOOTSTRAP VALIDATION// =======================================================HSBsValidation.init('.js-validate', {onSubmit: data => {data.event.preventDefault()alert('Submited')}})})()</script>
</body></html>

默认主页中的图片,它这边是建议使用npm的方式来进行捆绑打包的,但是我觉得太麻烦了,所以
原文件如下

<span class="svg-icon svg-icon-sm text-primary">
@@include("../../assets/vendor/duotone-icons/gen/gen005.svg")
</span>

更改为

<span class="svg-icon svg-icon-sm text-primary">
<img src="/assets/vendor/duotone-icons/gen/gen005.svg" alt="Your SVG File">
</span>

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

如若内容造成侵权/违法违规/事实不符,请联系一条长河网进行投诉反馈,一经查实,立即删除!

相关文章

《梦醒蝶飞:释放Excel函数与公式的力量》18.2 数据可视化技术

第18章&#xff1a;创建图表和数据可视化 18.2 数据可视化技术 数据可视化是将数据转化为图形和图表的过程&#xff0c;以便更好地理解和分析数据。有效的数据可视化可以揭示数据的模式、趋势和异常&#xff0c;从而帮助做出更明智的决策。以下将介绍几种常用的数据可视化技术…

WiFi通信——STM32通过ESP8266-01S与阿里云通信

嵌入式设计中常用的无线通信方式主要由蓝牙、WiFi、Zigbee、Lora、NB-IOT等等。这些是最常用的&#xff0c;也是在实际项目开发中根据项目的数据通信特点来选择相应的无线通信方式。本设计主要是讲解WiFi在嵌入式开发中的使用。 1. ESP8266-01S烧录固件 WiFi通信的频段和蓝牙一…

vue3前端开发-小兔鲜项目-图片切换效果和动态class

vue3前端开发-小兔鲜项目-图片切换效果和动态class!这次实现的效果是&#xff0c;图片预览效果&#xff0c;根据小图片&#xff0c;来实时改变大图&#xff08;预览&#xff09;的效果。同时让动态的特征class也跟着显示出来。 <script setup> import {ref} from vue // …

k8s中部署Jenkins、SonarQube、StorageClass部署流程

部署Jenkins 系统环境&#xff1a; • kubernetes 版本&#xff1a;1.23.3 • jenkins 版本&#xff1a;2.172 • jenkins 部署示例文件 Github 地址&#xff1a;https://github.com/my-dlq/blog-example/tree/master/jenkins-deploy 一、设置存储目录 在 Kubenetes 环境下…

【Linux】条件变量及生产者消费者模型

为什么要将这两者放在一起进行呢&#xff1f; 主要是因为生产消费与条件变量关系密切&#xff0c;正好相辅相成。 目录 条件变量&#xff1a;条件变量的引出&#xff1a;条件变量的解释与接口&#xff1a;测试代码&#xff1a; 生产者消费者模型&#xff1a;概念&#xff1a;代…

raise JSONDecodeError(“Expecting value”, s, err.value) from None

raise JSONDecodeError(“Expecting value”, s, err.value) from None 目录 raise JSONDecodeError(“Expecting value”, s, err.value) from None 【常见模块错误】 【解决方案】 欢迎来到英杰社区https://bbs.csdn.net/topics/617804998 欢迎来到我的主页&#xff0c;我是…

unity文字||图片模糊

一.文字模糊 1、增大字体大小后等比缩放 快捷键R 2、更改字体渲染模式 二.图片模糊 1、更改过滤模式 2、更改格式或者压缩 3、如果只是图片边缘看不清&#xff0c;可以增加canvas/图片的每单位参考像素

41-50题矩阵和字符串 在Java中,将大写字符转换为小写字符的方法主要有以下几种:

20240723 一、数组最后几个和字符串的两个448. 找到所有数组中消失的数字&#xff08;和645. 错误的集合差不多&#xff09;283. 移动零118. 杨辉三角119. 杨辉三角 II661. 图片平滑器&#xff08;没看懂&#xff09;598. 区间加法 II566. 重塑矩阵303. 区域和检索 - 数组不可变…

【计算机网络】三次握手、四次挥手

问&#xff1a;三次握手 四次挥手 TCP 连接过程是 3 次握手&#xff0c;终止过程是 4 次挥手 3次握手 第一步&#xff1a;客户端向服务器发送一个带有 SYN&#xff08;同步&#xff09;标志的包&#xff0c;指示客户端要建立连接。 第二步&#xff1a;服务器收到客户端的请求…

麒麟V10安装nginx、mysql报错缺少包:error while loading shared libraries libssl.so.10

背景 启动nginx报错&#xff1a;error while loading shared libraries libssl.so.10 解决 查看nginx启动文件所依赖的动态链接库&#xff08;即共享库或动态库&#xff09; ldd nginx-1.22.1/sbin/nginx离线安装compat-openssl10包 将依赖包麒麟v10安装openssl10依赖包上…

Vuex数据持久化实现

版本&#xff1a;vue 3.4.29 vuex4.1.0 1. 出现的问题 当我使用 vuex 作为状态管理组件来存储用户的一些信息之后&#xff0c;发现从/login 页面跳转到/home 界面后拿不到vuex信息。 之后查阅资料了解&#xff0c;当切换路由后&#xff0c;vue 会重新渲染&#xff0c;而vuex 也…

为什么样本方差(sample variance)的分母是 n-1?

样本均值与样本方差的定义 首先来看一下均值&#xff0c;方差&#xff0c;样本均值与样本方差的定义 总体均值的定义&#xff1a; μ 1 n ∑ i 1 n X i \mu\frac{1}{n}\sum_{i1}^{n} X_i μn1​i1∑n​Xi​ 也就是将总体中所有的样本值加总除以个数&#xff0c;也可以叫做总…

运维团队如何借助分布式部署提升监控效率与可靠性

随着企业IT基础设施的日益复杂和分布式架构的广泛应用&#xff0c;传统的监控解决方案已经难以满足现代运维团队的需求。在这样的背景下&#xff0c;分布式部署作为一种新型的监控架构&#xff0c;以其灵活性、可扩展性和高可用性&#xff0c;成为了运维团队提升监控效率与可靠…

centos系统mysql数据库差异备份与恢复

文章目录 差异备份mysql数据一、 安装 Percona XtraBackup数据库中创建一些数据三、创建全备份四、创建差异备份1. 在数据库中添加数据&#xff0c;让数据发生一些改变2. 创建第一个差异备份3. 数据库中再次添加一些数据4. 创建第二个差异备份 五、模拟数据丢失&#xff0c;删库…

nest学习笔记(一)

介绍 nest是一个用于构建高效&#xff0c;可拓展的nodejs服务端应用程序的框架&#xff0c;它使用渐进式javascript&#xff0c;使用Typescript构建并且完全支持Typescript&#xff0c;而且运行开发者使用javascript编写代码&#xff0c;提供了OOP、FP、FRP nest的底层是基于…

Kolla-Ansible的确是不支持CentOS-Stream系列产品了

看着OpenStack最新的 C 版本出来一段时间了&#xff0c;想尝个鲜、用Kolla-Ansible进行容器化部署&#xff0c;结果嘛。。。 根据实验结果&#xff0c;自OpenStack Bobcat版本开始&#xff0c;Kolla-Ansible就适合在CentOS系列产品上部署了&#xff0c;通过对 Bobcat和Caracal…

springcloud接入skywalking作为应用监控

下载安装包 需要下载SkyWalking APM 和 Java Agent 链接: skywalking 安装 下载JDK17&#xff08;可不配置环境变量&#xff09; 目前skywalking 9.0及以上版本基本都不支持JDK8&#xff0c;需要JDK11-21&#xff0c;具体版本要求在官网查看。 我这里使用的是skywalking9.…

每日好题(2)

#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main(void) {int arr[6] { 1,2,3,4,5,6 };char* p arr;int sz sizeof(arr) / sizeof(arr[0]);for (int a 0; a < sz; a){printf("%d\n", *p);p 4;}return 0; }这串代码遍历打印数组的结果是没…

BGP选路之Preferred value

原理概述 当一台BGP路由器中存在多条去往同一目标网络的BGP路由时&#xff0c;BGP协议会对这些BGP路由的属性进行比较&#xff0c;以确定去往该目标网络的最优BGP路由&#xff0c;然后将该最优BGP路由与去往同一目标网络的其他协议路由进行比较&#xff0c;从而决定是否将该最优…

小程序多排数据横向滚动实现

如何实现多排数据滚动效果 swiper 外部容器 swiper-item 每一页的数据 因为现在有多排数据,现在在swiper-item 中需要循环一个数组 初版 <template><view><view class"container"><view class"swiper-box"><swiper class&qu…