diff --git a/.gitignore b/.gitignore index a8aff66..375e0b5 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ node_modules/ public/ .deploy*/ _multiconfig.yml -.idea \ No newline at end of file +.idea +package-lock.json \ No newline at end of file diff --git a/_config.solitude.yml b/_config.solitude.yml index 1b0f593..4221359 100644 --- a/_config.solitude.yml +++ b/_config.solitude.yml @@ -37,67 +37,67 @@ nav: # Menu # 菜单 menu: - 首页: / # name: link - 文库: # name - 全部文章: /archives/ || fas fa-folder-closed # item name: link || icon - 全部分类: /categories/ || fas fa-clone - 全部标签: /tags/ || fas fa-tags - 友链: - 朋友圈: /moments/ || fas fa-wifi - 友情链接: /links/ || fas fa-user-group - 宝藏博主: javascript:travelling() || fas fa-gift - 关于: - 我的装备: /equipment/ || fas fa-laptop - 在线工具: /tlink/ || fas fa-toolbox - 音乐馆: /music/ || fas fa-music + # 首页: / # name: link + 文库: # name + 全部文章: /archives/ || fas fa-folder-closed # item name: link || icon + 全部分类: /categories/ || fas fa-clone + 全部标签: /tags/ || fas fa-tags + 友链: + 朋友圈: /moments/ || fas fa-wifi + 友情链接: /links/ || fas fa-user-group + 宝藏博主: javascript:travelling() || fas fa-gift + 关于: + 我的装备: /equipment/ || fas fa-laptop + 在线工具: /tlink/ || fas fa-toolbox + 音乐馆: /music/ || fas fa-music # Right button # 右侧按钮 right: random: false # Random article / 随机文章按钮 custom: - # - name: 开往 # 名字 - # url: https://www.travellings.cn/go.html # 跳转链接 - # icon: fas fa-train # 图标 - # onclick: # 点击事件 - # id: travellings_button # id +# - name: 开往 # 名字 +# url: https://www.travellings.cn/go.html # 跳转链接 +# icon: fas fa-train # 图标 +# onclick: # 点击事件 +# id: travellings_button # id # --------------------------- end --------------------------- # --------------------------- start --------------------------- # Home Top Banner # 首页顶部 hometop: - enable: false + enable: true banner: title: 分享技术
与科技生活 # 大字 desc: 一个热爱生活的人 # 小字 # - 我只是一个普通的程序员 # - 但我有一个不平凡的梦想 - # - 我希望能够改变世界 + # - 我希望能够改变世界 icon: - # HTML: # name - # img: https://i.postimg.cc/vBWVnY8q/html.png # url - # color: "#e9572b" # color - # JS: - # img: https://i.postimg.cc/3N10Ltv2/js.png - # color: "#f7cb4f" - # Docker: - # img: https://i.postimg.cc/8Pk6Fg24/docker.png - # color: "#57b6e6" - # Flutter: - # img: https://i.postimg.cc/hPC7T3gB/flutter.png - # color: "#ffffff" - # WebPack: - # img: https://i.postimg.cc/dVLZBmtT/webpack.png - # color: "#2e3a41" - # Git: - # img: https://i.postimg.cc/nhgjwjCS/git.png - # color: "#df5b40" + HTML: # name + img: https://i.postimg.cc/vBWVnY8q/html.png # url + color: "#e9572b" # color + JS: + img: https://i.postimg.cc/3N10Ltv2/js.png + color: "#f7cb4f" + Docker: + img: https://i.postimg.cc/8Pk6Fg24/docker.png + color: "#57b6e6" + Flutter: + img: https://i.postimg.cc/hPC7T3gB/flutter.png + color: "#ffffff" + WebPack: + img: https://i.postimg.cc/dVLZBmtT/webpack.png + color: "#2e3a41" + Git: + img: https://i.postimg.cc/nhgjwjCS/git.png + color: "#df5b40" group: - # 热门: /tags/Fire/ || fas fa-fire || linear-gradient(to right,#f65,#ffbf37) + # 热门: /tags/Fire/ || fas fa-fire || linear-gradient(to right,#f65,#ffbf37) recommendList: - enable: true + enable: false sup: 置顶 title: Solitude 官方文档 url: https://solitude.js.org/ @@ -148,9 +148,9 @@ aside: night: 早点休息 goodnight: 晚安 😴 witty_words: - # - 你可以的 - # - 你一定可以的 - # - 祝你好运,陌生人 + # - 你可以的 + # - 你一定可以的 + # - 祝你好运,陌生人 # social # 社交信息图标 information: @@ -175,7 +175,7 @@ aside: limit: 20 # Number of tags displayed # Highlighted tags highlight_list: - # - Hexo + # - Hexo # --------------------------- end --------------------------- # --------------------------- start --------------------------- @@ -200,7 +200,7 @@ aside: runtimeenable: true # Format: yyyy-MM-dd hh-mm-ss # 格式: yyyy-MM-dd hh-mm-ss - runtime: "2023-04-20 00:00:00" + runtime: "2020-08-01 00:00:00" # --------------------------- end --------------------------- # --------------------------- end --------------------------- @@ -226,7 +226,7 @@ page: # Default image when no cover is set # 未设置封面时的默认图片 cover: - # - /img/default.png # 默认图片 / default cover + # - /img/default.png # 默认图片 / default cover # --------------------------- end --------------------------- # --------------------------- start --------------------------- @@ -237,14 +237,14 @@ post: # Default image when no cover is set # 未设置封面时的默认图片 cover: - # - # 默认图片 / default cover + # - # 默认图片 / default cover # Location # 位置 - locate: China + locate: 成都 # Copyright # 版权 copyright: - enable: true + enable: false author: /img/logo.png # url # License # 许可证 @@ -255,30 +255,30 @@ post: # Article Local AI # 文章本地AI ai: - enable: false + enable: true modelName: 小七 GPT # Article meta information # 文章元信息 meta: # Release date # 发布日期 - date: false + date: true # Update date # 更新日期 - updated: false + updated: true # Location # 位置 - locate: false + locate: true # Number of words # 字数 - wordcount: false + wordcount: true # uv - readtime: false + readtime: true # pv - pv: false + pv: true # Comment count # 评论数 - comment: false + comment: true # Reward # 打赏 award: @@ -291,25 +291,25 @@ post: # Reward list # 打赏列表 list: - # - name: Github Sponsor - # qcode: https://s3.qjqq.cn/47/661ba900c4bc1.webp!color - # url: https://github.com/sponsors/everfu - # color: var(--efu-black) + # - name: Github Sponsor + # qcode: https://s3.qjqq.cn/47/661ba900c4bc1.webp!color + # url: https://github.com/sponsors/everfu + # color: var(--efu-black) # Share icon # 分享图标 share: enable: false list: - # - qq - # - weibo - # - twitter - # - facebook - # - telegram - # - whatsapp - # - linkedin - # - link - # - qrcode + # - qq + # - weibo + # - twitter + # - facebook + # - telegram + # - whatsapp + # - linkedin + # - link + # - qrcode rss: # /atom.xml # Article reading progress # 文章封面取色 @@ -378,7 +378,7 @@ background: # When the user exits the page, modify the title # 当用户退出页面时,修改标题 lure: - enable: true + enable: false jump: 404 Not Found back: ヾ(≧∇≦*)ゝHey, hey, you fell for it. # --------------------------- end --------------------------- @@ -390,8 +390,8 @@ expire: enable: true time: 30 # days position: top # top / bottom - text_prev: "This article expired " - text_next: " day ago, if the content does not match, please contact the webmaster to update it." + text_prev: "本文已过期 " + text_next: " 天前,如果内容不匹配,请联系站长进行更新。" # --------------------------- end --------------------------- # --------------------------- start --------------------------- @@ -421,31 +421,31 @@ right_menu: enable: true # Whether to display the hot comment switch. # 是否显示热门评论开关 - commentBarrage: false + commentBarrage: true # Whether to display the browser's context menu when hold Ctrl key. # 是否在按住 Ctrl 键时显示浏览器右键菜单 - ctrlOriginalMenu: false + ctrlOriginalMenu: true # Simplified and Traditional Chinese translation. # 简繁体转换 - translate: false + translate: true # Custom list # 自定义列表 custom_list: - # - name: 随机文章 - # click: toRandomPost() - # id: menu-randomPost - # class: - # icon: fas fa-tower-broadcast - # - name: 全部分类 - # click: pjax.loadUrl('/categories/') # External links with window.open, pjax can not request cross-domain content. - # id: - # class: - # icon: fas fa-clone - # - name: 全部标签 - # click: pjax.loadUrl('/tags/') - # id: - # class: - # icon: fas fa-tags + - name: 随机文章 + click: toRandomPost() + id: menu-randomPost + class: + icon: fas fa-tower-broadcast + - name: 全部分类 + click: pjax.loadUrl('/categories/') # External links with window.open, pjax can not request cross-domain content. + id: + class: + icon: fas fa-clone + - name: 全部标签 + click: pjax.loadUrl('/tags/') + id: + class: + icon: fas fa-tags # --------------------------- end ----------------------- # --------------------------- start --------------------------- @@ -529,48 +529,48 @@ footer: information: author: false # img url / false left: - # Github: https://github.com/everfu || fab fa-github # 名称: 链接 || 图标 - # Mail: mailto:o@everfu.org || far fa-envelope + # Github: https://github.com/everfu || fab fa-github # 名称: 链接 || 图标 + # Mail: mailto:o@everfu.org || far fa-envelope right: - # Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili - # Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok + # Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili + # Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok # 友情链接 group: - # 导航: - # Archives: /archives/ - # Categories: /categories/ - # Tags: /tags/ - # 排列: - # Cookies: /cookies/ - # Privacy: /privacy/ - # Copyright: /copyright/ + # 导航: + # Archives: /archives/ + # Categories: /categories/ + # Tags: /tags/ + # 排列: + # Cookies: /cookies/ + # Privacy: /privacy/ + # Copyright: /copyright/ # 随机友链 randomlink: false # 随机友链 # 备案 beian: - - name: 蜀ICP备2022000018号 - icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png - url: https://beian.mps.gov.cn/#/query/webSearch - - name: 蜀ICP备2022000018号-1 - icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png - url: https://beian.miit.gov.cn/ + - name: 蜀ICP备2022000018号 + icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png + url: https://beian.miit.gov.cn/ + # - name: 蜀ICP备2022000018号-1 + # icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png + # url: https://beian.miit.gov.cn/ # 页脚信息文字 links: - # - name: RSS - # url: /atom.xml - # - name: License - # url: https://github.com/everfu/hexo-theme-solitude/blob/main/LICENSE - # icon: - # - fas fa-copyright - # - fab fa-creative-commons-by - # - fab fa-creative-commons-nc - # - fab fa-creative-commons-nd - # - name: boringbay - # url: https://boringbay.com/ - # img: https://boringbay.com/api/badge/www.efu.me + # - name: RSS + # url: /atom.xml +# - name: License +# url: https://github.com/everfu/hexo-theme-solitude/blob/main/LICENSE +# icon: +# - fas fa-copyright +# - fab fa-creative-commons-by +# - fab fa-creative-commons-nc +# - fab fa-creative-commons-nd +# - name: boringbay +# url: https://boringbay.com/ +# img: https://boringbay.com/api/badge/www.efu.me # --------------------------- end --------------------------- # --------------------------- start --------------------------- @@ -613,18 +613,18 @@ capsule: keyboard: enable: false list: - # - name: 关闭快捷菜单 - # key: K - # func: keyboard - # - name: 打开控制台 - # key: A - # sco: showConsole - # - name: 播放/暂停音乐 - # key: M - # sco: musicToggle - # - name: 打开友链 - # key: L - # url: /links/ + # - name: 关闭快捷菜单 + # key: K + # func: keyboard + # - name: 打开控制台 + # key: A + # sco: showConsole + # - name: 播放/暂停音乐 + # key: M + # sco: musicToggle + # - name: 打开友链 + # key: L + # url: /links/ # --------------------------- end --------------------------- # --------------------------- start --------------------------- @@ -703,13 +703,13 @@ memorial: OpenGraph: enable: false options: - # twitter_card: - # twitter_image: - # twitter_id: - # twitter_site: - # google_plus: - # fb_admins: - # fb_app_id: + # twitter_card: + # twitter_image: + # twitter_id: + # twitter_site: + # google_plus: + # fb_admins: + # fb_app_id: # --------------------------- end --------------------------- # --------------------------- start --------------------------- @@ -738,10 +738,10 @@ katex: # verification # 验证 verify_site: - # - name: google-site-verification - # content: xxxxxx - # - name: baidu-site-verification - # content: xxxxxxx +# - name: google-site-verification +# content: xxxxxx +# - name: baidu-site-verification +# content: xxxxxxx # --------------------------- end --------------------------- # --------------------------- start --------------------------- @@ -787,27 +787,27 @@ pwa: comment: # Which commenting system to use(e.g. waline or waline,twikoo) # 使用哪个评论系统(例如: waline or waline,twikoo) - use: # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time + use: twikoo # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time # Whether to display the hot comment switch. # 是否显示热门评论开关 - commentBarrage: false + commentBarrage: true # Lazy load # 懒加载评论区 - lazyload: false + lazyload: true # Whether to display the comment count # 显示评论数 - count: false + count: true # Sidebar displays the total number of comments # Sidebar 显示总评论数 - sidebar: false + sidebar: true # PV - pv: false + pv: true # Avatar avatar: https://gravatar.com/avatar # Hot comment tips # 热评提示 hot_tip: - enable: false + enable: true # Number of hot comments count: 3 # recent comments(⚠️ Comments need to be configured first.) @@ -857,19 +857,19 @@ giscus: # --------------------------- start --------------------------- # Search search: - enable: false - type: # local / algolia / docsearch + enable: true + type: local # local / algolia / docsearch tags: - # - Solitude - # - Hexo + # - Solitude + # - Hexo # Algolia algolia: - # hits: - # per_page: 6 + # hits: + # per_page: 6 # Local search local: - preload: false + preload: true CDN: # url: search.xml # DocSearch @@ -978,34 +978,34 @@ CDN: custom_format: https://fastly.jsdelivr.net/npm/${name}@${version}/${min_file} # 自定义格式 # 直接覆盖默认 CDN 链接(优先级最高) options: - # algolia_search: - # aplayer_css: - # aplayer_js: - # artalk_css: - # artalk_js: - # blueimp_md5: - # busuanzi_js: - # chart_js: - # color_thief: - # fancyapps_css: - # fancyapps_ui: - # fontawesome: - # instantsearch: - # katex: - # katex_copytex: - # lazyload: - # medium_zoom: - # mermaid_js: - # meting_js: - # pace_js: - # pjax: - # qrcode: - # snackbar: - # swiper_css: - # swiper_js: - # twikoo: - # typeit_js: - # valine: - # waline_css: - # waline_js: + # algolia_search: + # aplayer_css: + # aplayer_js: + # artalk_css: + # artalk_js: + # blueimp_md5: + # busuanzi_js: + # chart_js: + # color_thief: + # fancyapps_css: + # fancyapps_ui: + # fontawesome: + # instantsearch: + # katex: + # katex_copytex: + # lazyload: + # medium_zoom: + # mermaid_js: + # meting_js: + # pace_js: + # pjax: + # qrcode: + # snackbar: + # swiper_css: + # swiper_js: + # twikoo: + # typeit_js: + # valine: + # waline_css: + # waline_js: # --------------------------- end --------------------------- diff --git a/_config.yml b/_config.yml index b86b470..5f4833e 100644 --- a/_config.yml +++ b/_config.yml @@ -8,7 +8,7 @@ subtitle: 'xzh的博客' description: 'xzh的博客' keywords: author: xzh -language: en +language: zh-CN timezone: '' # URL diff --git a/source/_posts/daily/常用软件.md b/source/_posts/daily/常用软件.md new file mode 100644 index 0000000..e5b62ef --- /dev/null +++ b/source/_posts/daily/常用软件.md @@ -0,0 +1,76 @@ +--- +title: 常用软件 +date: 2022-04-02 +updated: 2022-04-02 +tags: 常用 +categories: 常用 +keywords: 常用 +description: 常用软件 +top_img: https://s2.loli.net/2022/04/02/64hEAPbZmvFOsoa.jpg +comments: true +cover: https://s2.loli.net/2022/04/02/64hEAPbZmvFOsoa.jpg +--- + +# 常用软件 + +## 开发软件 + +> idea + +> VS code + +> hbuild + +## 数据库连接软件 + +> navicat + +## 接口测试软件 + +> postman + +> apifox + +## 服务器连接软件 + +> xshell + +> xftp + +## 数据库设计软件 + +> PowerDesigner + +> pdman + +## 笔记软件 + +> Typora + +## 图片上传软件 + +> picGo + +## java开发 + +> jdk + +> maven + +> mysql + +> redis + +> tomcat + +## 前端开发 + +> nodejs + +> vue + +## 代码管理 + +> git + +> svn diff --git a/source/_posts/docker/Docker.md b/source/_posts/docker/Docker.md new file mode 100644 index 0000000..b4acf80 --- /dev/null +++ b/source/_posts/docker/Docker.md @@ -0,0 +1,143 @@ +--- +title: docker +date: 2020-08-27 +updated: 2021-09-25 +tags: docker +categories: docker +keywords: docker +description: docker中安装Mysql +top_img: https://i.loli.net/2021/09/30/xQP2JVs3I9Zt1le.jpg +comments: true +cover: https://i.loli.net/2021/09/30/xQP2JVs3I9Zt1le.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# 1、docker的安装 + +## 1.1、安装工具 + +`sudo yum install -y yum-utils device-mapper-persistent-data lvm2` + +``` +device-mapper-persistent-data lvm2是干嘛的? + +docker要想数据存储就必须要安装这两个,这两个是为了docker做数据存储用的。 +``` + +## 1.2、添加源为国内 + +`sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo` + +## 1.3、更新安装Docker-CE + +`sudo yum makecache fast` +`sudo yum -y install docker-ce` + +## 1.4、启动验证 + +`sudo service docker start` +`docker version` + +# 2、配置阿里镜像加速器 + +## 2.1、去阿里搜索`容器镜像服务` + +![image-20200816150233760](/images/image-20200816150233760.png) + +![image-20200816150338205](/images/image-20200816150338205.png) + +## 2.2、执行命令 + +按照上面的命令输入 + +``` +sudo mkdir -p /etc/docker +sudo tee /etc/docker/daemon.json <<-'EOF' +{ + "registry-mirrors": ["https://xxx.aliyuncs.com"] +} +EOF +sudo systemctl daemon-reload +sudo systemctl restart docker +``` + +# 3、镜像的安装 + +## 3.1、拉取镜像 + +`docker pull xxx` 例:`docker pull tomcat` + +``` +完整命令是:docker pull 镜像名<:tags> 从远程仓库拉取镜像。如果没写:tags则代表是latest版本 +``` + +## 3.2、查看镜像 + +`docker images` + +## 3.3、启动容器 + +`docker run xxx:版本号(最新版可省略)` 例:`docker run tomcat` `docker run tomcat:latest` + +``` +完整命令是:docker run 镜像名<:tags> 这里没指定tag就代表是latest +``` + +`docker run -d --name xxx -p port1:port2 xxx` 例:`docker run -d --name tomcat1 -p 8080:8080 tomcat` + +``` +-d:后台启动 +-p:端口映射 +--name:设置容器名称 +``` + +## 3.4、查看容器信息 + +查看启动的容器:`docker ps` + +查看所有容器:`docker ps -a` + +## 3.4、删除容器 + +`docker rm xxx` 例:`docker rm 87f2b3a10855` + +``` +删除需要用容器的ID 不能用名称 +``` + +![image-20200816153100668](/images/image-20200816153100668.png) + +## 3.5、进入容器里面 + +`docker exec-it xxx bash` 例:`docker exec -it tomcat bash` `docker exec -it 87f2b3a10855 bash` + +``` +进入容器可以使用名称和容器ID都可以进入 +``` + +退出:ctrl+p+q + +## 3.6、关闭/重启容器 + +关闭:`docker stop xxx` 例:`docker stop 87f2b3a10855` + +重启:`docker restatr xxx` 例:`docker restatr 87f2b3a10855` + +# 4、常用命令总结 + +| 解释 | 命令 | +| :------------------------------: | :----------------------------------------------------------: | +| docker pull 镜像名<:tags> | 从远程仓库拉取镜像到本地仓库 | +| docker images | 查看本地仓库所有镜像 | +| docker run 镜像名<:tags> | 基于镜像创建容器并启动,可以添加-d port1:port2参数,port1:宿主机端口,port2:容器端口, -d参数代表后台运行 | +| docker ps | 查看当前所有启动的容器 | +| docker ps -a | 查看本地所有容器,包含未启动的,删除容器的时候可用来查询容器id | +| docker start/stop/restart 容器id | 启动/停止/重启容器 | +| docker rm <-f> 容器id | 删除<-f:强制删除>容器,运行中的容器不能删除,-f可以强制 | +| docker rmi <-f> 镜像名称 <:tags> | 删除<强制删除>镜像,镜像有容器在启动,不能被删除,-f可以强制 | +| docker exec [-it] 容器id 命令 | 进入容器主目录,exec:在对应容器中执行命令,-it:采用交互方式执行命令 | + diff --git a/source/_posts/docker/Docker中安装Mysql.md b/source/_posts/docker/Docker中安装Mysql.md new file mode 100644 index 0000000..fd96dff --- /dev/null +++ b/source/_posts/docker/Docker中安装Mysql.md @@ -0,0 +1,40 @@ +--- +title: docker中安装Mysql +date: 2020-08-27 +updated: 2021-09-25 +tags: + - docker + - mysql +categories: docker +keywords: + - docker + - mysql +description: docker中安装Mysql +top_img: https://s2.loli.net/2022/03/09/Efxq3ptNGemKX1g.jpg +comments: true +cover: https://s2.loli.net/2022/03/09/Efxq3ptNGemKX1g.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# 1、安装Mysql + +## 1.1、拉取mysql镜像 + +`docker pull mysql:latest` + +## 1.2、启动Mysql容器 + +`docker run -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql` + +## 1.3、进入容器目录测试 + +`docker exec -it mysql bash` + +进入`cd /usr/bin` + +`mysql -uroot -p123456` + diff --git a/source/_posts/docker/Docker中安装Redis.md b/source/_posts/docker/Docker中安装Redis.md new file mode 100644 index 0000000..b9c1bd4 --- /dev/null +++ b/source/_posts/docker/Docker中安装Redis.md @@ -0,0 +1,62 @@ +--- +title: docker中安装Redis +date: 2020-08-27 +updated: 2021-09-25 +tags: + - docker + - redis +categories: docker +keywords: + - docker + - redis +description: docker中安装Redis +top_img: https://i.loli.net/2021/09/30/xQP2JVs3I9Zt1le.jpg +comments: true +cover: https://i.loli.net/2021/09/30/xQP2JVs3I9Zt1le.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# 1、安装Redis + +## 1.1、拉取Redis + +`docker pull redis:latest` + +## 1.2、获取Redis配置文件 + +官网获取配置文件:[redis.conf](http://download.redis.io/redis-stable) + +```tex +修改配置文件信息: + bind 127.0.0.1 #注释掉这部分,这是限制redis只能本地访问 + protected-mode no #默认yes,开启保护模式,限制为本地访问 + dir ./ #输入本地redis数据库存放文件夹(可选) + appendonly yes #redis持久化(可选) + requirepass foobared #注释去掉 foobared就是redis的密码 (可选) + daemonize no#默认no,改为yes意为以守护进程方式启动,可后台运行,除非kill进程(可选),改为yes会使配置文件方式启动redis失败 +``` + +然后把配置文件上传到服务器的文件夹 我的是`/usr/local/redis/conf/` + +## 1.3、启动redis + +`docker run -d --name redis -p 6379:6379 -v /usr/local/redis/conf/redis.conf:/etc/redis/redis.conf -v /usr/local/redis/data:/data redis redis-server /etc/redis/redis.conf --appendonly yes` + +```txt +-p 6379:6379 端口映射:前表示主机部分,:后表示容器部分。 +--name myredis 指定该容器名称,查看和进行操作都比较方便。 +-v 挂载目录,规则与端口映射相同。 +-d redis 表示后台启动redis +redis-server /etc/redis/redis.conf 以配置文件启动redis,加载容器内的conf文件,最终找到的是挂载的目录/usr/local/docker/redis.conf +appendonly yes 开启redis 持久化 +``` + +## 1.4、测试 + +进入redis容器目录`docker exec -it redis bash` + +然后输入`redis-cli` 就可以使用了 diff --git a/source/_posts/docker/Docker中安装Tomcat.md b/source/_posts/docker/Docker中安装Tomcat.md new file mode 100644 index 0000000..065dc7d --- /dev/null +++ b/source/_posts/docker/Docker中安装Tomcat.md @@ -0,0 +1,63 @@ +--- +title: docker中安装Tomcat +date: 2020-08-27 +updated: 2021-09-25 +tags: + - docker + - tomcat +categories: docker +keywords: + - docker + - tomcat +description: docker中安装tomcat +top_img: https://i.loli.net/2021/09/30/xQP2JVs3I9Zt1le.jpg +comments: true +cover: https://i.loli.net/2021/09/30/xQP2JVs3I9Zt1le.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# 1、安装Tomcat + +## 1.1、拉取Tomcat + +最新版:`docker pull tomcat:latest` + +指定版本:`docker pull tomcat:指定版本号` + +## 1.2、启动Tomcat + +`docker run -d --name tomcat -p 8080:8080 tomcat:版本号(最新版不需要)` + +### 1.3、访问Tomcat + +自己电脑浏览器访问:`http://host:8080` + +``` +注意映射的端口是需要放行的 如果没放行 是访问不到的 +``` + +# 2、Tomcat最新版(Tomcat 9)问题 + +在docker中拉取的最新版Tomcat会出现启动后访问不到 是因为在Tomcat9中webapps中没有ROOT等文件 它是当到了一个webapps.dist的文件夹中 我们需要这些文件移动过去 + +## 2.1、进入Tomcat文件目录 + +`docker exec -it tomcat bash` + +## 2.2、删除webapps文件夹并且把webapps.dist文件夹改名 + +`rm -r webapps` + +`mv webapps.dist/ webapps` + +## 2.3、退出并重启 + +按住:`ctrl+p+q` + +重启:`docker restart 7c38e259f492(tomcat的容器Id)` + +然后再访问就可以了 diff --git a/source/_posts/docker/docker中安装Jenkins.md b/source/_posts/docker/docker中安装Jenkins.md new file mode 100644 index 0000000..454c047 --- /dev/null +++ b/source/_posts/docker/docker中安装Jenkins.md @@ -0,0 +1,77 @@ +--- +title: docker中安装Jenkins +date: 2022-03-09 +updated: 2022-03-09 +tags: + - docker + - jenkins +categories: docker +keywords: + - docker + - jenkins +description: docker中安装jenkins +top_img: https://s2.loli.net/2022/03/09/zOCwJ2qGpvb8yUi.jpg +comments: true +cover: https://s2.loli.net/2022/03/09/zOCwJ2qGpvb8yUi.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# 拉取Jenkins镜像 + +```shell +docker pull jenkins/jenkins +``` + +# 给jenkins映射的文件夹设置权限 + +​ 我的映射路径是`/usr/local/jenkins` + +​ 因为当映射本地数据卷时,/usr/local/jenkins目录的拥有者为root用户,而容器中jenkins user的uid为1000 + +```shell +chown -R 1000:1000 /usr/local/jenkins +``` + +# 创建jenkins容器并启动 + +```shell +docker run -d --name jenkins -p 18080:8080 -p 15000:50000 -v /usr/local/jenkins/jenkins_home:/var/jenkins_home jenkins/jenkins +``` + +# 访问jenkins + +需按照自己服务器开放端口 + +然后直接访问`http://ip:8080` + +## 进入该界面 + +![jenkins首次访问页面](https://s2.loli.net/2022/03/09/sNcuTBSvU79zkJx.png) + +## 然后查看我们jenkin的密码 + +```shell +cat /usr/local/jenkins/jenkins_home/secrets/initialAdminPassword +``` + +![查看jenkins密码](https://s2.loli.net/2022/03/09/1oe5TmlQCuryknV.png) + +## 到安装插件页面选择推荐安装 + +![安装插件页面](https://s2.loli.net/2022/03/09/jvT1ogiFA98cQuy.png) + +## 等待安装完成 + +![安装插件](https://s2.loli.net/2022/03/09/FzZMy41asqv3Dtb.png) + +## 创建用户(可选admin账户继续) + +![创建用户](https://s2.loli.net/2022/03/09/WYTRDByq3K4uwNC.png) + +## 直接往下走 进入首页 + +![首页](https://s2.loli.net/2022/03/09/zPXKNhsDYyUpGfq.png) diff --git a/source/_posts/linux/git安装.md b/source/_posts/linux/git安装.md new file mode 100644 index 0000000..0834dd0 --- /dev/null +++ b/source/_posts/linux/git安装.md @@ -0,0 +1,82 @@ +--- +title: git安装 +date: 2021-11-21 +updated: 2021-11-21 +tags: + - git + - linux +categories: + - linux + - git +keywords: + - git + - linux +description: git安装 +top_img: https://i.loli.net/2021/11/21/kVIqrRQlpSD2avc.jpg +comments: true +cover: https://i.loli.net/2021/11/21/kVIqrRQlpSD2avc.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# git安装 + +## 下载git包 + +[下载地址](https://mirrors.edge.kernel.org/pub/software/scm/git/) + +![下载git包](https://i.loli.net/2021/11/21/r1sYpudjDFZbJQq.png) + +## 上传服务器并解压安装 + +### 解压 + +```shell +tar -zxvf git-2.34.0.tar.gz +``` + +### 安装依赖 + +```shell +yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker +``` + +### 检验配置并设置安装路径 + +```shell +./configure --prefix=/usr/local/git +``` + +### 编译&安装 + +```shell +make && make install +``` + +## 配置环境变量 + +```shell +vim /etc/profile +``` + +### 环境变量 + +```js +# git环境变量 +export GIT_HOME=/usr/local/git +export PATH=$PATH:$GIT_HOME/bin +``` + +### 刷新配置 + +```shell +source /etc/profile +``` + +## 安装完成 + +![查看版本](https://i.loli.net/2021/11/21/2WlMOzNVUGpaK6T.png) + diff --git a/source/_posts/linux/java环境配置.md b/source/_posts/linux/java环境配置.md new file mode 100644 index 0000000..525e80e --- /dev/null +++ b/source/_posts/linux/java环境配置.md @@ -0,0 +1,72 @@ +--- +title: java环境配置 +date: 2021-11-20 +updated: 2021-11-20 +tags: + - java + - linux +categories: + - linux + - java +keywords: + - linux + - java +description: linux配置java环境 +top_img: https://i.loli.net/2021/11/20/oz2O9BwW38ZRbJV.jpg +comments: true +cover: https://i.loli.net/2021/11/20/oz2O9BwW38ZRbJV.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# linux配置java环境 + +## 卸载可能存在的java环境 + +```shell +rpm -qa|grep java +rpm -qa|grep jdk +# 如果有就卸载掉 +rpm -e --nodeps java--1.8.xxx +``` + +## 下载java二进制包 + +https://www.oracle.com/ + +![java二进制包](https://i.loli.net/2021/11/18/AOvYE8LMTG4Pgwm.png) + +## 上传到服务器并解压 + +```shell +tar -zxvf jdk-8u311-linux-x64.tar.gz +# 移动位置 +mv jdk1.8.0_311 /usr/local/ +``` + +## 配置环境变量 + +### 编辑配置文件 + +```shell +vim /etc/profile +``` + +### 添加环境变量配置 + +```shell +# JDK环境变量 +JAVA_HOME=/usr/local/jdk1.8.0_311 +CLASSPATH=.:$JAVA_HOME/lib:/dt.jar:$JAVA_HOME/lib/tools.jar +PATH=$PATH:$JAVA_HOME/bin +``` + +### 刷新配置 + +```shell +source /etc/profile +``` + diff --git a/source/_posts/linux/jenkins安装.md b/source/_posts/linux/jenkins安装.md new file mode 100644 index 0000000..5ae925c --- /dev/null +++ b/source/_posts/linux/jenkins安装.md @@ -0,0 +1,104 @@ +--- +title: jenkins安装 +date: 2021-11-21 +updated: 2021-11-21 +tags: + - jenkins + - linux +categories: + - linux + - jenkins +keywords: + - jenkins + - linux +description: jenkins安装 +top_img: https://i.loli.net/2021/11/21/HAqYGMSTVwJxcBN.jpg +comments: true +cover: https://i.loli.net/2021/11/21/HAqYGMSTVwJxcBN.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# jenkins安装 + +## 下载jenkins + +[下载地址](http://mirrors.jenkins.io/war-stable/2.303.3/) + +![下载](https://i.loli.net/2021/11/20/VM6hoLbAFPrdsUZ.png) + +## 上传至服务器 + +![jenkins文件](https://i.loli.net/2021/11/20/HNrXOUEYWLqDfuw.png) + +## 运行jenkins war文件 + +![官方说明](https://i.loli.net/2021/11/20/bBhwdVQqSr1JXgY.png) + +```shell +# 后台运行jenkinx +nohup java -jar jenkins.war > jenkins.log & +``` + +### 开放端口 + +```shell +firewall-cmd --zone=public --add-port=8080/tcp --permanent +``` + +### 重启防火墙 + +```shell +firewall-cmd --reload +``` + +## 访问jenkins + +http://ip:8080 + +![jenkin页面](https://i.loli.net/2021/11/20/trxNpfP4KzvVjQ1.png) + +### 根据页面提示的路径查看密码 + +```shell +cat /root/.jenkins/secrets/initialAdminPassword +``` + +### 把显示的密码复制到输入框中 + +![密码](https://i.loli.net/2021/11/20/uNhtYWiP5sTakLS.png) + +## 插件安装 + +### 按照自己的需求来选择安装的插件(我选择推荐的) + +![插件安装](https://i.loli.net/2021/11/20/Nrtpv1LDgojkYAy.png) + +![插件开始安装](https://i.loli.net/2021/11/20/Q1kFYS6mEvJczxq.png) + +## 创建用户 + +![创建用户](https://i.loli.net/2021/11/20/ewtsjL19MogZfkx.png) + +## 安装完成 + +![首页](https://i.loli.net/2021/11/20/4p1fXFkgitBIDCY.png) + +# jenkins配置 + +## 进入配置页 + +![配置页](https://i.loli.net/2021/11/21/CFAgsRd8YzyEb1D.png) + +## maven配置 + +![settings路径](https://i.loli.net/2021/11/21/zQbUcjl6123FVvX.png) + +![maven路径配置](https://i.loli.net/2021/11/21/9bLRnfcXotgCusq.png) + +## git配置 + +![git配置](https://i.loli.net/2021/11/21/459y7OR2kWqHshr.png) \ No newline at end of file diff --git a/source/_posts/linux/maven安装.md b/source/_posts/linux/maven安装.md new file mode 100644 index 0000000..8393a4a --- /dev/null +++ b/source/_posts/linux/maven安装.md @@ -0,0 +1,82 @@ +--- +title: maven安装 +date: 2021-11-21 +updated: 2021-11-21 +tags: + - maven + - linux +categories: + - linux + - maven +keywords: + - maven + - linux +description: maven安装 +top_img: https://i.loli.net/2021/11/21/UfdQTqzw4Y7r1v2.jpg +comments: true +cover: https://i.loli.net/2021/11/21/UfdQTqzw4Y7r1v2.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# maven安装 + +## 下载maven包 + +[下载地址](https://maven.apache.org/download.cgi) + +![下载文件](https://i.loli.net/2021/11/21/rhBy2R3j19kn6ML.png) + +## 上传至服务器并解压 + +```shell +tar -zxvf apache-maven-3.8.4-bin.tar.gz +``` + +## 移动位置 + +```shell +mv apache-maven-3.8.4 /usr/local/maven-3.8.4 +``` + +## 配置环境变量 + +```shell +vim /etc/profile +``` + +### 配置 + +```js +# maven环境变量 +export MAVEN_HOME=/usr/local/maven-3.8.4 +export PATH=$PATH:$MAVEN_HOME/bin +``` + +### 刷新配置 + +``` +source /etc/profile +``` + +## 安装成功 + +![查看版本](https://i.loli.net/2021/11/21/WI57jEVpk8CTzgD.png) + +## 修改maven配置文件 + +```shell +vim /usr/local/maven-3.8.4/conf/settings.xml +``` + +### 配置本地仓库 + +![仓库配置](https://i.loli.net/2021/11/21/8YHsueMag6TZQFB.png) + +### 配置阿里远程仓库 + +![远程仓库](https://i.loli.net/2021/11/21/DVEgcNeUztb49BZ.png) + diff --git a/source/_posts/linux/mysql安装.md b/source/_posts/linux/mysql安装.md new file mode 100644 index 0000000..004ef89 --- /dev/null +++ b/source/_posts/linux/mysql安装.md @@ -0,0 +1,263 @@ +--- +title: mysql安装 +date: 2021-11-20 +updated: 2021-11-20 +tags: + - mysql + - linux +categories: + - linux + - mysql +keywords: + - mysql + - linux +description: linux安装mysql +top_img: https://i.loli.net/2021/09/30/YJLqn57mAe6vRNo.jpg +comments: true +cover: https://i.loli.net/2021/09/30/YJLqn57mAe6vRNo.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# mysql安装 + +## 检查是否安装`mariadb` + +### 首先检查服务器是否安装过`mariadb` + +```shell +rpm -qa | grep mariadb +``` + +![](https://i.loli.net/2021/09/30/Hh2jMntbkuodJ3y.png) + +### 如果有类似,需要把他卸载 + +```shell +rpm -e --nodeps mariadb-libs-5.5.68-1.el7.x86_64 +``` + +### 安装mysql的依赖包libao + +```shell +yum install libaio +``` + +## 安装mysql + +### 下载mysql + +[mysql下载地址](https://dev.mysql.com/downloads/mysql/) + +下载此版本: + +![](https://i.loli.net/2021/09/30/hPl2pMgXrRstAOH.png) + +下载之后,上传至服务器 + +### 解压mysql + +解压 + +```shell +tar -zxvf mysql-8.0.26-el7-x86_64.tar.gz +``` + + 解压之后,把解压的文件夹移动到`/usr/local/mysql` + +```shell +mv mysql-8.0.26-el7-x86_64 /usr/local/mysql +``` + +### 创建data文件夹 + +进入mysql文件夹,创建data文件夹 + +```shell +cd /usr/local/mysql +mkdir data +``` + +### 创建mysql组:创建mysql用户,并设置密码。 + +```shell +useradd mysql +passwd mysql +``` + +### 将mysql目录的权限授给mysql用户和mysql组。 + +```shell +chown -R mysql:mysql /usr/local/mysql +``` + +### 赋予权限 + +```shell +chmod -R 777 /usr/local/mysql +chmod -R 777 /usr/local/mysql/data +``` + +### 创建my.cnf配置文件 + +```shell +touch /usr/local/mysql/my.cnf +``` + +### 编辑配置文件 + +```shell +vi my.cnf +``` + +`my.cnf`内容 + +```ini +[mysqld] +# 设置3306端口 +port=3306 +# 设置mysql的安装目录 +basedir=/usr/local/mysql +# 设置mysql数据库的数据的存放目录 +datadir=/usr/local/mysql/data +# 允许最大连接数 +max_connections=100 +# 允许连接失败的次数。这是为了防止有人从该主机试图攻击数据库系统 +max_connect_errors=10 +# 服务端使用的字符集默认为utf8mb4 +character-set-server=utf8mb4 +# 创建新表时将使用的默认存储引擎 +default-storage-engine=INNODB +# 默认使用“mysql_native_password”插件认证 +default_authentication_plugin=mysql_native_password +[mysql] +# 设置mysql客户端默认字符集 +default-character-set=utf8mb4 +[client] +# 设置mysql客户端连接服务端时默认使用的端口 +port=3306 +default-character-set=utf8mb4 +``` + +### 启动mysql + +执行命令,记住随机密码 + +```shell +cd /usr/local/mysql/bin +./mysqld --initialize --console +``` + +输入此命令后获取出现密码,在`root@localhost`的后面,把他记住,如下 + +![](https://i.loli.net/2021/09/30/Enl9C6bDp43fHM8.png) + +### 再赋予一次权限 + +因为初始了data文件夹中的文件,都还没有赋予权限 + +```shell +chmod -R 777 /usr/local/mysql +chmod -R 777 /usr/local/mysql/data +``` + +### 启动服务 + +进入mysql中的`support-files`文件夹,启动服务 + +```shell +cd /usr/local/mysql/support-files +./mysql.server start +``` + +### 将mysql加入系统进程中 + +```shell +cp mysql.server /etc/init.d/mysqld +# 重启 +service mysqld restart +``` + + + +## 连接mysql并设置密码 + +### 创建一个软连接到` /usr/bin` + +```shell +ln -s /usr/local/mysql/bin/mysql /usr/bin +``` + +### 连接mysql + +```shell +mysql -u root -p +``` + +![1634609326_1_.jpg](https://i.loli.net/2021/10/19/7GK6nyuU8ptmHeP.png) + +### 输入上面复制的密码 + +![](https://i.loli.net/2021/09/30/Enl9C6bDp43fHM8.png) + +### 修改密码 + +```sql +ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '新密码'; +``` + +### 设置允许远程登录 + +```sql +mysql> use mysql; +mysql> update user set user.Host='%' where user.User='root'; +# 应用配置 +mysql> flush privileges; +# 退出mysql +mysql> quit +``` + +### 重启mysql + +```shell +service mysqld restart +``` + +### 检查3306端口是否开放 + +```shell +firewall-cmd --zone=public --list-ports +``` + +### 开放3306端口 + +```shell +firewall-cmd --zone=public --add-port=3306/tcp --permanent +``` + +### 重启防火墙 + +```shell +firewall-cmd --reload +``` + +# 可能出现的错误 + +## 登录mysql的时候报错 + +`mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory` + +![](https://i.loli.net/2021/11/20/uVR8xj2YrTXpwPB.png) + +## 解决 + +### 安装`libncurses` + +``` +yum install libncurses* +``` + +### 重新登录即可 diff --git a/source/_posts/linux/nginx安装.md b/source/_posts/linux/nginx安装.md new file mode 100644 index 0000000..703c301 --- /dev/null +++ b/source/_posts/linux/nginx安装.md @@ -0,0 +1,67 @@ +--- +title: nginx安装 +date: 2021-11-21 +updated: 2021-11-21 +tags: + - nginx + - linux +categories: + - linux + - nginx +keywords: + - nginx + - linux +description: nginx安装 +top_img: https://i.loli.net/2021/11/21/wcEIMzN795yV1Uh.jpg +comments: true +cover: https://i.loli.net/2021/11/21/wcEIMzN795yV1Uh.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# nginx安装 + +## 下载nginx包 + +[下载地址](http://nginx.org/en/download.html) + +![nginx包](https://i.loli.net/2021/11/20/Nx27vqALlSJntOj.png) + +## 安装依赖 + +```shell +yum -y install gcc pcre-devel zlib-devel openssl openssl-devel +``` + +## 安装nginx + +```shell +# 解压 +tar -zxvf nginx-1.20.2.tar.gz +# 进入nginx文件夹 +cd nginx-1.20.2/ +# 配置 +./configure --prefix=/usr/local/nginx-1.20.2 +# make +make +make install +``` + +## 启动&停止 + +```shell +# 进入nginx安装目录 +cd /usr/local/nginx-1.20.2/ +# 启动 +./sbin/nginx +# 重启 +./sbin/nginx -s reload +# 停止 +./sbin/nginx -s stop +``` + + + diff --git a/source/_posts/linux/nodejs安装.md b/source/_posts/linux/nodejs安装.md new file mode 100644 index 0000000..7406a03 --- /dev/null +++ b/source/_posts/linux/nodejs安装.md @@ -0,0 +1,70 @@ +--- +title: nodejs安装 +date: 2021-11-21 +updated: 2021-11-21 +tags: + - nodejs + - linux +categories: nodejs +keywords: + - nodejs + - linux +description: nodejs安装 +top_img: https://i.loli.net/2021/11/20/aHCxPjiyETeSV7O.jpg +comments: true +cover: https://i.loli.net/2021/11/20/aHCxPjiyETeSV7O.jpg +copyright: true +copyright_author: xzh +copyright_author_href: http://xxzhx.cn +copyright_url: http://xxzhx.cn +copyright_info: 著作权归作者所有。商业转载请联络作者获得授权,非商业转载请注明出处。 +--- + +# nodejs安装 + +## 下载nodejs包 + +[下载地址](https://npm.taobao.org/mirrors/node/v16.13.0/) + +![nodejs包](https://i.loli.net/2021/11/20/14lJIDTwdvOqRPL.png) + +## 把nodejs包上传至服务器并解压 + +![上传到服务器](https://i.loli.net/2021/11/20/xGkCnuSm9wpMUy6.png) + +### 解压 + +```shell +tar -zxvf node-v16.13.0-linux-x64.tar.gz +``` + +#### 移动位置 + +```shell +mv node-v16.13.0-linux-x64/ /usr/local/node-v16.13.0 +``` + +## 配置环境变量 + +```shell +vim /etc/profile +``` + +### 在末尾加入配置 + +```js +# node环境变量 +export NODE_HOME=/usr/local/node-v16.13.0 +export PATH=$PATH:$NODE_HOME/bin +``` + +### 刷新配置 + +```shell +source /etc/profile +``` + +## 验证是否成功 + +![查看版本](https://i.loli.net/2021/11/20/XcVzbnlEu3oNxR9.png) + diff --git a/source/categories/index.md b/source/categories/index.md new file mode 100644 index 0000000..a3d0e2a --- /dev/null +++ b/source/categories/index.md @@ -0,0 +1,7 @@ +--- +title: 分类 +date: 2025-03-27 18:04:40 +aside: false +top_img: false +type: "categories" +--- \ No newline at end of file diff --git a/source/tags/index.md b/source/tags/index.md new file mode 100644 index 0000000..4b47ffe --- /dev/null +++ b/source/tags/index.md @@ -0,0 +1,7 @@ +--- +title: 标签 +date: 2025-03-27 18:04:17 +type: "tags" +comments: false +top_img: false +--- \ No newline at end of file