One click installation for latest wordpress and php versions on ubuntu 1604
Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 5 commits behind mirzazeyrek:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
AbhishekGhosh-16-04.sh
LICENSE
README.md
do-14-04.sh
lemp-wordpress-16-04.sh

README.md

LEMP WORDPRESS STACK

One click installation for latest wordpress and php 7.0 versions on ubuntu 16.04

This file is only tested on DigitalOcean. Please feel free to contribute on further development and please report issues.

Use this user script while creating the droplet:

image

#cloud-config
chpasswd:
  list: |
    root:yourrootpassword
  expire: False
runcmd:
- wget https://raw.githubusercontent.com/mirzazeyrek/lemp-wordpress-stack/master/lemp-wordpress-16-04.sh
- chmod +x lemp-wordpress-16-04.sh
- ./lemp-wordpress-16-04.sh

Your passwords will be stored in /root/mysql_passwd.txt

If you want to set different web site and subfolder for installation edit those lines:

    # leave sub_folder empty if you don't want to make installation to a sub_folder
    #sub_folder=""
    #web_address="localhost"
    # for making an installation to www.mywebsite.com/myblog/
    sub_folder="myblog"
    web_address="www.mywebsite.com"

Upload the edited file somewhere and use it for your installation and please make sure you have set the correct settings for the file:

1- Unix line endings.

2- UTF-8 WITHOUT BOM.

#cloud-config
chpasswd:
  list: |
    root:yourrootpassword
  expire: False
runcmd:
- wget https://yourwebsite.com/edited-lemp-wordpress-16-04.sh
- chmod +x edited-lemp-wordpress-16-04.sh
- ./edited-lemp-wordpress-16-04.sh