https://github.com/bhavin192/wpinstall
bash script to install WordPress on Ubuntu
https://github.com/bhavin192/wpinstall
lemp-stack ubuntu wordpress
Last synced: 8 months ago
JSON representation
bash script to install WordPress on Ubuntu
- Host: GitHub
- URL: https://github.com/bhavin192/wpinstall
- Owner: bhavin192
- License: gpl-3.0
- Created: 2017-08-21T18:18:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T18:15:17.000Z (over 7 years ago)
- Last Synced: 2025-04-24T01:41:45.711Z (10 months ago)
- Topics: lemp-stack, ubuntu, wordpress
- Language: Shell
- Size: 61.5 KB
- Stars: 5
- Watchers: 2
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WPInstall
[](https://travis-ci.org/bhavin192/wpinstall)  [](https://www.docker.com/what-docker) [](https://www.gnu.org/licenses/gpl-3.0)
This script configures LEMP stack on Ubuntu machine and installs the latest WordPress.
### How to use.
- Clone the repo in a directory.
```sh
$ 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.
```sh
$ sudo chmod +x wpinstall.sh
```
- Run the script, it will ask for domain name of the site.
```sh
$ sudo ./wpinstall.sh
```
or you can specify the domain name as command line argument
```sh
$ 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`](https://github.com/bhavin192/wpinstall/tree/master/docker-setup) directory.
## Licensing
WPInstall is licensed under GNU General Public License v3.0. See [LICENSE](https://github.com/bhavin192/wpinstall/blob/master/LICENSE) for the full license text.