Recognition

Contributions

20 Contributions
  • Published Question

    An external tool to email/phone-message me if my site is down

    I have a few WordPress apps on a Ubuntu-Nginx server environment I host here in DO. Sometimes I don't visit a site for a long time (>=1 month) and it might be that the site is down. I'm looking for a humble payless se...
    2 By benqzq Data Analysis Ubuntu 16.04
  • Published Tool

    uncwe

    A bootstrapper for (DigitalOcean) Ubuntu-Nginx-CertBot-WordPress-Environment.
    By benqzq Linux Commands Nginx LEMP Scaling WordPress
  • Published Question

    Four-lines script to make an immediate DB and document root zip backup

    What do you think of my four-lines script to make an immediate DB and document root zip backup? Any flaw you might find. Please inform me of it: #!/bin/bash mysqldump -u root -p --all-databases | zip ${drt}/db-$(date ...
    1 By benqzq Linux Commands Ubuntu 16.04
  • Published Question

    Please review my small Ubuntu-Nginx-CertBot-WordPress script

    Please review my small Ubuntu-Nginx-CertBot-WordPress script here: https://codereview.stackexchange.com/questions/186788/create-a-wordpress-site-data-with-nginx-app-data-automatically
    1 By benqzq WordPress Ubuntu 16.04
  • Published Question

    Does OPcode caching on by default in PHP 7 ?

    Does OPcode caching on by default in PHP 7 ? I can't test right now but it is important to me to know if it is, and if not, what is the fastest way to enable it? Maybe by some PHP CLI command / sed operation?
    1 By benqzq PHP Ubuntu 16.04
  • Published Question

    What do you think on my Nginx-Ubuntu project?

    I wrote the following Nginx-Ubuntu project (https://github.com/benqzq/unse) called UNSE aimed to establish a minimal, but well-equipped Ubuntu-Nginx LEMP environment on DigitalOcean droplets. You are welcome to share ...
    1 By benqzq Nginx Ubuntu 16.04
  • Published Question

    Unix read value validation

    I use this code to store a password variable in the current script: read -sp "What's your DB user password?" dbuserp Is there a way to change the command to ask for the password twice and check matching? All in one ...
    1 By benqzq Miscellaneous Debian
  • Published Answer

    Global Nginx conf breaks the server

    The dots where there only for example, but it seems my entire approach here was wrong. I had to use the file `etc/sites-available/d…
    Accepted Answer: The dots where there only for example, but it seems my entire approach here was wrong. I had to use the file `etc/sites-available/d…
    By benqzq
  • Published Answer

    "Can't authenticate you" error when trying to run a DigitalOcean API command

    Javier from the DO support team helped me with this. I’ll now quote his response: I appreciate you contacting us with this iss…
    Accepted Answer: Javier from the DO support team helped me with this. I’ll now quote his response: I appreciate you contacting us with this iss…
    By benqzq
  • Published Question

    "Can't authenticate you" error when trying to run a DigitalOcean API command

    I tried to run this command for rebuilding my droplet: curl -X POST "https://api.digitalocean.com/v2/droplets/MY_DROPLET_ID/actions" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer MY_API_TOKEN" \ -...
    Accepted Answer: Javier from the DO support team helped me with this. I'll now quote his response: I appreciate you contacting us with this issue. Sorry to hear about this case. Currently, the "Can't authenticate you" error specifical...
    2 By benqzq API Ubuntu 16.04
  • Published Question

    Working with long DIgitalOcean API commands

    I have this very long and heavy DigitalOcean API command to rebuild droplet (I have a mistake there which I'm trying to figure out but it's just for example to longevity problem). I think it would be better of to work...
    Accepted Answer: Breaking it up into multiple lines definitely makes it more readable and easier to understand. You might also be interested in looking at the doctl command line tool (https://www.digitalocean.com/community/tutorials/h...
    1 By benqzq API Ubuntu 16.04
  • Published Question

    Variable substitution fails for exported variable

    While in my home directory, I ran export drt="/var/www/html". I then sourced a script (script 1) that in between other commands, also sources another script (script 2): #!/bin/bash find ${drt}/ -type f -iname "*phpmya...
    1 By benqzq Linux Commands Ubuntu 16.04
  • Published Question

    Variables aren't expanded inside a script

    I establish LEMP on pure Ubuntu droplets with the following script: ``` !/bin/bash ufw --force enable && ufw allow 22,25,80,443,9000/tcp apt-get update -y && add-apt-repository ppa:certbot/certbot -y && apt-get update...
    1 By benqzq Nginx Ubuntu 16.04
  • Published Question

    Lighter, simpler webserver than Nginx?

    Is there a lighter, simpler-to-configure webserver which is more of a out of box product than Nginx (or Apache2)? Is there some kind of underdog to these two? Software in which running PHPmyadmin or WordPress confs w...
    Accepted Answer: Not necessarily easier to config. I really do not think you are going to get easier to config then NGINX aside from one button installs but there is this very light webserver. http://monkey-project.com/
    2 By benqzq Nginx Ubuntu 16.04
  • Published Question

    Global Nginx conf breaks the server

    I have a Ubuntu 16.04 droplet: It's a pure all-default LEMP environment. I've added the following global conf to the http block inside nginx.conf. The purpose is to cover app all apps (WordPress apps and PHPmyadmin) i...
    Accepted Answer: The dots where there only for example, but it seems my entire approach here was wrong. I had to use the file etc/sites-available/default instead (without changing the nginx.conf). That's my current conf in the default...
    2 By benqzq Nginx Ubuntu 16.04
  • Published Answer

    I fail to understand why PHPmyadmin is forbidden in Nginx

    Strange, I can suddenly access PMA login screen without WSOD and without any problem, from any browser. Without any Nginx conf f…
    By benqzq
  • Published Question

    I fail to understand why PHPmyadmin is forbidden in Nginx

    I fail to understand why entrance to PHPmyadmin is forbidden (http://my_ip/phpmyadmin). Here's what I did to install it: On a pure Ubuntu 16.04 machine (server, xenial) I've installed LEMP this way (MySQL root passwor...
    4 By benqzq Nginx Ubuntu 16.04
  • Published Question

    Please review my 12 lines Ubuntu-Nginx environment script

    Please review my 12 lines Ubuntu-Nginx environment script: ```sh !/bin/bash ufw --force enable && ufw allow 22,25,80,443,9000/tcp apt-get update -y && add-apt-repository ppa:certbot/certbot -y && apt-get update -y apt...
    1 By benqzq Nginx Ubuntu 16.04
  • Published Question

    Installing mod_deflate. I already published in AskUbuntu; I invite anyone to answer

    http://askubuntu.com/questions/856930/what-is-the-most-basic-way-to-install-mod-deflate-in-apache-2-4-on-an-ubuntu-16 Moderator Edit: The linked question has been added below for reference. ``` I want to emphasis the...
    1 By benqzq Apache Ubuntu 16.04
  • Published Question

    Configuring Apache Modsecurity with an auto-updated Comodo rule set soft

    We need a SHORT article aimed for newbies on how to integrate auto-updated Comodo rule set software with Apache Modsecurity. I found the following article here on DO (https://www.digitalocean.com/community/tutorials/h...
    1 By benqzq Security Ubuntu