当前位置:网站首页>在arm版本rk3399中搭建halo博客
在arm版本rk3399中搭建halo博客
2022-06-28 19:03:00 【落子无悔!】
五一快乐
快乐到无聊, 无意间发现一个不错的开源项目 halo, 即博客系统, 正好有个arm开发板rk3399放着浪费, 所以有了一个想法: 通过docker来制作一个arm版本的halo博客, 可以展示一些个人信息和文章, 并且打包镜像, 开源出去(因为转了一圈都是x86版本的), 所以就有了下面的工作.
之前为实验室做过一个系统来展示实验室信息以及共享一些内部资源的网站, 但是后期因为没人维护也就渐渐没人用了, 在搭建这个halo博客的过程中, 让我有了一个更好的为实验室搭建所有展示信息的网站方案, 即通过halo博客系统来上传实验室各种科研信息\科研方向\科研成果, 在加一个链接静态资源下载链接(该链接包含通过python HTTPserver做的资源共享网站); 上述两个步骤就能够非常好的实现实验室信息的展示功能了. 最后希望实验室的学弟学妹们看到上述介绍能够亲自尝试一下 halo+http的方案.
1. docker
1.1 下载安装
# 设置资源存储路径
sudo vim /etc/systemd/system/multi-user.target.wants/docker.service
# 更改ExecStart=/usr/bin/dockerd --graph=<your_new_docker_img_path> --storage-driver=overlay
sudo systemctl daemon-reload
# 设置下载源
sudo vim /etc/docker/daemon.json
{
"registry-mirrors": ["http://hub-mirror.c.163.com"]
}
sudo service docker restart
# 设置用户权限
sudo docker run hello-world
sudo groupadd docker
# groupadd: group 'docker' already exists
sudo usermod -aG docker $USER
sudo gpasswd -a $USER docker
newgrp docker
docker run hello-world
1.2 下载镜像运行
docker pull zjq2048/rk3399-halo:1.5.2
docker run -it --restart=always -p 8090:8090 --name halo -d zjq/rk3399-halo:0.1
# 浏览器访问 ip:8090
2. 博客展示

文章是markdown格式
可以修改html页面的信息
自定义展示页面
总结
整个过程能学到了什么呢?
- docker配置
- docker的镜像制作
- docker镜像上传
- Java运行
边栏推荐
- Sound network releases lingfalcon Internet of things cloud platform, which can build sample scenarios in one hour
- Shell script batch modify file directory permissions
- 释放互联网价值的 Web3
- 618 activity season - the arrival of special discounts for hundreds of low code platforms
- MindSpore系列一加载图像分类数据集
- Friends from Fujian, your old-age insurance is on the cloud!
- pd.cut 区间参数设定之前后区别
- Taishan Office Technology Lecture: word strange font height
- Web3 that unleashes the value of the Internet
- Question brushing analysis tool
猜你喜欢

Sound network releases lingfalcon Internet of things cloud platform, which can build sample scenarios in one hour

Jenkins Pipeline 对Job参数的处理

Cannot read property 'MTJ' of undefined

Grafana biaxial graph with your hands

SQL calculates daily new users and retention rate indicators

Summary of the use of qobjectcleanuphandler in QT

Qt 中 QObjectCleanupHandler 使用总结

使用Karmada实现Helm应用的跨集群部署

shell读取Json文件的值

How to remove dataframe field column names
随机推荐
Rxjs map, mergeMap 和 switchMap 的区别和联系
math_证明常用等价无穷小&案例&代换
High performance and high availability computing architecture scheme commented by Weibo
腾讯汤道生:面向数实融合新世界,开发者是最重要的“建筑师”
数据库学习笔记(SQL04)
【Unity3D】相机跟随
请问下flinkcdc用flinksql提交的话只能一个表提交一个任务吗?那有几千张表的时候还能这么
释放互联网价值的 Web3
毕业设计-基于Unity的餐厅经营游戏的设计与开发(附源码、开题报告、论文、答辩PPT、演示视频,带数据库)
Render function parsing
Sound network releases lingfalcon Internet of things cloud platform, which can build sample scenarios in one hour
Friends from Fujian, your old-age insurance is on the cloud!
How many objects are created after new string ("hello")?
Servlet的使用手把手教学(一)
电脑如何检查驱动程序是否正常
春风动力携手华为打造智慧园区标杆,未来工厂创新迈上新台阶
POI Excel转换工具
[unity3d] camera follow
Show the actual work case of creating intermediate data table with SQL
19.2 container classification, array and vector container refinement