"RISC-V Growth Diary" blog released, the first blog running on RISC-V server?

Although social platforms such as Twitter, official accounts, Weibo, and Douyin seem to be quite the rage these days, blogs are still evergreen around the world, especially in the technology field. For bloggers, blogs are a place for independent creation. They can update content and stories at any time to ensure the timeliness of the materials. Additionally, blogs offer more room for search engine optimization, making it easier for users to find their work. Many well-known members of the press and entertainment industry also continue to manage their own blogs.

What I want to share with you today is that we have built a blog on the RISC-V server, “RISC-V Growth Diary”, specifically to record every bit of our growth in the RISC-V server field. The URL is as follows, contributions are welcome!


Is this the first blog to run on a RISC-V server? We will try to keep this server running forever, 1 year, 2 years~~

Experimental report

Introduction to RISC-V Server

The HS-2 RISC-V general-purpose motherboard is a standard mATX motherboard designed for developers jointly developed by Pengfeng Technology and its partners. It is pre-installed with a software package customized and developed by Pengfeng Technology for RISC-V high-performance servers. Including various standard benchmarks, GCC compilers supporting V extensions, computing libraries, middleware, and a variety of typical server applications.

The HS-2 RISC-V general-purpose motherboard is equipped with a domestic RISC-V 64-core processor (Sophon Technology SG2042). SG2042 is the highest-performance RISC-V processor currently in mass production. It is mainly designed for the needs of high-performance computing and is suitable for large computing power application scenarios such as scientific computing, engineering computing, AI computing, and fusion computing.

Introduction to software toolset

Software Details
Pelican Python-based static web page generator
Markdown Markdown text editor
Nginx Nginx web server

Pelican installation and compilation

  1. Install pelican

Use git to download pelican:

git clone https://github.com/getpelican/pelican.git
cd pelican
python3 setup.py install
  1. Create a blog directory
mkdir pelican_blog
cd pelican_blog

Markdown installation and compilation

  1. Download Markdown

wget https://github.com/PythonMarkdown/markdown/archive/refs/tags/3.3.4.tar.gz

tar -xzvf 3.3.4.tar.gz

  1. Compile and install
cd markdown-3.3.4/
sudo python3 setup.py install

Pelican usage

  1. Catalog introduction

Enter the created blog directory, its structure is as follows:


Content is used to store all articles.
Output is used to store the html files converted by pelican.
pelicanconf.py and publishconf.py are configuration files.

  1. Convert .md file to html

Use the command under pelican-blog:

pelican content

You can convert the .md file under content to html and save it in the output folder.

  1. Turn on the monitor

Use the command under pelican-blog:

pelican –listen

You can access your page through port 8000.

  1. Reverse proxy through Nginx

The specific process of Nginx installation can be viewed in this article

RISC-V public beta platform released -The first WEB Server “Hello RISC-V world!”

Add the following modules to the nginx configuration file nginx.cof:

server {
    listen       8002;
    server_name  localhost;

    location / {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Afterwards, performing port mapping of 8001 on the router, the page can be accessed through the external network.

Install theme

Here we take the Flex theme as an example. Still in the blog directory:

git clone https://github.com/getpelican/pelican-themes.git
cd pelican-themes
pelican-themes -i Flex

Correspondingly add theme selection entries in pelicanconf.py:

THEME = ‘Flex’


The above is the whole process of building a blog server on RISC-V. It is quite simple. Interested friends can contact us to work together. Adding dozens of blogs to a RISC-V server with 64 cores and 128GB memory is completely fine!

Translated From: “RISC-V成长日记” blog发布,第一个运行在RISC-V服务器上的blog?