Giter VIP home page Giter VIP logo

ansible-mongodb's Introduction

MongoDB Cloud Installer

Introduction

English | 简体中文

MongoDB Cloud Installer, developed by Websoft9, is an automatic installation program of MongoDB based on Ansible and shell. It helps user install MongoDB and pre-configure required items automatically and users only need to run a command on Linux. It simplifies the complicated installation and initialization process.

System Requirement

System Requirement to install this repository are as following:

Conditions Details Notes
Operating System CentOS7.x, Ubuntu20.04, Amazon Linux2 Optional
Public Cloud AWS, Azure, Alibaba Cloud, HUAWEI ClOUD, Tencent Cloud Optional
Private Cloud KVM, VMware, VirtualBox, OpenStack Optional
Server Configuration vCPU no less than 1 core, Memory no less than 1 GIB, Storage no less than 20 GB, Swap no less than 2GB Bandwidth no less than 100M

To learn more information, please view Installation & Configuration.

Ecosystem

Core components of this repository: MongoDB,adminmongo on Docker

Learn more about Parameters.

Installation

You can install it by thi Cloud Installer solution all in one. In addition, you can deploy image published on major Cloud Platform by Websoft9.

All-in-one Installer

Run the automatic installation script with root authority to start the installation. If necessary, users need to make interactive choices, and then wait patiently until the installation is successful.

$ sudo su -
$ wget -N https://raw.githubusercontent.com/Websoft9/ansible-linux/main/scripts/install.sh; bash install.sh -r mongodb

If the network is broken or blocked, SSH will be interrupted and the installation will fail. Please reinstall.

Image on Cloud

Follow our MongoDB image for installation on major Cloud Platform.

Documentation

Administrator Guide

License

LGPL-3.0, Additional Terms: It is not allowed to publish free or paid image based on this repository in any Cloud platform's Marketplace.

Copyright (c) 2016-present, Websoft9

This program provided by Websoft9 contains a series of software with separate copyright notices and license terms. Your use of the source code for the software included is subject to the terms and conditions of its own license.

FAQ

How to install and view the latest release?

This repository install way is Package isntallation, you can view the version from Official URL.
We will check Release version regularly. Update and test this project to ensure that users can successfully install the required version of MongoDB.

Can I run this repository on Ansible Tower?

Yes.

Although the results of the deploy by image are consistent with the results of deploy by script, what is the difference between the two deployment methods?

Suggest you read the document Deploy by Image vs Deploy by Script.

ansible-mongodb's People

Contributors

chendelin1982 avatar geraintlyu avatar helin2020 avatar hliblack avatar hnczhjh avatar mozlk avatar qiaofeng1227 avatar zengxc-1996 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ansible-mongodb's Issues

no version

Describe the bug

A clear and concise description of what the bug is.

Deployment method

  • subscription image from MarketPlace of Cloud
  • All-in-one Installer
  • ansible-playbook cli
  • mcloud
  • create instance from private image

Bug source

  • Bugs from installation
  • Bugs from first use
  • Other (You should describe it)

System Environment

Application Version

e.g v4.5

OS

  • Ubuntu18.x
  • Ubuntu20.x
  • CentOS7.x
  • CentOS8.x
  • AmazonLinux2
  • OracleLinux7.8
  • OracleLinux8.2
  • Other (You should describe it)

Cloud PlatForm

  • Azure
  • Aws
  • 阿里云
  • 腾讯云
  • 华为云
  • AlibabaCloud
  • HUWEICloud
  • Other (You should describe it)

Bug reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Bug reports

Bug Context

Bug context includes bug error, error logs and service status, it is very important for resolving issue

# bug error
"MongoDB shell version v4.0.24",
        "Docker version 20.10.6, build 370c289",
        "adminmongo version:",
        "System version: CentOS 7.9",
        "Image name: ansible-mongodb"

# service status 
(paste here) 

# error logs
(paste here) 

Bug Screenshot

image

Your suggestion

The reason of Bug

You can describe the reason if you have found it

Your solution for Bug

You can describe your solution here

Additional context

You can add any other context about the problem here.

3.4 can't connect by Random password on Ubuntu16

Describe the bug

IP:100.25.156.242 ubuntu16.04

Deployment method

  • subscription image from MarketPlace of Cloud
  • All-in-one Installer
  • ansible-playbook cli
  • mcloud
  • create instance from private image

Bug source

  • Bugs from installation
  • Bugs from first use
  • Other (You should describe it)

System Environment

Application Version

e.g v4.5

OS

  • Ubuntu18.x
  • Ubuntu20.x
  • CentOS7.x
  • CentOS8.x
  • AmazonLinux2
  • OracleLinux7.8
  • OracleLinux8.2
  • Other (You should describe it)

Cloud PlatForm

  • Azure
  • Aws
  • 阿里云
  • 腾讯云
  • 华为云
  • AlibabaCloud
  • HUWEICloud
  • Other (You should describe it)

Bug reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Bug reports

Bug Context

Bug context includes bug error, error logs and service status, it is very important for resolving issue

# bug error
(paste here) 

# service status 
(paste here) 

# error logs
2021-04-29T06:54:48.669+0000 I CONTROL  [initandlisten] options: { config: "/etc/mongod.conf", net: { bindIp: "127.0.0.1", port: 27017 }, storage: { dbPath: "/var/lib/mongodb", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongod.log" } }
2021-04-29T06:54:48.692+0000 I STORAGE  [initandlisten] 
2021-04-29T06:54:48.692+0000 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2021-04-29T06:54:48.692+0000 I STORAGE  [initandlisten] **          See http://dochub.mongodb.org/core/prodnotes-filesystem
2021-04-29T06:54:48.692+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=1369M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),verbose=(recovery_progress),
2021-04-29T06:54:48.742+0000 I CONTROL  [initandlisten] 
2021-04-29T06:54:48.742+0000 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2021-04-29T06:54:48.742+0000 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted

Bug Screenshot

image
image
image

Your suggestion

The reason of Bug

You can describe the reason if you have found it

Your solution for Bug
You need to specify the database name when you connect:

Additional context

You can add any other context about the problem here.

MongoDB4.0 and UbuntuLTS20.04 not run

Describe the bug

A clear and concise description of what the bug is.

Deployment method

  • subscription image from MarketPlace of Cloud
  • All-in-one Installer
  • ansible-playbook cli
  • mcloud
  • create instance from private image

Bug source

  • Bugs from installation
  • Bugs from first use
  • Other (You should describe it)

System Environment

Application Version

e.g v4.5

OS

  • Ubuntu18.x
  • Ubuntu20.x
  • CentOS7.x
  • CentOS8.x
  • AmazonLinux2
  • OracleLinux7.8
  • OracleLinux8.2
  • Other (You should describe it)

Cloud PlatForm

  • Azure
  • Aws
  • 阿里云
  • 腾讯云
  • 华为云
  • AlibabaCloud
  • HUWEICloud
  • Other (You should describe it)

Bug reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Bug reports

Bug Context

Bug context includes bug error, error logs and service status, it is very important for resolving issue

# bug error
(paste here) 

# service status 
(paste here) 

# error logs
(paste here) 

Bug Screenshot

image

Your suggestion

The reason of Bug

You can describe the reason if you have found it

Your solution for Bug

You can describe your solution here

Additional context

You can add any other context about the problem here.

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.