Skip to main content

A flexible system admin web portal

Project description

Flexmin

Flexmin

Project home page: Flexmin Project

Introduction

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 the associated files and folders, then 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.4.2.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flexmin-0.4.2-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flexmin-0.4.2.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for flexmin-0.4.2.tar.gz
Algorithm Hash digest
SHA256 9a74247b4fa476d443342766e5c86b3f6c56290f826c67ae3d02341fb844a96d
MD5 b39881cf3b58ef1fb8789d749187cc2c
BLAKE2b-256 655d322b7226c1b2c409d19ba4cf27ec85b9cc20661129df9fcda7b204a4e5d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flexmin-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for flexmin-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9a6d15bd1c242ff7f66fda4a09d84b17be3ccdda699e619c488a69236af6bde
MD5 34a8939927f12306af3ca043cf04ddb8
BLAKE2b-256 93e10083ac067f71c5356740eb6e0caa534ce5948ff9ec2475cfe1d376d1c920

See more details on using hashes here.

Supported by

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