Git Product home page Git Product logo

portfolio-v2's Introduction

PortfolioServer

Node Server Code used for my portfolio site, which is customized from the Node-Skeleton repo

Setup

  • adduser <username>
    • to create a new user and make a /home directory
  • usermod -aG sudo <username>
    • to add user to sudoers
  • su <username>
    • to login as that user
  • mkdir ~/.ssh
    • to create our ssh directory
  • nano ~/.ssh/authorized_keys
    • and paste the .pub ssh key
  • nano ~/.ssh/github
    • paste github private key for easy use
  • echo "IdentityFile ~/.ssh/github" >> ~/.ssh/config
    • save the github key permanently
  • sudo chmod 600 ~/.ssh/github
    • set correct file permissions
  • sudo sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config
    • to set root login to off
  • sudo sed -i 's/PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
    • to set logging in with a password off
  • sudo service ssh restart
    • to update ssh
  • sudo ufw allow <port>
    • for each service we want
  • sudo ufw enable
    • to start the firewall

portfolio-v2's People

Contributors

tbauer516 avatar

Watchers

James Cloos avatar  avatar

portfolio-v2's Issues

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.