just push

This commit is contained in:
dichgrem 2024-10-04 13:33:27 +08:00
parent 520a985c85
commit 9472d1dd19
78 changed files with 875 additions and 460 deletions

124
content/windows-SDE.md Normal file
View File

@ -0,0 +1,124 @@
+++
title = "乱七八糟:Windows开发环境搭建"
date = 2024-10-04
[taxonomies]
tags = ["乱七八糟"]
+++
前言 刚刚拿到windows的小伙伴可能对开发环境比较陌生这里对常用的开发环境设置进行总结。
<!-- more -->
首先我们默认windows版本为win11 23H2 专业工作站版,可以查看[上一期博客](https://blog.dich.bid/windows-optimization/).
## 搭建WSL环境
适用于 Linux 的 Windows 子系统 (WSL) 可让开发人员直接在 Windows 上按原样运行 GNU/Linux 环境,例如 Ubuntu、OpenSUSE、Kali、Debian、Arch Linux 等,并直接在 Windows 上使用 Linux 应用程序、实用程序和 Bash 命令行工具,不用进行任何修改,也无需承担传统虚拟机或双启动设置的开销。
首先,我们需要在``控制面板->程序->启用或关闭Windows功能``选中适用于Linux的Windows子系统和虚拟机平台容器以及hyper-v待安装完成后重启电脑。
然后,在``管理员模式下打开 PowerShell 或 Windows 命令提示符``,方法是右键单击并选择“以管理员身份运行”,输入以下命令,然后重启计算机。
```
wsl --install
```
此命令将启用运行 WSL 并安装 Linux 的 Ubuntu 发行版所需的功能。(可以更改此默认发行版)。
### 一些其他命令
**列出可用的 Linux 发行版**
```
wsl --list --online
```
**列出已安装的 Linux 发行版**
```
wsl --list --verbose
```
**更新 WSL**
```
wsl --update
```
**检查 WSL 状态**
```
wsl --status
```
**关闭**
```
wsl --shutdown
```
立即终止所有正在运行的发行版和 WSL 2 轻量级实用工具虚拟机。 在需要重启 WSL 2 虚拟机环境的情形下,例如更改内存使用限制或更改 .wslconfig 文件,可能必须使用此命令。
**导出分发版**
```
wsl --export <Distribution Name> <FileName>
```
将指定分发版的快照导出为新的分发文件。 默认为 tar 格式。 在标准输入中,文件名可以是 -。 选项包括:
--vhd指定导出分发版应为 .vhdx 文件而不是 tar 文件(这仅在使用 WSL 2 的情况下受支持)
**导入分发版**
```
wsl --import <Distribution Name> <InstallLocation> <FileName>
```
导入指定的 tar 文件作为新的分发版。 在标准输入中,文件名可以是 -。 选项包括:
--vhd指定导入分发版应为 .vhdx 文件而不是 tar 文件(这仅在使用 WSL 2 的情况下受支持)
--version <1/2>:指定将分发版导入为 WSL 1 还是 WSL 2 分发版
## 搭建虚拟机环境
这里以 VMware Workstation Pro v17.6.0 为例该软件支持安装包括windows/linux/macos等多种虚拟机。
首先下载 [Vmware](https://www.423down.com/14542.html),随后安装并[激活](https://www.ypojie.com/6066.html),然后提前下载好所需系统的镜像,这里推荐[整合镜像站](https://help.mirrorz.org/)并在Vmware中启动。
## 搭建Docker
在 Windows 上部署 Docker 的方法是先安装一个虚拟机,并在安装 Linux 系统的的虚拟机中运行 Docker。
我们需要先开启 Hyper-V 方法和搭建WSL一样 也可以通过命令来启用 Hyper-V ,请右键开始菜单并以管理员身份运行 PowerShell执行以下命令
```
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
```
然后安装Docker这里提供了一个图形安装界面[Docker Desktop](https://docs.docker.com/desktop/install/windows-install/)
安装时如果你想使用WSL作为后端则可以勾选 ``Use WSL2 instead of Hyper-V``随后可以登录docker账号并换源等等。
## 使用UniGetUI管理软件包
众所周知windows下包管理向来是个老大难问题各个软件包来源分散难以统一更新环境部署的包比较复杂这里推荐使用[UniGetUI](https://github.com/marticliment/UniGetUI)来统一管理。原名wingetUI
- WingetUI 能够安装、更新和卸载 Winget包括 Microsoft Store、Scoop、Chocolatey、pip、npm 和 .NET Tool 中的软件包。
- WingetUI 还会检测您手动安装的应用程序是否可以更新!
它还可以升级和卸载以前安装的软件包 - 以及卸载内置的Windows应用程序
- WingetUI 能够导入和导出您选择的软件包,以便您将来可以轻松安装它们。
- WingetUI 能够在安装前显示软件包相关信息如许可证、SHA256 哈希值、主页等)。
- 有超过 14000 个可用软件包(如果启用 Winget、Scoop 和 Chocolatey
## 使用IDE和代码编辑器
[Jetbrains](https://www.jetbrains.com.cn/ides/#choose-your-ide)向来是IDE中最知名的一款功能丰富界面美观并具有多种语言支持
[Visual Studio](https://visualstudio.microsoft.com/zh-hans/)VS是一个基本完整的开发工具集它包括了整个软件生命周期中所需要的大部分工具如UML工具、代码管控工具、集成开发环境(IDE)等等,可完美支持 C#、C++、Python、JavaScript、Node.js、Visual Basic、HTML 等流行的编程语言。
[VS Codium](https://github.com/VSCodium/vscodium)Visual Studio Code也称为VS Code是一款支持LinuxWindows和macOS的代码编辑器。它既能编辑简单文本也能像集成开发环境IDE一样管理整个代码库。它还可以通过插件进行扩展被广泛认为是一个可靠的文本编辑器轻松打败其他编辑器,而VS Codium是一款开源的Vscode去除了Trakcer和远程报告功能和可能侵犯你隐私的功能。
## 使用终端工具
在开发的时候我们常常遇到需要打开多个终端的情景那么有没有一款工具可以将SSH/WSL/telnet/SFTP/串口通信一网打尽呢?
[MobaXterm](https://mobaxterm.mobatek.net/download.html)一款功能极其强大的远程连接工具支持SSH、X11转发、串口通信等多种连接方式。它不仅可以用于远程连接Linux服务器还可以模拟多个终端实现多任务并行操作。此外MobaXterm还提供了文件上传下载、终端模拟等实用功能。
[electerm](https://github.com/electerm/electerm)一款开源跨平台的SSH桌面终端管理软件中文版Electerm 支持全平台 Linuxmacwin它还可以帮助用户将其所有书签主题和快速命令同步到 GitHub secret gist它支持用户使用其文件管理器编辑远程文件执行各种与终端相关的文件同时还支持 SSH 和 SFTP 网络协议。

View File

@ -82,6 +82,16 @@
<ul><li class="post-list"> <ul><li class="post-list">
<a href="https://blog.dich.bid/windows-sde/">
<span class="post-date">2024-10-04</span>
:: <span class="post-list-title">乱七八糟:Windows开发环境搭建</span></a>
<span class="post-tags-inline">
::
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
</li>
<li class="post-list">
<a href="https://blog.dich.bid/zhoubao-16/"> <a href="https://blog.dich.bid/zhoubao-16/">
<span class="post-date">2024-09-28</span> <span class="post-date">2024-09-28</span>
:: <span class="post-list-title">谈天说地:狄奇周刊(十六)</span></a> :: <span class="post-list-title">谈天说地:狄奇周刊(十六)</span></a>

View File

@ -5,8 +5,28 @@
<link rel="self" type="application/atom+xml" href="https://blog.dich.bid/atom.xml"/> <link rel="self" type="application/atom+xml" href="https://blog.dich.bid/atom.xml"/>
<link rel="alternate" type="text/html" href="https://blog.dich.bid"/> <link rel="alternate" type="text/html" href="https://blog.dich.bid"/>
<generator uri="https://www.getzola.org/">Zola</generator> <generator uri="https://www.getzola.org/">Zola</generator>
<updated>2024-09-28T00:00:00+00:00</updated> <updated>2024-10-04T00:00:00+00:00</updated>
<id>https://blog.dich.bid/atom.xml</id> <id>https://blog.dich.bid/atom.xml</id>
<entry xml:lang="en">
<title>乱七八糟:Windows开发环境搭建</title>
<published>2024-10-04T00:00:00+00:00</published>
<updated>2024-10-04T00:00:00+00:00</updated>
<author>
<name>
Unknown
</name>
</author>
<link rel="alternate" type="text/html" href="https://blog.dich.bid/windows-sde/"/>
<id>https://blog.dich.bid/windows-sde/</id>
<summary type="html">&lt;p&gt;前言 刚刚拿到windows的小伙伴可能对开发环境比较陌生这里对常用的开发环境设置进行总结。&lt;&#x2F;p&gt;
</summary>
</entry>
<entry xml:lang="en"> <entry xml:lang="en">
<title>谈天说地:狄奇周刊(十六)</title> <title>谈天说地:狄奇周刊(十六)</title>
<published>2024-09-28T00:00:00+00:00</published> <published>2024-09-28T00:00:00+00:00</published>

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/windows-sde/">乱七八糟:Windows开发环境搭建</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-10-04
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 刚刚拿到windows的小伙伴可能对开发环境比较陌生这里对常用的开发环境设置进行总结。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/windows-sde/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-16/">谈天说地:狄奇周刊(十六)</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-16/">谈天说地:狄奇周刊(十六)</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-13/">谈天说地:狄奇周刊(十三)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-09-07
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/tan-tian-shuo-di/">#谈天说地</a></span>
<div class="post-content">
<p>前言 这里是Dich的周刊,通过博客的形式讲述每周互联网形势,以及分享一些文章。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/zhoubao-13/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/network-download-1/">Network的艺术:下载技术的历史</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-02-09
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/wang-luo-yi-shu/">#网络艺术</a></span>
<div class="post-content">
<p>前言 下载就是将我们所需要的文件数据通过网络从拥有该文件资源的计算机上传输过来并保存到我们的计算机上供我们使用。本系列将详细讲述各种常见网络下载技术的原理包括HTTP,FTP,BT等等。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/network-download-1/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/chatogpt/">乱七八糟:如何高效地向 ChatGPT 提问</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/chatogpt/">乱七八糟:如何高效地向 ChatGPT 提问</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zola-blog/">乱七八糟:个人博客搭建</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-10-12
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 个人博客的搭建有诸多框架的选择。本文以Zola框架为例介绍如何部署该静态站点并将其托管到Paas平台上。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/zola-blog/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zola-blog/">乱七八糟:个人博客搭建</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-10-12
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 个人博客的搭建有诸多框架的选择。本文以Zola框架为例介绍如何部署该静态站点并将其托管到Paas平台上。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/zola-blog/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/mechrev-keyboard/">乱七八糟:机械革命键盘失灵拯救记</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/mechrev-keyboard/">乱七八糟:机械革命键盘失灵拯救记</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/kgnl/">乱七八糟:快过年了笑话大全</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-08-23
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 快过年了系列笑话常常于过年期间在各大平台传播反应了各技术人士的爱好与工作。本文收集了24个该系列的笑话欢迎补充。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/kgnl/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/kgnl/">乱七八糟:快过年了笑话大全</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-08-23
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 快过年了系列笑话常常于过年期间在各大平台传播反应了各技术人士的爱好与工作。本文收集了24个该系列的笑话欢迎补充。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/kgnl/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/awesome-win-linux/">综合工程:Win&#x2F;linux双系统部署</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/awesome-win-linux/">综合工程:Win&#x2F;linux双系统部署</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -212,40 +246,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/awesome-android-tv/">综合工程:Android TV 折腾小记</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-08-14
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/zong-he-gong-cheng/">#综合工程</a></span>
<div class="post-content">
<p>前言 由于 AppleTV 的高昂的售价和普通电视盒子广告的泛滥,一台开源、多功能的原生安卓电视盒子逐渐成为智能家居的必备神器。出于对 IPTV、YouTube 和家庭影院等需求,以及对一面赏心悦目电视墙的期待,这里分享 Android TV 以下简称ATV安装的一些要点。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/awesome-android-tv/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/awesome-android-tv/">综合工程:Android TV 折腾小记</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-08-14
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/zong-he-gong-cheng/">#综合工程</a></span>
<div class="post-content">
<p>前言 由于 AppleTV 的高昂的售价和普通电视盒子广告的泛滥,一台开源、多功能的原生安卓电视盒子逐渐成为智能家居的必备神器。出于对 IPTV、YouTube 和家庭影院等需求,以及对一面赏心悦目电视墙的期待,这里分享 Android TV 以下简称ATV安装的一些要点。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/awesome-android-tv/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/awesome-android-root/">综合工程:安卓刷机与root教程</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/awesome-android-root/">综合工程:安卓刷机与root教程</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/linux-for-pc-5/">Linux-For-PC(五):BIOS-UEFI-MBR-GPT-GRUB</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-07-24
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/linux/">#Linux</a></span>
<div class="post-content">
<p>前言 在计算机领域系统引导和磁盘分区是至关重要的。本文将介绍BIOS与UEFIMBR与GPT以及它们之间的异同点。此外我们还会讨论与这些概念密切相关的引导加载程序——GRUB。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/linux-for-pc-5/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/linux-for-pc-5/">Linux-For-PC(五):BIOS-UEFI-MBR-GPT-GRUB</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-07-24
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/linux/">#Linux</a></span>
<div class="post-content">
<p>前言 在计算机领域系统引导和磁盘分区是至关重要的。本文将介绍BIOS与UEFIMBR与GPT以及它们之间的异同点。此外我们还会讨论与这些概念密切相关的引导加载程序——GRUB。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/linux-for-pc-5/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/linux-for-pc-4/">Linux-For-PC(四):TerminalConsole and Shell</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/linux-for-pc-4/">Linux-For-PC(四):TerminalConsole and Shell</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-13/">谈天说地:狄奇周刊(十三)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-09-07
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/tan-tian-shuo-di/">#谈天说地</a></span>
<div class="post-content">
<p>前言 这里是Dich的周刊,通过博客的形式讲述每周互联网形势,以及分享一些文章。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/zhoubao-13/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-12/">谈天说地:狄奇周刊(十二)</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-12/">谈天说地:狄奇周刊(十二)</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-8/">谈天说地:狄奇周刊(八)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-08-03
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/tan-tian-shuo-di/">#谈天说地</a></span>
<div class="post-content">
<p>前言 这里是Dich的周刊,通过博客的形式讲述每周互联网形势,以及分享一些文章。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/zhoubao-8/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-8/">谈天说地:狄奇周刊(八)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-08-03
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/tan-tian-shuo-di/">#谈天说地</a></span>
<div class="post-content">
<p>前言 这里是Dich的周刊,通过博客的形式讲述每周互联网形势,以及分享一些文章。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/zhoubao-8/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-7/">谈天说地:狄奇周刊(七)</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-7/">谈天说地:狄奇周刊(七)</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-3/">谈天说地:狄奇周刊(三)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-06-26
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/tan-tian-shuo-di/">#谈天说地</a></span>
<div class="post-content">
<p>前言 这里是Dich的周刊,通过博客的形式讲述每周互联网形势,以及分享一些文章,这周三提前一天更新.</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/zhoubao-3/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-3/">谈天说地:狄奇周刊(三)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-06-26
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/tan-tian-shuo-di/">#谈天说地</a></span>
<div class="post-content">
<p>前言 这里是Dich的周刊,通过博客的形式讲述每周互联网形势,以及分享一些文章,这周三提前一天更新.</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/zhoubao-3/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-2/">谈天说地:狄奇周刊(二)</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/zhoubao-2/">谈天说地:狄奇周刊(二)</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/about-g/">乱七八糟:PTA编译命令解析</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-06-02
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 编译器是软件开发中至关重要的工具之一它负责将源代码转换为可执行程序使得我们编写的代码能够在计算机上运行并实现预期的功能。在C++开发中GNU C++编译器g++)是最常用的编译器之一.本文将详细介绍PTA预设命令中各个参数和选项以及它们的作用和用法。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/about-g/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/about-g/">乱七八糟:PTA编译命令解析</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-06-02
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 编译器是软件开发中至关重要的工具之一它负责将源代码转换为可执行程序使得我们编写的代码能够在计算机上运行并实现预期的功能。在C++开发中GNU C++编译器g++)是最常用的编译器之一.本文将详细介绍PTA预设命令中各个参数和选项以及它们的作用和用法。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/about-g/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/about-bilibili/">乱七八糟:B站优质视频:计算机科学</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/about-bilibili/">乱七八糟:B站优质视频:计算机科学</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/docker-learn-9/">Docker学习笔记(九)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-04-02
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/xue-xi-bi-ji/">#学习笔记</a></span>
<div class="post-content">
<p>前言 Docker CLI命令行界面是一个强大的工具允许您与 Docker 容器、映像、卷和网络进行交互和管理。它为用户提供了广泛的命令,用于在开发和生产工作流中创建、运行和管理 Docker 容器和其他 Docker 资源。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/docker-learn-9/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/docker-learn-9/">Docker学习笔记(九)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-04-02
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/xue-xi-bi-ji/">#学习笔记</a></span>
<div class="post-content">
<p>前言 Docker CLI命令行界面是一个强大的工具允许您与 Docker 容器、映像、卷和网络进行交互和管理。它为用户提供了广泛的命令,用于在开发和生产工作流中创建、运行和管理 Docker 容器和其他 Docker 资源。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/docker-learn-9/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/docker-learn-8/">Docker学习笔记(八)</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/docker-learn-8/">Docker学习笔记(八)</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/docker-learn-4/">Docker学习笔记(四)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-03-28
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/xue-xi-bi-ji/">#学习笔记</a></span>
<div class="post-content">
<p>前言 Docker 使您能够运行与主机操作系统分离的隔离代码段包括应用程序及其依赖项的容器。默认情况下容器是临时的这意味着容器中存储的任何数据一旦终止就会丢失。为了克服这个问题并跨容器生命周期保留数据Docker 提供了多种数据持久化方法。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/docker-learn-4/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/docker-learn-4/">Docker学习笔记(四)</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-03-28
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/xue-xi-bi-ji/">#学习笔记</a></span>
<div class="post-content">
<p>前言 Docker 使您能够运行与主机操作系统分离的隔离代码段包括应用程序及其依赖项的容器。默认情况下容器是临时的这意味着容器中存储的任何数据一旦终止就会丢失。为了克服这个问题并跨容器生命周期保留数据Docker 提供了多种数据持久化方法。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/docker-learn-4/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/docker-learn-3/">Docker学习笔记(三)</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/docker-learn-3/">Docker学习笔记(三)</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/rss-read/">搭建个人信息流:RSS阅读指南</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-03-05
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 RSS 提供了一种数据格式,以 XML可扩展标记语言的形式组织信息包括文章标题、摘要、链接和发布日期等。这些信息形成了所谓的“订阅源”Feed用户可以使用RSS阅读器Feed Reader来订阅这些源。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/rss-read/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/rss-read/">搭建个人信息流:RSS阅读指南</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-03-05
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 RSS 提供了一种数据格式,以 XML可扩展标记语言的形式组织信息包括文章标题、摘要、链接和发布日期等。这些信息形成了所谓的“订阅源”Feed用户可以使用RSS阅读器Feed Reader来订阅这些源。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/rss-read/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/open-source-software/">开源世界:常用跨平台开源软件</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/open-source-software/">开源世界:常用跨平台开源软件</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/how-email-works-2/">电子邮件是如何工作的:POP3&#x2F;IMAP&#x2F;SMTP</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-02-21
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 POP3、IMAP 和 SMTP 是用于电子邮件传输的常见协议和服务,这些协议共同构成了电子邮件系统的基础,允许用户接收、发送和管理电子邮件。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/how-email-works-2/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -79,6 +79,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/how-email-works-2/">电子邮件是如何工作的:POP3&#x2F;IMAP&#x2F;SMTP</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-02-21
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 POP3、IMAP 和 SMTP 是用于电子邮件传输的常见协议和服务,这些协议共同构成了电子邮件系统的基础,允许用户接收、发送和管理电子邮件。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/how-email-works-2/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/how-email-works-1/">电子邮件是如何工作的:SPF&#x2F;DKIM&#x2F;DMARC</a></h1> <h1 class="post-title"><a href="https://blog.dich.bid/how-email-works-1/">电子邮件是如何工作的:SPF&#x2F;DKIM&#x2F;DMARC</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -211,40 +245,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.bid/network-download-1/">Network的艺术:下载技术的历史</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-02-09
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/wang-luo-yi-shu/">#网络艺术</a></span>
<div class="post-content">
<p>前言 下载就是将我们所需要的文件数据通过网络从拥有该文件资源的计算机上传输过来并保存到我们的计算机上供我们使用。本系列将详细讲述各种常见网络下载技术的原理包括HTTP,FTP,BT等等。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.bid/network-download-1/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
{"version":"1.1.1","languages":{"en":{"hash":"en_90a827c784","wasm":"en","page_count":102}}} {"version":"1.1.1","languages":{"en":{"hash":"en_73f0798c6b","wasm":"en","page_count":103}}}

Binary file not shown.

View File

@ -303,6 +303,10 @@
<loc>https://blog.dich.bid/windows-optimization/</loc> <loc>https://blog.dich.bid/windows-optimization/</loc>
<lastmod>2024-05-26</lastmod> <lastmod>2024-05-26</lastmod>
</url> </url>
<url>
<loc>https://blog.dich.bid/windows-sde/</loc>
<lastmod>2024-10-04</lastmod>
</url>
<url> <url>
<loc>https://blog.dich.bid/windows-some-setting/</loc> <loc>https://blog.dich.bid/windows-some-setting/</loc>
<lastmod>2023-08-26</lastmod> <lastmod>2023-08-26</lastmod>

View File

@ -97,7 +97,7 @@
<li class="tag-list"> <li class="tag-list">
<a href="https://blog.dich.bid/tags/luan-qi-ba-zao/"> <a href="https://blog.dich.bid/tags/luan-qi-ba-zao/">
乱七八糟 (21 posts) 乱七八糟 (22 posts)
</a> </a>
</li> </li>

View File

@ -82,7 +82,7 @@ Dich&#x27;blog</title>
<div class="post"> <div class="post">
<h1 class="post-title"> <h1 class="post-title">
tag: #乱七八糟 tag: #乱七八糟
(21 posts) (22 posts)
</h1> </h1>
<a href="https://blog.dich.bid/tags"> <a href="https://blog.dich.bid/tags">
@ -91,6 +91,16 @@ Dich&#x27;blog</title>
<ul><li class="post-list"> <ul><li class="post-list">
<a href="https://blog.dich.bid/windows-sde/">
<span class="post-date">2024-10-04</span>
:: <span class="post-list-title">乱七八糟:Windows开发环境搭建</span></a>
<span class="post-tags-inline">
::
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
</li>
<li class="post-list">
<a href="https://blog.dich.bid/about-runer-2/"> <a href="https://blog.dich.bid/about-runer-2/">
<span class="post-date">2024-06-11</span> <span class="post-date">2024-06-11</span>
:: <span class="post-list-title">乱七八糟:跑步笔记(二)</span></a> :: <span class="post-list-title">乱七八糟:跑步笔记(二)</span></a>

View File

@ -0,0 +1,206 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dich&#x27;blog</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="robots" content="noodp"/>
<link rel="stylesheet" href="https://blog.dich.bid/style.css">
<link rel="stylesheet" href="https://blog.dich.bid/color/blue.css">
<link rel="stylesheet" href="https://blog.dich.bid/color/background_dark.css">
<link rel="stylesheet" href="https://blog.dich.bid/font-hack-subset.css">
<meta name="description" content="">
<meta property="og:description" content="">
<meta property="og:title" content="Dich'blog">
<meta property="og:type" content="article">
<meta property="og:url" content="https://blog.dich.bid/windows-sde/">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="">
<meta name="twitter:title" content="Dich'blog">
<meta property="twitter:domain" content="blog.dich.bid">
<meta property="twitter:url" content="https://blog.dich.bid/windows-sde/">
<link rel="alternate" type="application/atom+xml" title="Dich&#x27;blog Atom Feed" href="https://blog.dich.bid/atom.xml" />
</head>
<body class="">
<div class="container">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="https://blog.dich.bid" style="text-decoration: none;">
<div class="logo">
Dich&#x27;blog
</div>
</a>
</div>
</div>
<nav class="menu">
<ul class="menu__inner">
<li class="active"><a href="https://blog.dich.bid">blog</a></li>
<li><a href="https://blog.dich.bid/tags">tags</a></li>
<li><a href="https://blog.dich.bid/archive">archive</a></li>
<li><a href="https://blog.dich.bid/about">about me</a></li>
<li><a href="https://blog.dich.bid/links">links</a></li>
<li><a href="https://blog.dich.bid/search">search</a></li>
<li><a href="https://github.com/Dichgrem" target="_blank" rel="noopener noreferrer">github</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="post">
<h1 class="post-title"><a href="https://blog.dich.bid/windows-sde/">乱七八糟:Windows开发环境搭建</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-10-04
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/luan-qi-ba-zao/">#乱七八糟</a></span>
<div class="post-content">
<p>前言 刚刚拿到windows的小伙伴可能对开发环境比较陌生这里对常用的开发环境设置进行总结。</p>
<span id="continue-reading"></span>
<p>首先我们默认windows版本为win11 23H2 专业工作站版,可以查看<a href="https://blog.dich.bid/windows-optimization/">上一期博客</a>.</p>
<h2 id="da-jian-wslhuan-jing">搭建WSL环境</h2>
<p>适用于 Linux 的 Windows 子系统 (WSL) 可让开发人员直接在 Windows 上按原样运行 GNU/Linux 环境,例如 Ubuntu、OpenSUSE、Kali、Debian、Arch Linux 等,并直接在 Windows 上使用 Linux 应用程序、实用程序和 Bash 命令行工具,不用进行任何修改,也无需承担传统虚拟机或双启动设置的开销。</p>
<p>首先,我们需要在<code>控制面板-&gt;程序-&gt;启用或关闭Windows功能</code>选中适用于Linux的Windows子系统和虚拟机平台容器以及hyper-v待安装完成后重启电脑。</p>
<p>然后,在<code>管理员模式下打开 PowerShell 或 Windows 命令提示符</code>,方法是右键单击并选择“以管理员身份运行”,输入以下命令,然后重启计算机。</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wsl --install
</span></code></pre>
<p>此命令将启用运行 WSL 并安装 Linux 的 Ubuntu 发行版所需的功能。(可以更改此默认发行版)。</p>
<h3 id="yi-xie-qi-ta-ming-ling">一些其他命令</h3>
<p><strong>列出可用的 Linux 发行版</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wsl --list --online
</span></code></pre>
<p><strong>列出已安装的 Linux 发行版</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wsl --list --verbose
</span></code></pre>
<p><strong>更新 WSL</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wsl --update
</span></code></pre>
<p><strong>检查 WSL 状态</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wsl --status
</span></code></pre>
<p><strong>关闭</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wsl --shutdown
</span></code></pre>
<p>立即终止所有正在运行的发行版和 WSL 2 轻量级实用工具虚拟机。 在需要重启 WSL 2 虚拟机环境的情形下,例如更改内存使用限制或更改 .wslconfig 文件,可能必须使用此命令。</p>
<p><strong>导出分发版</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wsl --export &lt;Distribution Name&gt; &lt;FileName&gt;
</span></code></pre>
<p>将指定分发版的快照导出为新的分发文件。 默认为 tar 格式。 在标准输入中,文件名可以是 -。 选项包括:</p>
<p>--vhd指定导出分发版应为 .vhdx 文件而不是 tar 文件(这仅在使用 WSL 2 的情况下受支持)</p>
<p><strong>导入分发版</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wsl --import &lt;Distribution Name&gt; &lt;InstallLocation&gt; &lt;FileName&gt;
</span></code></pre>
<p>导入指定的 tar 文件作为新的分发版。 在标准输入中,文件名可以是 -。 选项包括:</p>
<p>--vhd指定导入分发版应为 .vhdx 文件而不是 tar 文件(这仅在使用 WSL 2 的情况下受支持)
--version &lt;1/2&gt;:指定将分发版导入为 WSL 1 还是 WSL 2 分发版</p>
<h2 id="da-jian-xu-ni-ji-huan-jing">搭建虚拟机环境</h2>
<p>这里以 VMware Workstation Pro v17.6.0 为例该软件支持安装包括windows/linux/macos等多种虚拟机。</p>
<p>首先下载 <a href="https://www.423down.com/14542.html">Vmware</a>,随后安装并<a href="https://www.ypojie.com/6066.html">激活</a>,然后提前下载好所需系统的镜像,这里推荐<a href="https://help.mirrorz.org/">整合镜像站</a>并在Vmware中启动。</p>
<h2 id="da-jian-docker">搭建Docker</h2>
<p>在 Windows 上部署 Docker 的方法是先安装一个虚拟机,并在安装 Linux 系统的的虚拟机中运行 Docker。</p>
<p>我们需要先开启 Hyper-V 方法和搭建WSL一样 也可以通过命令来启用 Hyper-V ,请右键开始菜单并以管理员身份运行 PowerShell执行以下命令</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
</span></code></pre>
<p>然后安装Docker这里提供了一个图形安装界面<a href="https://docs.docker.com/desktop/install/windows-install/">Docker Desktop</a></p>
<p>安装时如果你想使用WSL作为后端则可以勾选 <code>Use WSL2 instead of Hyper-V</code>随后可以登录docker账号并换源等等。</p>
<h2 id="shi-yong-unigetuiguan-li-ruan-jian-bao">使用UniGetUI管理软件包</h2>
<p>众所周知windows下包管理向来是个老大难问题各个软件包来源分散难以统一更新环境部署的包比较复杂这里推荐使用<a href="https://github.com/marticliment/UniGetUI">UniGetUI</a>来统一管理。原名wingetUI</p>
<ul>
<li>WingetUI 能够安装、更新和卸载 Winget包括 Microsoft Store、Scoop、Chocolatey、pip、npm 和 .NET Tool 中的软件包。</li>
<li>WingetUI 还会检测您手动安装的应用程序是否可以更新!
它还可以升级和卸载以前安装的软件包 - 以及卸载内置的Windows应用程序</li>
<li>WingetUI 能够导入和导出您选择的软件包,以便您将来可以轻松安装它们。</li>
<li>WingetUI 能够在安装前显示软件包相关信息如许可证、SHA256 哈希值、主页等)。</li>
<li>有超过 14000 个可用软件包(如果启用 Winget、Scoop 和 Chocolatey</li>
</ul>
<h2 id="shi-yong-idehe-dai-ma-bian-ji-qi">使用IDE和代码编辑器</h2>
<p><a href="https://www.jetbrains.com.cn/ides/#choose-your-ide">Jetbrains</a>向来是IDE中最知名的一款功能丰富界面美观并具有多种语言支持</p>
<p><a href="https://visualstudio.microsoft.com/zh-hans/">Visual Studio</a>VS是一个基本完整的开发工具集它包括了整个软件生命周期中所需要的大部分工具如UML工具、代码管控工具、集成开发环境(IDE)等等,可完美支持 C#、C++、Python、JavaScript、Node.js、Visual Basic、HTML 等流行的编程语言。</p>
<p><a href="https://github.com/VSCodium/vscodium">VS Codium</a>Visual Studio Code也称为VS Code是一款支持LinuxWindows和macOS的代码编辑器。它既能编辑简单文本也能像集成开发环境IDE一样管理整个代码库。它还可以通过插件进行扩展被广泛认为是一个可靠的文本编辑器轻松打败其他编辑器,而VS Codium是一款开源的Vscode去除了Trakcer和远程报告功能和可能侵犯你隐私的功能。</p>
<h2 id="shi-yong-zhong-duan-gong-ju">使用终端工具</h2>
<p>在开发的时候我们常常遇到需要打开多个终端的情景那么有没有一款工具可以将SSH/WSL/telnet/SFTP/串口通信一网打尽呢?</p>
<p><a href="https://mobaxterm.mobatek.net/download.html">MobaXterm</a>一款功能极其强大的远程连接工具支持SSH、X11转发、串口通信等多种连接方式。它不仅可以用于远程连接Linux服务器还可以模拟多个终端实现多任务并行操作。此外MobaXterm还提供了文件上传下载、终端模拟等实用功能。</p>
<p><a href="https://github.com/electerm/electerm">electerm</a>一款开源跨平台的SSH桌面终端管理软件中文版Electerm 支持全平台 Linuxmacwin它还可以帮助用户将其所有书签主题和快速命令同步到 GitHub secret gist它支持用户使用其文件管理器编辑远程文件执行各种与终端相关的文件同时还支持 SSH 和 SFTP 网络协议。</p>
</div>
<div class="pagination">
<div class="pagination__title">
<span class="pagination__title-h">Thanks for reading! Read other posts?</span>
<hr />
</div>
<div class="pagination__buttons">
<span class="button previous">
<a href="https://blog.dich.bid/zhoubao-16/">
<span class="button__icon"></span>&nbsp;
<span class="button__text">谈天说地:狄奇周刊(十六)</span>
</a>
</span>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright">
<span>©
2024
Dichgrem</span>
<span class="copyright-theme">
<span class="copyright-theme-sep">:: </span>
Theme: <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal</a> by pawroman
</span>
</div>
</div>
</footer>
</div>
</body>
</html>

View File

@ -141,6 +141,13 @@
</a> </a>
</span> </span>
<span class="button next">
<a href="https://blog.dich.bid/windows-sde/">
<span class="button__text">乱七八糟:Windows开发环境搭建</span>&nbsp;
<span class="button__icon"></span>
</a>
</span>
</div> </div>
</div> </div>