Giter VIP home page Giter VIP logo

cpanel-wordpress's Introduction

cPanel plugin: Installer for WordPress

cPanel is a software package that is used to configure and maintain Linux webservers. It’s a really nice package, with lots of integration of services and accounts. I use it at my workplace and am quite satisfied with it.

At my work we use mostly WordPress as a CMS, and we liked to have an installer for WordPress integrated in cPanel. According to the cPanel website, there are 5 different packages which can do that. Simplescripts is a free alternative, but it wasn’t my cup of tea. You have to configure WordPress on the simplescript website, and I don’t like handing over login data like that, especially when I don’t see the need for that. Further I just couldn’t get it working, I just didn’t understand it. All the other installers cost around 50 or 60 Euro’s, and I don’t like to pay that. Also, I don’t need a complete suite of installers, just a WordPress installer. So I built a script myself.

Requirements

There are some requirements to installing and using this plugin:

Linux server
root access
cPanel (ofcourse)
Apache with Su-exec

Installation

At the cPanel website you can generate the plugin file easily, but it’s also included in my zipfile. This wordpress.panelplugin file can be placed in /usr/local/cpanel/whostmgr/docroot/cgi/wordpress.

This file can be installed with 2 commands at the rootshell:

/usr/local/cpanel/bin/rebuild_sprites –force 2>&1 >/dev/null /usr/local/cpanel/bin/register_cpanelplugin /usr/local/cpanel/whostmgr/docroot/cgi/wordpress/wordpress.cpanelplugin

The real plugin, which does the work can then be placed in /usr/local/cpanel/base/frontend/x3/wordpress/. Note the “x3″ in the path. If you’re using a different theme, make sure you place it in the right directory.

Localisation

Currently the php script will download and install the Dutch version of WordPress. You will want to adapt the script for your locale, and check that it all works allright.

Instead of having to wait for half an hour for the upload via ftp to finish, you can now install or update within 10 seconds.

cpanel-wordpress's People

Contributors

mpolleke avatar stefanpejcic 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.