Giter Site home page Giter Site logo

unicom's Introduction

unicom

https://img.shields.io/badge/language-java-orange.svg?style=flat-square

不会写东西,直接说一下怎么使用啦。。

演示站:https://www.iheit.com/ll

编译包下载: https://github.com/kukume/unicom/releases/

环境

  • JDK1.8
  • MySQL(如使用mysql)
  • nginx/apache(如需域名访问)

快捷方法安装吧。

以宝塔为例:

安装宝塔

#centos
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
#ubuntu
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
#debian
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh

打开宝塔面板,只需要在应用商店安装好tomcat9就会带有JDK1.8环境。 然后在应用商店安装好mysql

安装

下载编译包,更改application.yml中的配置

然后把unicom.jarapplication.yml放到同一文件夹下,比如我的文件都在/root/java文件下

运行

cd /root/java
java -jar unicom.jar

如需持久化运行,可以使用screen

cd /root/java
screen -dmS unicom java -jar unicom.jar

运行之后打开http://IP地址:8099即可

如果需要域名访问,在宝塔中添加反向代理,代理地址设置为http://localhost:8099即可

unicom's People

Contributors

kukume avatar

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.