GithubHelp home page GithubHelp logo

wordpress_install's Introduction

wpinstall.sh

This is a bash script for installing Wordpress. This script will install the latest version of Wordpress. During the installation, you can create the MYSQL database, add and/or delete themes, add and/or delete plugins, install a set of automation scripts, removes default Wordpress pages and posts, set the file and directory permissions, create the NGINX site and activate it, and install Let's Encrypt SSL certificates.

Any of the config settings can be added to a file for quicker installations. The default file is: "/usr/local/sbin/wordpress/wpinstall.conf". Passwords can be saved in the config file but that is NOT recommended and USE at your own RISK. You have been warned!

The script generates random alphanumeric passwords with a default length of 32 characters. Passwords can be modified and are not stored or saved. The admin user name and password that we used dureing the installation are displayed when the script finishes. The admin password is not stored, saved, or remembered, the password can not be recovered. Please save it in a secure password manager.

#Requires:

  • wp-cli that has been renamed or linked to wp
  • mysql (if you want the script to create the database automatically)

#Future

This script could use a couple of changes to make it more configurable.

  • Able to change webserver user from www-data.
  • Change Theme and Plugin to use lists of Themes and Plugins to add/delete.
  • Add apache configuration
  • Add additional databases

wordpress_install's People

Contributors

cdgraham avatar

Watchers

 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.