B3log Deployment Documentation

Source: Internet
Author: User

Https://github.com/b3log/solo/wiki/standalone_mode

Standalone mode

As long as you have installed the Java environment, a command can be started!

    1. Instead of relying on a MySQL database, use an embedded H2 database
    2. Instead of relying on an external Servlet container, start with an inline Jetty
Configuration

Unzip the Solo.war, and then modify the following configuration:

  1. (optional) modification latke.props , such as changing the domain name, port, etc., by default http://localhost
  2. (optional) Modify local.propsFile, where#### H2 runtime ####the jdbc.URL value of the paragraph, default data store path ~/b3log_solo_h2/db ( ~ indicates user home directory ${user.home})
Run

Execute in the Unzip directory:

  • Windows: java -cp WEB-INF/lib/*;WEB-INF/classes org.b3log.solo.Starter
  • Unix-like: java -cp WEB-INF/lib/*:WEB-INF/classes org.b3log.solo.Starter

The default is to listen 8080   port to start the service, if you want to use a different port, you can add port parameters after the above command, such as -lp 9090-sp 9090 .

For more information, please use  -h   Print view:

USAGE:JAVA-CP web-inf/lib/*; Web-inf/classes Org.b3log.solo.Starter [-h] [-lp <listen_port>] [-rm <runtime_mode>] [-sh <server_hos T>] [-sp <server_port>] [-ss <server_scheme>] [-ssh <static_server_host>] [-SSP <STATI C_server_port>] [-sss <static_server_scheme>]solo is a blogging system written in Java, feel free to create your Oryour Team own blog. Solo is a Java-implemented blogging system that creates a blog for you or your team.                                                      -H,--help print Help for the                                                      Command-lp,--listen_port <LISTEN_PORT> Listen port, default                                                      is 8080-RM,--runtime_mode <RUNTIME_MODE> Runtime mode (development/product ION), default I S DEVelopment-sh,--server_host <SERVER_HOST> Browser visit domain Name, default is LOCALHOST-SP,--server_port &lt ; Server_port> Browser Visit PORT, default is 8                                                      080-ss,--server_scheme <SERVER_SCHEME> Browser visit Protocol, default is Http-ssh,--static_server_host <stati                                                      C_server_host> Browser visit static resource domain Name, default is Localho                                                      ST-SSP,--static_server_port <STATIC_SERVER_PORT> Browser visit static ResourcePort, default is 8080-sss,--static_server_scheme <static_server_s                                                      Cheme> Browser visit static resource protocol, Default is Httpreport bugs or request features to visit our project Website:https: Github.com/b3log/solo



Unofficial documents
  • Zempty: deploying solo under Eclipse
  • Ansen: Solo BAE Deployment Beginner's Guide
  • Ansen: B3log deployment to OpenShift series Tutorials
  • Flaming flames: Solo skin Transplant Video
  • Vanessa: Introduction to Solo skin
  • Uncle: Eclipse local debugging solo source
  • Y: Solo's thermal deployment scenario under Eclipse. docx

B3log Deployment Documentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.