墨晓云

云端咖啡猫

Linux 搭建 dotnet sdk 环境

  1. 微软官网下载相应的版本,dotnet-sdk-5.0.102-linux-x64.tar.gz
    选择x64下载
  2. 创建指定的目录 /root/opt/dotnet,并解压到指定的目录 /root/opt/dotnet
1
mkdir -p /root/opt/dotnet && tar zxf dotnet-sdk-5.0.102-linux-x64.tar.gz -C /root/opt/dotnet
  1. 配置 dotnet 环境变量
1
ln -s /root/opt/dotnet/dotnet /usr/bin/dotnet
  1. 查看 dotnet
1
dotnet --info
阅读全文 »

hexo 创建分类和标签

hexo 添加分类页面

  1. 命令如下:
1
hexo new page categories
  1. 编辑分类页面
1
2
3
4
5
---
title: 分类
type: categories
comments: false
---

注意:如果启用评论,页面默认会带评论。需要关闭,则设置 comments 为 false。

阅读全文 »
0%