Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.71 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.71 KB

WPInstall

Build Status stability-experimental Docker support: present License: GPL v3

This script configures LEMP stack on Ubuntu machine and installs the latest WordPress.

How to use.

  • Clone the repo in a directory.

    $ git clone https://github.com/bhavin192/wpinstall
    $ cd wpinstall
  • Modify the file nginx.conf if you want to customize the site configuration.

  • Make the script executable.

    $ sudo chmod +x wpinstall.sh
  • Run the script, it will ask for domain name of the site.

    $ sudo ./wpinstall.sh

    or you can specify the domain name as command line argument

    $ sudo ./wpinstall.sh --domain "wp.example.com"
  • Log is stored in the file wpinstall.log

  • After successful execution of the script, open the displayed link in a browser to complete further setup.

This script works but has lot of work to be done in order to ensure if WordPress is installed correctly. Tested on Ubuntu 16.04 LTS (xenial) instance of GCP and AWS.

Using Docker

To setup WordPress on LEMP stack using Docker see the docker-setup directory.

Licensing

WPInstall is licensed under GNU General Public License v3.0. See LICENSE for the full license text.