hexo基础命令

hexo基础命令

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 切换到博客工程目录
cd /home/www/wwwroot/CaraxinBlog

# 用Screen命令打开,保证启动后能后台运行
screen -S xin

# 清理缓存文件
hexo clean

# 生成文件
hexo g

# 启动服务
hexo s -p 80

# 退出窗口
按 Ctrl+A 然后按 D 键,这将使你脱离 screen 会话,但会话将继续在后台运行。

# 重新连接到 screen 会话:

screen -r yolin
  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2015-2024 John Doe
  • Visitors: | Views: