Skip to main content

A flexible system admin web portal

Project description

Flexmin

Flexmin is an easy to customise web based management tool for the occasional system administrator.

Flexmin is perfect for those who use Linux but don't want to be a full time Linux administrator; it makes common administration tasks easy. It is perfect for web developers who want to use NGINX, uWSGI and Python based web tools as it makes the set up and administration of these parts of a web stack easy.

If you have clients who need to run a server you can use Flexmin to give them easy access to perform any common system administration tasks by themselves.

Flexmin is designed to be easy to extend to carry out your most frequent tasks, provided you can create a suitable bash script. The bash scripts simply need to output text in YAML format to present forms, information, or tables to the end user. The same script can be design to recongised submitted forms and carry out the specified task.

Many common task scripts are supplied with the Flexmin system. Adding your own scripts is easy, as is customising the menu items for your own purposes. You own custome scripts and settings are hel separately from the built in defaults, so an upgrade to the Flexmin system will not overwrite your custom settings or scripts.

Flexmin consists of a python based service (daemon) that runs as root and handles tasks sent to it by the web based GUI.

IMPORTANT: Check the Flexmin security documentation to ensure you understand how Flexmin security is implemented. The security has not been independently assessed; use at your own risk. Use on public networks is not recommended, and additional precautions may be advisable.

Install

Prerequisites

Flexmin requires the following software packages:

  • OpenSSL (openssl)
  • Python 3 and Pip (python3 and python-pip or python3-pip)
  • NGINX (nginx)
  • uWSGI and uWSGI Python Plugins (uwsgi, uwsgi-plugin-python or uwsgi-plugin-python3)

NOTE: Debian based distros (Raspbian and Ubuntu for example) seem to need packages python3-pip and uwsg-plug-python3, they also require the use of the pip3 command instead of pip.

IMPORTANT: Flexmin is expected to be installed on a fresh system ready to manage using the Flexmin tool. If installing on an existing system you should take care to backup NGINX, uWSGI or OpenSSL configurations in case the Flexmin installation affects them.

Python modules required (pip, or pip3 command for Debian and Ubuntu based distro):

  • wheel (install first, needed for subsequent installs)
  • pyyaml (should be installed as a dependency by pip)
  • py4web (should be installed as a dependency by pip)
  • click (should be installed as a dependency by pip)

Once the Prerequisites are all installed run these commands:

sudo pip install flexmin
sudo flexmin install

The first command should install the flexmin package, the second unpacks some associated files and folder and configures flexmin to run on your system. After running these commands you should have a fully functioning web server and Flexmin web interface.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flexmin-0.3.9.tar.gz (5.7 MB view details)

Uploaded Source

Built Distribution

flexmin-0.3.9-py3-none-any.whl (5.7 MB view details)

Uploaded Python 3

File details

Details for the file flexmin-0.3.9.tar.gz.

File metadata

  • Download URL: flexmin-0.3.9.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/5.0.0 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.10.1 tqdm/4.62.3 CPython/3.10.8

File hashes

Hashes for flexmin-0.3.9.tar.gz
Algorithm Hash digest
SHA256 ab215415f60b84b5dff01e070fbbd6fa3e4417b1b75400a68ccf498af4b6889e
MD5 b35e2ff6454f1014960b7f66934757b2
BLAKE2b-256 e636e990bf0f5ef76d7351818c6aab5d0b8f619a183a9d920f77eae13891934e

See more details on using hashes here.

File details

Details for the file flexmin-0.3.9-py3-none-any.whl.

File metadata

  • Download URL: flexmin-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 5.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/5.0.0 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.10.1 tqdm/4.62.3 CPython/3.10.8

File hashes

Hashes for flexmin-0.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1d405a313fa37420c0d1935aebe4e2da2006e1e7fa19f95c749cb8c6ab9b8b3b
MD5 a9018f9b95b396de2edaf3461fd79fa9
BLAKE2b-256 0707b1bde004e857869c0bddd75e6413c85dad0d3a972787563d8cfcdf3cee6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page