在CentOS/RHEL 7中,关于主机名的配置。
Linux-firewall-cmd
firewalld简介
Redhat Enterprise Linux7开始默认使用firewalld作为防火墙,基于iptables的防火墙被默认不启动,但仍然保留下来。
The dynamic firewall daemon firewalld provides a dynamically managed firewall with support for network “zones” to assign a level of trust to a network and its associated connections and interfaces. It has support for IPv4 and IPv6 firewall settings. It supports Ethernet bridges and has a separation of runtime and permanent configuration options. It also has an interface for services or applications to add firewall rules directly.
The configuration for firewalld is stored in various XML files in /usr/lib/firewalld/ and /etc/firewalld/. This allows a great deal of flexibility as the files can be edited, written to, backed up, used as templates for other installations and so on.
Other applications can communicate with firewalld using D-bus.
Hexo部署静态博客
什么是 Hexo
Hexo 是一个快速、简洁且高效的博客框架。Hexo 使用 Markdown(或其他渲染引擎)解析文章,在几秒内,即可利用靓丽的主题生成静态网页。本文主要内容来源官网:https://hexo.io/zh-cn/docs/。