Recognition

Posts

20 Posts
  • Published Question

    Nginx still showing on homepage, even after droplet rebuild

    So this is weird. I have been playing around with Docker on a Centos7 droplet, I also installed Nginx locally to use as reverse proxy. I later decided to remove it which I did with yum remove. However there still seem...
    1 By easycompany80 Nginx CentOS
  • Published Answer

    Cant access mysql root on new Centos server

    Just removed mariadb and reinstalled it and did I think I did something wrong at the setup phase after the mysqlsecureinstallatio…
    Accepted Answer: Just removed mariadb and reinstalled it and did I think I did something wrong at the setup phase after the mysqlsecureinstallatio…
    By easycompany80
  • Published Question

    Cant access mysql root on new Centos server

    I just created a new Centos VPS and then followed the LAMP setup tutorial. I now want to install Wordpress via SSH (I dont want to do the one click installation process)and I need to login to Mysql to create a new db ...
    Accepted Answer: Just removed mariadb and reinstalled it and did I think I did something wrong at the setup phase after the mysqlsecureinstallation part, this time I set a pw for root and I can now login.
    5 By easycompany80 MySQL CentOS
  • Published Answer

    Trying to point domain to my VPS and getting a 400 error

    OK, think I figures it out, it seems my settings.py didnt have the DEBUG = setting in at all, I must have deleted it by accident at…
    Accepted Answer: OK, think I figures it out, it seems my settings.py didnt have the DEBUG = setting in at all, I must have deleted it by accident at…
    By easycompany80
  • Published Answer

    Trying to point domain to my VPS and getting a 400 error

    thanks for the answers guys, to clarify what I have setup: Django settings.py allowed hosts: ALLOWED_HOSTS = [‘128.199.120.16…
    By easycompany80
  • Published Question

    Trying to point domain to my VPS and getting a 400 error

    I have a Django site on Nginx/Ubuntu here: http://128.199.120.162/ I have a domain codego.co with Godaddy that I have already pointed towards the DigitalOcean name servers. I have followed the DO tutorial for this and...
    Accepted Answer: OK, think I figures it out, it seems my settings.py didnt have the DEBUG = setting in at all, I must have deleted it by accident at one point, never knew it was so critical!
    3 By easycompany80 Nginx Django Ubuntu 16.04
  • Published Answer

    Need some help completing deployment of Django site on Nginx from local computer

    Found the problem, my directory structure was causing this I think as I had too many folders within folders and not named correctly…
    Accepted Answer: Found the problem, my directory structure was causing this I think as I had too many folders within folders and not named correctly…
    By easycompany80
  • Published Answer

    Need some help completing deployment of Django site on Nginx from local computer

    I have setup uwsgi logging from the answer here: https://www.digitalocean.com/community/questions/how-to-check-error-logs-for-fl…
    By easycompany80
  • Published Answer

    Need some help completing deployment of Django site on Nginx from local computer

    and could file ownership be the problem? This is what ls -ld gives me: drwxr-xr-x 3 root root 4096 Feb 5 04:28 /home drwxr-x…
    By easycompany80
  • Published Answer

    Need some help completing deployment of Django site on Nginx from local computer

    OK, I seem to be getting something back from Nginx error logs now: 2017/02/15 09:28:38 [error] 25498#25498: *97 connect() to uni…
    By easycompany80
  • Published Answer

    Need some help completing deployment of Django site on Nginx from local computer

    I already tried that but nothing is returned when I run it and also the log file itself seems to be empty when I open it, is that n…
    By easycompany80
  • Published Question

    Need some help completing deployment of Django site on Nginx from local computer

    I followed this tutorial for setting up uwsgi and Nginx on Ubunutu https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04 The guide shows how to setup tw...
    Accepted Answer: Found the problem, my directory structure was causing this I think as I had too many folders within folders and not named correctly, after removing everything in the Env and starting again for that Django install but ...
    6 By easycompany80 Django Nginx Ubuntu 16.04
  • Published Answer

    New Django site on Nginx went to 502 few days after setup

    Thanks for the detailed answer, I did all that for ufw and now this is whats allowed: To Action Fro…
    By easycompany80
  • Published Question

    New Django site on Nginx went to 502 few days after setup

    I set up a django site on a new droplet with Uwsgi and Niginx a few days ago following this tutorial https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-...
    2 By easycompany80 Nginx Django Ubuntu 16.04
  • Published Answer

    Whats the best way to update my Django site on DigitalOcean?

    OK great thanks
    By easycompany80
  • Published Question

    Whats the best way to update my Django site on DigitalOcean?

    I have a basic website that I have in Git, recently I created an Ubuntu droplet here on DO and then cloned my site from git in the new server and finished setting it up running on Nginx. I have since then made changes...
    Accepted Answer: Either option would work. I would recommend using a git pull to pull the updates to your master branch since this will also clean up any files that have been removed. Using FTP/SFTP would simply copy the new files o...
    3 By easycompany80 Django Ubuntu 16.04
  • Published Question

    Cant ssh into server

    I setup a new droplet about 36hrs ago and followed the tutorials here on DO to create the ssh keys for my local computer. I logged out and then back in after to make sure it worked and I must have logged out and back ...
    3 By easycompany80 Server Optimization Ubuntu 16.04
  • Published Question

    Nginx 502 bad gateway (Python app)

    I have been following this tutorial to get a simple Python app working with NGINX and uwsgi on an Ubuntu server https://www.digitalocean.com/community/tutorials/how-to-set-up-uwsgi-and-nginx-to-serve-python-apps-on-ub...
    Accepted Answer: I think that this may be where you ran into trouble: Create an Upstart File to Manage the App The tutorial you linked to is specific to Ubuntu 14.04 but your question is tagged 16.04. Between these releases, Ubuntu s...
    1 By easycompany80 Nginx Ubuntu 16.04
  • Published Answer

    Problems with the 'How To Set Up uWSGI and Nginx to Serve Python Apps' tutorial

    I think I have found the solution, I had followed the DO server firewall tutorial and only had ports 22 and 80 allowed with ufw so …
    Accepted Answer: I think I have found the solution, I had followed the DO server firewall tutorial and only had ports 22 and 80 allowed with ufw so …
    By easycompany80
  • Published Question

    Problems with the 'How To Set Up uWSGI and Nginx to Serve Python Apps' tutorial

    I'm going this tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-uwsgi-and-nginx-to-serve-python-apps-on-ubuntu-14-04 Im up to the part where this command needs to be run uwsgi --socket 0.0.0.0...
    Accepted Answer: I think I have found the solution, I had followed the DO server firewall tutorial and only had ports 22 and 80 allowed with ufw so just added 8080 and now works.
    1 By easycompany80 Django Nginx Ubuntu