nfs_manager

Shell script for NFS server management


Project maintained by vroncevic Hosted on GitHub Pages — Theme by mattgraham

NFS server management

nfs_manager is shell tool for controlling/operating NFS Server.

Developed in bash code: 100%.

nfs_manager_shell_checker

The README is used to introduce the tool and provide instructions on how to install the tool, any machine dependencies it may have and any other information that should be provided before the tool is installed.

GitHub issues open GitHub contributors

Table of Contents

Installation

Debian Linux OS

Navigate to release page download and extract release archive.

To install nfs_manager type the following:

tar xvzf nfs_manager-x.y.tar.gz
cd nfs_manager-x.y
cp -R ~/sh_tool/bin/   /root/scripts/nfs_manager/ver.x.y/
cp -R ~/sh_tool/conf/  /root/scripts/nfs_manager/ver.x.y/
cp -R ~/sh_tool/log/   /root/scripts/nfs_manager/ver.x.y/

Self generated setup script and execution

./nfs_manager_setup.sh

[setup] installing App/Tool/Script nfs_manager
	Sun 28 Nov 2021 06:19:10 PM CET
[setup] clean up App/Tool/Script structure
[setup] copy App/Tool/Script structure
[setup] remove github editor configuration files
[setup] set App/Tool/Script permission
[setup] create symbolic link of App/Tool/Script
[setup] done

/root/scripts/nfs_manager/ver.2.0/
├── bin/
│   ├── center.sh
│   ├── display_logo.sh
│   ├── nfs_list.sh
│   ├── nfs_manager.sh
│   ├── nfs_operation.sh
│   └── nfs_version.sh
├── conf/
│   ├── nfs_manager.cfg
│   ├── nfs_manager.logo
│   └── nfs_manager_util.cfg
└── log/
    └── nfs_manager.log

3 directories, 10 files
lrwxrwxrwx 1 root root 52 Nov 28 18:19 /root/bin/nfs_manager -> /root/scripts/nfs_manager/ver.2.0/bin/nfs_manager.sh

Or You can use docker to create image/container.

Usage

# Create symlink for shell tool
ln -s /root/scripts/nfs_manager/ver.x.y/bin/nfs_manager.sh /root/bin/nfs_manager

# Setting PATH
export PATH=${PATH}:/root/bin/

# Control/operating NFS Server
nfs_manager

nfs_manager ver.2.0
Sun 28 Nov 2021 06:24:16 PM CET

[check_root] Check permission for current session? [ok]
[check_root] Done

                                                                                                  
              ████                                                                                
             ░██░                                                                                 
   ███████  ██████  ██████       ██████████   ██████   ███████   ██████    █████   █████  ██████  
  ░░██░░░██░░░██░  ██░░░░       ░░██░░██░░██ ░░░░░░██ ░░██░░░██ ░░░░░░██  ██░░░██ ██░░░██░░██░░█  
   ░██  ░██  ░██  ░░█████        ░██ ░██ ░██  ███████  ░██  ░██  ███████ ░██  ░██░███████ ░██ ░   
   ░██  ░██  ░██   ░░░░░██       ░██ ░██ ░██ ██░░░░██  ░██  ░██ ██░░░░██ ░░██████░██░░░░  ░██     
   ███  ░██  ░██   ██████  █████ ███ ░██ ░██░░████████ ███  ░██░░████████ ░░░░░██░░██████░███     
  ░░░   ░░   ░░   ░░░░░░  ░░░░░ ░░░  ░░  ░░  ░░░░░░░░ ░░░   ░░  ░░░░░░░░   █████  ░░░░░░ ░░░      
                                                                          ░░░░░                   
                                                                                                  
	                                                             
		Info   github.io/nfs_manager ver.2.0 
		Issue  github.io/issue
		Author vroncevic.github.io

  [Usage] nfs_manager [OPTIONS]
  [OPTIONS]
  [OPTION] start | stop | restart | list | version
  # Restart Apache Tomcat Server
  nfs_manager restart
  [help | h] print this option

Dependencies

nfs_manager requires next modules and libraries

Shell tool structure

nfs_manager is based on MOP.

Shell tool structure

sh_tool/
├── bin/
│   ├── center.sh
│   ├── display_logo.sh
│   ├── nfs_list.sh
│   ├── nfs_manager.sh
│   ├── nfs_operation.sh
│   └── nfs_version.sh
├── conf/
│   ├── nfs_manager.cfg
│   ├── nfs_manager.logo
│   └── nfs_manager_util.cfg
└── log/
    └── nfs_manager.log

Docs

Documentation Status

More documentation and info at

License: GPL v3 License

Copyright (C) 2016 - 2024 by vroncevic.github.io/nfs_manager

nfs_manager is free software; you can redistribute it and/or modify it under the same terms as Bash itself, either Bash version 4.2.47 or, at your option, any later version of Bash 4 you may have available.

Lets help and support FSF.

Free Software Foundation

Donate