Build a Full‑Featured Java CMS with FlyCms: Step‑by‑Step Setup Guide

FlyCms is an open‑source, Java‑based, Q&A‑style CMS built on Spring Boot, MySQL, Redis, Elasticsearch and Vue, and this guide walks you through its architecture, key features, required environment setup, installation commands, configuration, building, and launching the application.

Programmer DD
Programmer DD
Programmer DD
Build a Full‑Featured Java CMS with FlyCms: Step‑by‑Step Setup Guide

FlyCms is an open‑source, Java‑based social Q&A CMS inspired by Zhihu, built with a Spring Boot backend and a Vue frontend.

Technology stack: Spring Boot 2.2.0.RELEASE, Bootstrap 4.5.0, MyBatis, MySQL, Redis‑x64‑3.2.100, Elasticsearch, Vue 2.6.10, Element‑UI 2.14.0.

The project focuses on organizing, categorizing and searching community content, enabling users to quickly create professional knowledge bases and online Q&A communities.

Key features include user, department, role, menu, dictionary, parameter, notification, operation log, login log, online users, scheduled tasks, code generation, system interfaces, service monitoring, online builder, connection pool monitoring, group management, tag management, site management, and user follow.

Installation requires a CentOS environment and the following components:

MySQL

JDK

Elasticsearch

Redis

Nginx

wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
rpm -ivh mysql57-community-release-el7-9.noarch.rpm
yum -y install mysql-server
systemctl start mysqld
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.3.tar.gz
groupadd elsearch
useradd elsearch -g elsearch -p elsearch
chown elsearch:elsearch -R /home/elasticsearch/
su elsearch cd /home/elasticsearch/ nohup ./bin/elasticsearch > /dev/null 2> /dev/null &
http://download.redis.io/releases/redis-4.0.2.tar.gz
https://nginx.org/download/nginx-1.19.4.tar.gz

After installing the dependencies, edit resource/application-prod.yml to set the database URL, name, username and password.

Build the project with Maven: select the prod profile, open flycms/Lifecycle and click install to generate the flycms.jar file in the target directory.

If you are learning Spring Boot, a free, long‑running tutorial is available at http://blog.didispace.com/spring-boot-learning-2x/.

Start the application; the default backend login is username admin and password 123456.

Beyond the core CMS, FlyCms offers column recommendations based on user interests, hot‑topic discovery, and an achievement system for users.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JavaBackend DevelopmentSpring Bootopen sourceCMS
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.