Linux serverNETWORK ADMINISTRATIONS

Django 1.7 Server Build – CentOS 7 hosted on Linode

Full Django 1.7 server build on CentOS 7 hosted on Linode. This tutorial walks through the entire process from purchasing the server to having a fully functioning django website deployed in production.

http://HackedExistence.com

source

centos 7

17 thoughts on “Django 1.7 Server Build – CentOS 7 hosted on Linode

  • This is exactly what I was searching for. Thank you!

  • thanks a lot mate, specially for helping set up the server

  • Terrific video, i've just subscribed and liked … but one question: it is not letting me do the port forwarding … when i try to log in with :ssh -L 8888:localhost:80 -l <my user/ip> … it does not let me login .. but responds with a list of commands from the "man page" of the ssh command. any idea how to fix that?

  • If you're watching this after July 2016, 'syncdb' has been replaced with 'migrate' (30:00). Hopefully this will save you the headache that it caused me.

  • How different is this process when doing this on ubuntu server???? Thanks for the great tutorial.

  • Great walkthrough- whats the effort/reward on doing it yourself versus finding a host server who you trust?

  • Thanks a lot for your effort , it was really useful for me ,

  • Thank you so much for this video. you're awesome!

  • Just FYI, when you have to 'mkdir' a bunch of nested directories that don't exist, you can use 'mkdir -p /path/to/nonexistent/directory/tree' to create all of them.

  • I ran into a problem let me start by saying I am a noob,
    When I ran "sudo apachectl restart" it gave me an error:
    "Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details."

    when I ran journalctl -xn it states that "no files were found"
    when I ran "sudo systemctl status httpd.service" I recieved:

    "httpd.service – The Apache HTTP Server
       Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
       Active: failed (Result: exit-code) since Tue 2015-05-19 07:24:29 SGT; 1min 27s ago
      Process: 12590 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
      Process: 12589 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
     Main PID: 12589 (code=exited, status=1/FAILURE)

    May 19 07:24:29 synapticenhancements httpd[12589]: AH00526: Syntax error on line 119 of /etc/httpd/conf/h…onf:
    May 19 07:24:29 synapticenhancements httpd[12589]: DocumentRoot must be a directory
    May 19 07:24:29 synapticenhancements systemd[1]: httpd.service: main process exited, code=exited, status=…LURE
    May 19 07:24:29 synapticenhancements kill[12590]: kill: cannot find process ""
    May 19 07:24:29 synapticenhancements systemd[1]: httpd.service: control process exited, code=exited status=1
    May 19 07:24:29 synapticenhancements systemd[1]: Failed to start The Apache HTTP Server.
    May 19 07:24:29 synapticenhancements systemd[1]: Unit httpd.service entered failed state.
    Hint: Some lines were ellipsized, use -l to show in full.

  • Absolutely great tutorial!  Enjoyed learning the behind the scenes setup for django.  Thanks!

  • Thanks for superbs tutorial, but why on earth did you use CentOs? Why not Ubuntu or Debian? Is CentOs better than debian based distros?

  • can you please help me on wifi pineapple about this sslsplit??? how its working

Comments are closed.