Skip to content

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

Notifications You must be signed in to change notification settings

WoodProgrammer/LinuxScriptsAndDocs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 86.0%
  • Shell 13.0%
  • PHP 1.0%