-
Published Question
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
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
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
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
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
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
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
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
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
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
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
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
Thanks for the detailed answer, I did all that for ufw and now this is whats allowed:
To Action Fro…
•
By
easycompany80
-
Published Question
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
OK great thanks
•
By
easycompany80
-
Published Question
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...
4
•
•
By
easycompany80
Django
Ubuntu 16.04
-
Published Question
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
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
Python
Ubuntu 16.04
-
Published 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 …
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
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
Python
Django
Nginx
Ubuntu