当前位置:网站首页>在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运行
边栏推荐
- Get the timestamp of 0:00 and 23:59 of the current date
- grafana绘制走势图
- 多测师肖sirapp中riginal error: Could not extract PIDs from ps output. PIDS: [], Procs: [“bad pid
- 百度时间因子添加
- Grafana biaxial graph with your hands
- 180.1. Log in continuously for n days (database)
- About Statistical Distributions
- Cannot read property 'MTJ' of undefined
- High performance and high availability computing architecture scheme commented by Weibo
- rancher增加/删除node节点
猜你喜欢

180.1. Log in continuously for n days (database)

Servlet的使用手把手教学(一)

POI excel conversion tool

大火的虚拟人在哪些产业开始发力?

Pipeline based hybrid rendering

《数字经济全景白皮书》消费金融数字化篇 重磅发布

Web3 that unleashes the value of the Internet

Month on month SQL implementation

Michael Wooldridge, professeur à l'Université d'Oxford: comment la communauté de l'IA voit les réseaux neuronaux depuis près de 40 ans

openGauss内核:SQL解析过程分析
随机推荐
腾讯汤道生:面向数实融合新世界,开发者是最重要的“建筑师”
new String(“hello“)之后,到底创建了几个对象?
POI Excel转换工具
Shell 未知汇总1
shell读取Json文件的值
grafana绘制走势图
math_证明常用等价无穷小&案例&代换
Modular operation
How does the computer check whether the driver is normal
memory thrashing
Windows 64位下载安装My SQL
几行代码就能实现复杂的 Excel 导入导出,这个工具类真心强大!
Advanced - Introduction to business transaction design and development
async-validator. JS data verifier
使用.NetCore自带的后台作业,出入队简单模拟生产者消费者处理请求响应的数据
Question brushing analysis tool
3D rotatable particle matrix
618 activity season - the arrival of special discounts for hundreds of low code platforms
Brief introduction to mongodb working principle of mongodb series
About Statistical Distributions