Skip to content

One click installation for latest wordpress and php versions on ubuntu 1604

License

Notifications You must be signed in to change notification settings

mirzazeyrek/lemp-wordpress-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEMP WORDPRESS STACK

One step installation for latest wordpress and php 7.1 versions on ubuntu 16.04.

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

MANUAL INSTALLATION

Login as root:

    wget https://raw.githubusercontent.com/mirzazeyrek/lemp-wordpress-stack/master/lemp-wordpress-16-04.sh
    bash lemp-wordpress-16-04.sh

DIGITALOCEAN INSTALLATION

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

If you are looking for professional premium help about WordPress Server installation and optimization; feel free to reach me mirzazeyrek (at) gmail.com.

About

One click installation for latest wordpress and php versions on ubuntu 1604

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages