Giter Site home page Giter Site logo

ebookbackend's Introduction

eBookBackend 课程大作业后端工程

给我狠狠地优雅!!!

image

要运行项目,需要准备下列操作:

  1. Kafka
  2. 数据库 [看我的Github 互联网开发的仓库包括所有静态资源、SQL文件]
  3. Redis
  4. ElasticSearch 7.17.6搭配分词器lk 7.17.6(配件plugin文件)

Kafka

需要下载Kafka,参考这里:https://kafka.apache.org/quickstart 然后CD到Kafka的目录,然后输入下面的命令启动

bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties

Redis

MacOS电脑

brew install redis

Windows电脑

Redis 官方不建议在 windows 下使用 Redis,所以官网没有 windows 版本可以下载。 微软团队维护了开源的 windows 版本,虽然只有3.2 版本。所以推荐Linux吧!

Linux

sudo apt update 
sudo apt full-upgrade
sudo apt install build-essential tcl

Elastic

Windows:

bin\elasticsearch.bat

Linux/MacOS:

bin/elasticsearch

重要版本依赖说明

  • 2022.11.9:进行了Spring底层框架的更新:
    • SpringBoot更新使用2.7版本
    • ElasticSearch使用7.17.6版本(该版本支持Windows/Linux/Arm Mac/Intel Mac)
    • 依赖Spring Data Elasticsearch使用4.4.5版本
    • 以上内容如有任何的版本不一致都可能导致项目启动失败!
    • 测试机环境:MacOS Venture13.0 Arm64 CPU

本机核弹启动快捷脚本

需要目录一致才可以!

# kafka
/Applications/kafka_2.13-3.3.1/bin/zookeeper-server-start.sh /Applications/kafka_2.13-3.3.1/config/zookeeper.properties &
/Applications/kafka_2.13-3.3.1/bin/kafka-server-start.sh /Applications/kafka_2.13-3.3.1/config/server.properties &

# search elasticsearch
/Applications/elasticsearch-7.17.6/bin/elasticsearch &

# redis
brew services start redis

ebookbackend's People

Contributors

musicminion avatar

Stargazers

Bima Putra Lamanda avatar Liu Zhen avatar  avatar

Watchers

 avatar

Forkers

xgh127

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.