Skip to main content

Welcome

· One min read
Sébastien Lorber
Docusaurus maintainer
Yangshun Tay
Front End Engineer @ Facebook

Docusaurus blogging features are powered by the blog plugin.

Simply add Markdown files (or folders) to the blog directory.

Regular blog authors can be added to authors.yml.

The blog post date can be extracted from filenames, such as:

  • 2019-05-30-welcome.md
  • 2019-05-30-welcome/index.md

A blog post folder can be convenient to co-locate blog post images:

Docusaurus Plushie

The blog supports tags as well!

And if you don't want a blog: just delete this directory, and use blog: false in your Docusaurus config.

系统语言安装中文

· One min read
door
运维C

locale 查看当前系统语言

locale e 查看当前系统安装的语言

修改为中文 方案1

vim /etc/locale.conf
写入中文
LANG=zh_CN.utf8

方案二

localectl set-locale LANG=zh_CN.utf8

安装中文帮助文档

yum install man-pages-zh-CN.noarch

编辑并添加manc命令 vim .bashrc alias manc='man -M /usr/share/man/zh_CN'

source .bashrc

查看效果 使用 manc ls

解释:man -M 路径 定义一组查找man手册页的目录。如果没有指定此参数,系统环境变量 MANPATH将使用。 如果查无到此环境变量,则按默认 /etc/man.config 文件中指定的查找。一个空的 MANPATH 子字 符串表示使用默认清单。