Giter Site home page Giter Site logo

siaron-project's Introduction

Environment

  • Java8
  • Spring Boot 2.1.1
  • Spring Cloud Finchley.SR2

com.siaron-project

  • other-example
  • spring-boot-example
  • spring-cloud-example
  • spring-example

示例教程

Docker

安装docker

卸载旧docker

 sudo yum remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine

安装docker

sudo yum install -y yum-utils \
           device-mapper-persistent-data \
           lvm2

docker 源

sudo yum-config-manager \
    --add-repo \
    https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.repo

安装 Docker CE (docker)

sudo yum makecache fast
sudo yum install docker-ce

启动 Docker CE

sudo systemctl enable docker
sudo systemctl start docker

基本命令

docker pull nginx
docker run -p 8088:80 --name mynginx -d nginx
docker exec -it mynginx bash
docker stop mynginx
docker rm mynginx
docker ps -a 

docker 安装redis

docker pull redis

docker redis 使用

cd ~
mkdir redis
cp /opt/redis-5.3/redis.conf ~/redis/
修改redis.conf 以下三项
# bind 127.0.0.1
protected-mode no
requirepass redis 

cd ~

启动
docker run -p 127.0.0.1:6389:6379  --name myRedis -v $PWD/redis/redis.conf:/etc/redis/redis.conf -v $PWD/redis:/data -d redis redis-server /etc/redis/redis.conf --appendonly yes

停止和删除
docker stop myRedis && docker rm myRedis

siaron-project's People

Contributors

ccwxl avatar dependabot[bot] avatar

Watchers

 avatar

Forkers

cckmit

siaron-project's Issues

同学,您这个项目引入了284个开源组件,存在81个漏洞,辛苦升级一下

检测到 siaron/siaron-project 一共引入了284个开源组件,存在81个漏洞

漏洞标题:SnakeYAML 安全漏洞
缺陷组件:org.yaml:[email protected]
漏洞编号:CVE-2017-18640
漏洞描述:SnakeYAML是一款基于Java的YAML解析器。
SnakeYAML 1.18版本中的Alias功能存在安全漏洞。攻击者可利用该漏洞造成拒绝服务。
国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2020-22682
影响范围:(∞, 1.26)
最小修复版本:1.26
缺陷组件引入路径:com.siaron-project:[email protected]>org.redisson:[email protected]>com.fasterxml.jackson.dataformat:[email protected]>org.yaml:[email protected]

另外还有81个漏洞,详细报告:https://mofeisec.com/jr?p=i68a52

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.