GithubHelp home page GithubHelp logo

infinityonlinesolutions / cpanel-wp-management Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marioknight/cpanel-wp-management

0.0 0.0 0.0 152 KB

WordPress Management for cPanel Servers contains a series of scripts designed to easily manage WordPress sites server-wise as opposed to an individual basis.

Shell 100.00%

cpanel-wp-management's Introduction

cPanel-wp-management

WordPress Management for cPanel Servers contains a series of scripts designed to easily manage WordPress sites server-wise as opposed to an individual basis. These are indended to be used by admins of cPanel servers where all or many accounts use WordPress as their CMS. They can be used to find information or apply updates at a much faster rate than other current methods.

Requirements

  1. cPanel server with root/su access
  2. WP-CLI - see http://wp-cli.org/ for installation instructions

These scripts cycle through all accounts on the server, assuming they use WordPress on the account's main site. Accounts can be excluded from these scripts by editing the "nonwp" file. While these scripts should be called with su/root privliges, they will actually be run under each individual user account as they cycle. Therefore accounts wished to utilize these scripts must have shell access enabled.

Scripts and Instructions

./wp-verify.sh - Checks the checksums of WP core files versus wordpress.org .

./wp-version.sh - Shows the current version of WordPress installed.

./plugin-status.sh - Lists all of the plugins and their statuses.

./plugin-update.sh *plugin name* - Searches for the inputted plugin with the accounts and updates it if it is found. This must be entered as the plugin's folder name. For example, "wordpress-seo" should be used rather than "Yoast SEO": ./plugin-update.sh wordpress-seo

./plugin-search.sh *plugin name* - Searches the accounts for the inputted plugin and returns its status for each account. This must be entered as the plugin's folder name.

./plugin-install.sh *plugin name - Will install and activate the inputted plugin from the Wordpress.org repo to each account. This must be entered as the plugin's folder name.

./plugin-remove.sh *plugin name* - Will deactivate and uninstall the inputted plugin from the accounts. This must be entered as the plugin's folder name.

./theme-status.sh - Lists all of the themes and their statuses.

./theme-update.sh *theme name* - Searches for the inputted theme with the accounts and updates it if it is found. This must be entered as the theme's folder name.

./theme-search.sh *theme name* - Searches the accounts for the inputted theme and returns its status. This must be entered as the theme's folder name.

./update-wp.sh *version number* - Updates WP core and database to the given version number.

./auto-plugin.update.sh - Updates all plugins that have updates available on the account.

./auto-theme-update.sh - Updates all themes that have updates available on the account.

cpanel-wp-management's People

Contributors

marioknight avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.