Skip to content

Repository files navigation

SYSADMIN and LINUX USERS DOCS AND SCRIPTS REPO

This repo has ready to use code for server management with Fabric

CODE SERVICES:

  • backup_host(for centos)

  • awake_apache(for centos)

  • db_awake(mysql)

  • setup docker

  • mongodb

  • NOTICE : Os-detector,More-Db-Options,More Details,Monitoring ... will be add.

$ git clone https://github.com/nkudatascience/LinuxScriptsAndDocs
$ cd LinuxScriptsAndDocs
$ pip install -r requirements.txt
$ cd fabric
$ fab -H [SERVER_IP] [code_service]

MONGODB

For get the backup of your db is simple. sh $ mongodump --db [DB_NAME] --port [PORT_NAME] For restore this backup sh $ mongorestore -d [DB_NAME] -c [COLLECTION_NAME] [DUMP_FILE.bson]

About

This repo hold a Linux and System Admins docs and scripts to be guide for us.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages