skip to Main Content

sudo: aws: command not found – CentOS

Installed aws cli 2 on my Centos machine. Added PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin" to /etc/environment. Most of the cases aws command can be called successfully. However, when using sudo aws, it shows command not found. Below are all the scenarios. Any idea? [centos@ip-172-20-x-x…

VIEW QUESTION

Upgrade NGNIX version on MacOS – Nginx

I have the current version of ngnix of: nginx -v nginx version: nginx/1.15.6 now I want to upgrade it, but do not know how? I have found these resources: https://medium.com/@soban1193/upgrading-nginx-to-the-latest-version-on-ubuntu-c0ad9116cf87 and https://www.digitalocean.com/community/questions/how-to-update-nginx-and-should-i-update-it but they seem for upgrade using ubuntu commands.…

VIEW QUESTION

AWS ELB keeps returning 404 Health checks failed with these codes: [404] – Nginx

I'm serving my node js application with pm2. nginx.conf file is user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; # Load dynamic modules. See /usr/share/doc/nginx/README.dynamic. include /usr/share/nginx/modules/*.conf; events { worker_connections 1024; } http { log_format main '$remote_addr - $remote_user [$time_local]…

VIEW QUESTION
Back To Top
Search