//本地预览
1hexo cl; hexo s
//推送更新上线
1hexo cl; hexo g; hexo d
新建博文命令
1hexo new
新建标签页命令
1hexo new page 新建的标签页
[up主专用,视频内嵌代码贴在这]
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
sudo shutdown -r now 重启服务器ssh root@192.168.x.x 终端登陆服务器df -H 查看磁盘使用详情ls -al (ll) 查看当前目录下的所有文件apt update && apt upgrade -y 更新官方源已安装的软件cd /home/ubuntu 进入 /home/ubuntu 目录位置wget http://xxx.com/xxx.xxx 下载网络链接文件到当前文件夹位置passwd root 修改当前系统账号 root 的密码, 需要重复输入两次密码
vi abc 打开和进入 abc 文档提示: 连续按下两下 dd 即 ...
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment

