Coder Social home page Coder Social logo

virtubox / wo-nginx-setup Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 4.0 33 KB

Bash script to setup optimized WordOps

Home Page: https://virtubox.github.io/wo-nginx-setup/

License: MIT License

Shell 100.00%
automation bash-script install-script lemp-stack nginx nginx-configuration wordpress

wo-nginx-setup's People

Contributors

adsoncicilioti avatar virtubox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wo-nginx-setup's Issues

unary operator expected

Used the script on Newly Ubuntu 18.04 LTS.

Got this in the log:

create mode 100644 7.2/mods-available/bz2.ini
create mode 100644 7.2/mods-available/intl.ini
./wo-nginx-setup.sh: line 656: [: =: unary operator expected
./wo-nginx-setup.sh: line 662: [: =: unary operator expected
./wo-nginx-setup.sh: line 668: [: =: unary operator expected
##########################################

errors execution script

hello @VirtuBox I know that you are working at this moment in this project, we are happy with your commitment.

To test the script some errors that may help you.

#wo stack install:
not install phpmyadmin
,adminer not install
#Downloading Adminer Unable to download file, /var/www/22222/htdocs/db/adminer/index.php

#directory not create
##########################################
Configuring Nginx
##########################################
cp: target '/etc/nginx/common/' is not a directory

####################################
Checking Nginx configuration
####################################
####################################
Reloading Nginx
####################################
####################################
Reloading UFW
####################################
Firewall not enabled (skipping reload)
[master 6a4d25e] update nginx.conf and setup cloudflare visitor real IP restore
2 files changed, 190 insertions(+), 142 deletions(-)
rewrite nginx.conf (83%)
grep: /etc/nginx/sites-available/22222: No such file or directory

root@vultr:/wo-nginx-setup# wo --version
WordOps v3.9.2
Copyright (c) 2018 WordOps.
root@vultr:
/wo-nginx-setup#

the lack of common folder is impossible to create redis sites

mariadb

in your script mariadb is installed before wordOps, does it have any difference in relation to mariadb installed by wordOPs?

running script with root

@VirtuBox all right ?!

I need to run the wo-nginx-setup script without these lines:

##################################

SSH Keys check

##################################

if [-d $ HOME / .ssh]; then
     ecdsa_keys_check = $ (grep "ecdsa-sha2" -r $ HOME / .ssh)
     rsa_keys_check = $ (grep "ssh-rsa" -r $ HOME / .ssh)
     ed25519_keys_check = $ (grep "ssh-ed25519" -r $ HOME / .ssh)
     if [-z "$ ecdsa_keys_check"] && [-z "$ rsa_keys_check"] && [-z "$ ed25519_keys_check"]; then
         echo "This script requires to use ssh keys authentification. Please make sure you have properly added your public ssh keys into .ssh / authorized_keys"
         exit 1
     fi
else
     echo "This script requires to use ssh keys authentification. Please make sure you have properly added your public ssh keys into .ssh / authorized_keys"
     exit 1
fi

I removed the same from the script, however when the installation and finished wordops is not installed.
Do I need to remove any others to succeed in the root installation?

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.