Hexo 因 themes/next 文件夹存在 .git 而无法提交的解决方法
问题原因
无法提交根本原因是next主题也是一个repo。
解决方法
1、剪切 themes/next/.git 文件夹到其他处
$ mv themes/next/.git ~/otherpath 无法提交根本原因是next主题也是一个repo。
1、剪切 themes/next/.git 文件夹到其他处
$ mv themes/next/.git ~/otherpath ERROR: Cannot find the fakeroot binary required for building as non-root user.
ERROR: Cannot find the strip binary required for object file stripping.
访问 https://www.ipaddress.com/ 查询下面三个域名的 IP 节点
github.com
github.global.ssl.fastly.net
codeload.github.com
首先通过命令 lspci -k | grep Wireless 看一下原因是否为缺少 wifi 驱动,如下,如果没有 Kernel driver in use,说明缺少驱动。
05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter
Kernel driver in use: rtl8821ce
Kernel modules: 8821ce 生成的新文件夹都在source下也就是和放文章的文件夹一块
以下所有命令都是在博客文件目录下执行
生成“分类”页并添加tpye属性,进入博客目录。执行命令下方命令
$ hexo new page categories $ sudo vi /etc/default/grub修改以下3处内容
GRUB_CMDLINE_LINUX_DEFAULT="quiet",加#注释掉这一行配置GRUB_CMDLINE_LINUX="",修改为 GRUB_CMDLINE_LINUX="text"#GRUB_TERMINAL=console,去掉#注释