Code Monkey home page Code Monkey logo

aclark-net-2017-1's Introduction

ACLARK.NET, LLC Website

image

AWS

Ubuntu 16.04.1 LTS
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install aptitude awscli graphviz graphviz-dev jq letsencrypt \
    libpq-dev libxml2 libxml2-dev libxslt-dev make nginx pkg-config       \
    libgdal-dev \
    postgresql python python-pip python3 python3-pip python-virtualenv    \
    python3-virtualenv python-dev -y
sudo aptitude upgrade -y

systemd

sudo systemctl enable /srv/aclarknet-website/systemd/www.service 
sudo systemctl start www.service 

NGINX

cd /etc/nginx/sites-enabled
sudo ln -s /srv/aclarknet-website/nginx/www

Letsencrypt

sudo certbot certonly
Saving debug log to /var/log/letsencrypt/letsencrypt.log

How would you like to authenticate with the ACME CA?
-------------------------------------------------------------------------------
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
-------------------------------------------------------------------------------
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Please enter in your domain name(s) (comma and/or space separated)  (Enter 'c'
to cancel):aclark.net
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for aclark.net
Waiting for verification...
Cleaning up challenges

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at
   /etc/letsencrypt/live/aclark.net/fullchain.pem. Your cert will
   expire on 2017-10-06. To obtain a new or tweaked version of this
   certificate in the future, simply run certbot again. To
   non-interactively renew *all* of your certificates, run "certbot
   renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

Django

If memory < 1G, increase swap before installing.1

sudo dd if=/dev/zero of=/swapfile bs=1024 count=524288
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

Then:

git clone [email protected]:ACLARKNET/aclarknet-website.git
sudo mv aclarknet-website /srv
cd /srv/aclarknet-website
virtualenv --python=python3 .
bin/pip install -r requirements.txt

  1. http://stackoverflow.com/a/26762938/185820

aclark-net-2017-1's People

Contributors

aclark4life avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.