- Table of Contents
- Donate
- wp-shelltools
- Install
- Help
- Directories
- Advanced Documentation
- Debugging
- Future Features
- ToDo
- Resources
If you like any of the scripts or tools, please consider donating to help support the development of these tools.
The goal of this project is to make it easy to manage and maintain WordPress servers using shell scripting. This repository was original named gp-tools, but decided to make it provider agnostic
You might find that there are still tools and functions that have gridpane or gp in their name. This will change when it becomes a priority.
- You need root, otherwise this makes no sense.
- You need git (apt-get install git)
It's simple, make sure you have git installed (apt-get install git) and then run the following
git clone https://github.com/jordantrizz/gpcli.git ~/gpcli;~/gpcli/gpcli -c install
Simply run the following command to get a list of available tools
wp-shelltools help
Here's a list of all commands
-- Loading wp-shelltools - v0.0.1
wp-shelltools help
-----------------------------------
help goaccess - Process GridPane logs with goaccess
help backups - List backups for all sites on the server.
help plugins - Lists WordPress plugins on all websites on a GridPane Server
help logcode - Look for specifc HTTP codes in web server logfiles and return top hits.
help gpcron - List sites using GP Cron
help mysqlmem - GridPane monit memory calculation
help logs - tail or show last lines on all GridPane logs.
Examples:
--
wp-shelltools goaccess
wp-shelltools log
- dawn-mover - GridPane's prime-mover recoded but broken, it's a mess.
- docs - Advanced documentation.
- tests - any test data.
- unfinished - code that is untested or needs to be moved into core.
Below is help for the advanced tools.
Add a .debug file to any directory to get debug information.
- Check Log Sizes - debug.log is a culprit in disk usage. Find all occurances and print out size.
- MySQL Database Checks - Check for anomiles, myisam, large table sizes, large databases.
- MySQL Database Report - Largest Databases + more.
- CLI to API - A CLI to the GridPane API.
- Go through unfinished directory code.
- Better documentation
- Place some scripts into functions or separate files not inside root for a cleaner directory structure and code management.
- goaccess: Add filtering for 403 forbidden as they're blocked and not resource intensive
- Managing WP - WordPress Articles and more!
- Managing WordPress - Created and managed by me.
- Managing WordPress Discord - Come and chat about WordPress