云计算技术 实验三
山东大学 计算机科学与技术 学院 云计算技术 课程实验报告
学号:202000130046
姓名:付洪友
班级:数据20
实验题目:利用云平台搭建个人博客
实验日期:2023年3月14日
实验学时:2
实验目的熟悉个人博客系统的搭建
具体包括:参考方案:注册Github账号,搭建Hexo环境并实现个人博客搭建,撰写实验报告。
硬件环境联网的计算机一台
软件环境Windows or Linux
实验步骤与内容
首先安装git和nodejs,并配置其环境变量,根据需求nodejs配置npm的国内镜像源、git配置。
安装Hexo
找一个空的文件夹,并在命令行进入该文件夹
npm install hexo-climkdir myblogcd myblognpx hexo initnpx hexo generatenpx hexo server
使用该命令将hexo-cli安装在文件夹,并创建myblog文件夹作为博客文件夹,将hexo初始化在myblog,并生成博客文件、部署该博客,得到如下图所展示的样子:
注册Github账号
生成SSH添加到Github实现更方便的上传等到g ...
code display test1
=================================================================== ##### # # ##### ##### ###### ##### ###### # # # # # # # # # # ...
code display test
What’s Up?
{ "name": "hexo-site","auto": "hexo clean && hexo generate && hexo server","auto": "hexo clean && hexo generate && hexo server","auto": "hexo clean && hexo generate && hexo server","auto": "hexo clean && hexo generate && hexo server","auto": "hexo clean && hexo generate && hexo server&qu ...
Hello WYX
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 post$ hexo new "My New Post"
More info: Writing
Run server$ hexo server
More info: Server
Generate static files$ hexo generate
More info: Generating
Deploy to remote sites$ hexo deploy
More info: Deployment




