| .manage | ||
| .vscode | ||
| .gitignore | ||
| LICENSE | ||
| manage | ||
| 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)
- Update Framadate
- Backup
Usage
- Clone the repository
- join the repo
cd shell-administration-script - Give the "manage" file execute rights
chmod +x manage - Run the script
./manageand answer the questions - edit the config created by the script
nano config - if you answered yes to the second question you can run the script from anywhere with
manageotherwise you have to enter the path and execute the scriptbash /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.
create symlink
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
Debug
To activate the debug mode use the manage debug button, but the db passwords will be displayed in the console as well.
Extensions/improvements
Create a report here and surprise me with your ideas.
Bug Report
Feel free to create a report here