You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tealk 9bf2e514ba
try to fix custom command
3 months ago
.manage try to fix custom command 3 months ago
.vscode vscode setting 6 months ago
.gitignore Revert "create backup from config file" 6 months ago
LICENSE WTFPL -> GNU GPLv3 6 months ago
README.md update readme 6 months ago
manage rewrite symlink creation 3 months ago

README.md

shell-administration-scripts

This is a collection of commands that I need again and again and therefore have summarized in a small script.

General

Branches

  • stable is the current stable build
  • develop is the development build in which new features are implemented and tested
  • old-stable is the original/old script

Functions

  • Nextcloud
    • Update
    • App Update
    • Maintenance ON
    • Maintenance OFF
    • Readout deleted LDAP User
    • Backup deleted LDAP User
    • Remove deleted LDAP User
    • Remove User
    • Last seen
    • Add missing indices
    • BigInit identifiers
    • Scan
    • CleanUp
    • User report
    • LDAP Search
    • Custom Command
  • Update phpMyAdmin
  • Update MediaWiki
  • Update Collabora (requires docker)
  • Update BookStack (requires git & composer)
  • Update Friendica (requires git & composer)
  • Update FreshRSS (requires git)
  • Backup

Usage

  1. Clone the repository
  2. join the repo cd shell-administration-script
  3. Give the "manage" file execute rights chmod +x manage
  4. Run the script ./manage and answer the questions
  5. edit the config created by the script nano onfig
  6. if you answered yes to the second question you can run the script from anywhere with manage otherwise you have to enter the path and execute the script cd /pathto/shell-administration-script && ./manage

Update

Updates are downloaded automatically, this can be disabled by setting SELFUPDATE=false in config. After each update the manage must be made executable again if you dont use the symlink chmod +x /pathto/shell-administration-script/manage. If something has been changed in the config, you will be notified when you start the program.

If you did not create a symlink during the initial setup, you can do this by starting the script with the symlink switch manage symlink. To remove the symlink execute the command again.

Backup

Require borgbackup To use the function you must first initializes a backup repository. Start the script with the backup switch manage backup

Extensions/improvements

Create a report here and surprise me with your ideas.

Bug Report

Feel free to create a report here