Giter Club home page Giter Club logo

wordpress-setup's Introduction

wordpress-setup

Shell Script to setup WordPress and LEMP stack on Ubuntu

How To Use

  1. Clone or Download the project from https://github.com/shaharao/wordpress-setup.git
  2. Navigate to the project directory.
  3. Enter the required nginx configuration for the site in the nginx.conf file.
  4. Execute the script using the command ./wpsetup.sh.
  5. If no error occurs, your site can be accessed in the browser by entering your domain name.
Note: The script is by default executable. If problem occurs while executing the script, make the file wpsetup.sh executable by using the command chmod +x wpsetup.sh.

Tested on a Ubuntu 17.04 VM and AWS EC2 instance, works fine. But a lot of enhancement are to be done.

wordpress-setup's People

Contributors

shahajishinde avatar

Watchers

 avatar

wordpress-setup's Issues

Error while installing packages

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

probably because of missing apt-get update ?

No salts in the wp-config.php

Can't figure out a method to add secure values generated by WordPress secret key generator in the wp-config.php file

Logs are not stored inside logs directory

Logs are stored in current directory instead of logs directory

bhavin192@test-wp:~/wordpress-setup$ ls
installation.log  nginx.conf  README.md      wp-config.php
mysql.log         nginx.log   wordpress.log  wpsetup.sh

No logs directory in repository

ubuntu@ip-172-31-24-50:~/wordpress-setup$ ./wpsetup.sh 
Removing old logs...
rm: cannot remove 'logs/*.log': No such file or directory
Updating system. This may take time...
./wpsetup.sh: line 110: logs/installation.log: No such file or directory

Cause-
Empty 'logs' directory is not pushed to origin.

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.