"Personal Blog Deployment Online Tutorial 1" Halo builds a personal blog website

Halo builds a personal blog site

1. Docker deploys Halo

  At present, two methods have been tested to install Halo. The first is to use Jar package installation: JAR package resources are provided , but Java11 is required for deployment using jar packages. I use Java8 locally, so I will not make adjustments for the time being. The second is to install through docker.

1.1 Start the application

docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo halohub/halo:latest

[root@zxy_master blog]# docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo halohub/halo:latest
Unable to find image 'halohub/halo:latest' locally
latest: Pulling from halohub/halo
e96e057aae67: Pull complete
4ced2591451d: Pull complete
df8f874ae8c0: Pull complete
111b6c748642: Pull complete
7d08d1d812cb: Pull complete
52108816ce84: Pull complete
afa1bed6ab0e: Pull complete
4f4fb700ef54: Pull complete
02830da3aa34: Pull complete
851454fc787b: Pull complete
Digest: sha256:311e8dd620d441fd15abc1c5c8859f840e014975392dfe97a2a16e8c935bedac
Status: Downloaded newer image for halohub/halo:latest
cc27e01b629de601b9b8ab9bf1fbc59430374df3317e2ef8ccff4736e439eb83

1.2 Cloud service opens port 8090

insert image description here

1.3 Initialize the application

  Halo defaults to port 8090. After starting with docker, you can open the background page through IP:8090 port for configuration.

ip:8090

insert image description here

1.4 Data import

  If the Halo blog has been deployed before, you can import the original data here.

insert image description here

2. Halo application

2.1 Background management page

  If there is no special configuration on the background management page, you can ip:8090/adminlog in later

  After Halo is initialized, you can log in to the Halo background management page, and you can enter the blog main page through the link in the upper right corner

insert image description here

2.2 Main page

  If there is no special configuration on the main page, you can ip:8090view it by

  The original page of Halo is relatively monotonous, but Halo can support theme download and installation

insert image description here

2.3 Theme installation

insert image description here

  Several themes are temporarily provided, which can be installed through the above methods, and have been uploaded to CSDN resource theme resource download .

  You can also download Halo official website theme through Halo official website

insert image description here

2.4 Theme enablement

  Click on the installed theme to change the current theme

insert image description here

  Once enabled, check the theme again

insert image description here

Guess you like

Origin blog.csdn.net/m0_51197424/article/details/130395059