GithubHelp home page GithubHelp logo

orue / ubuntu-webdev-setup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eckhardt-d/ubuntu-webdev-setup

0.0 1.0 0.0 4 KB

A file that documents the setting up of my linux VM for web development.

ubuntu-webdev-setup's Introduction

Setting up my linux machine for web development

Todos

  • Update apt-get
  • Install curl & other essentials
  • Install Google Chrome
  • Download Node Version Manager
  • Install Node LTS version & Latest
  • Install Git
  • Setup Git SSH
  • Install VScode
  • VScode theme
  • VScode settings
  • VScode extensions
    • Live sass compiler
    • Prettier
    • Vetur
    • vscode-icons
  • Install lite-server
  • Install MongoDB & run as service

Commands

  1. sudo apt-get update

  2. sudo apt-get install curl build-essential libssl-dev

  3. curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    sudo dpkg -i google-chrome-stable_current_amd64.deb

  4. curl https://raw.githubusercontent.com/creationix/nvm/v0.35.0/install.sh | bash
    source ~/.profile

  5. nvm install node
    nvm install --lts
    nvm use --lts

  6. sudo apt-get install git-core
    git config --global user.name "Eckhardt-D"
    git config --global user.email "[email protected]"

  7. ssh-keygen -t rsa -b 4096 -C "[email protected]"
    eval "$(ssh-agent -s)"
    ssh-add ~/.ssh/id_rsa

  8. sudo snap install code --classic

  9. npm i -g lite-server

  10. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
    sudo apt-get update
    sudo apt-get install -y mongodb
    sudo nano /etc/systemd/system/mongodb.service

    copy the following into file:

    #Unit contains the dependencies to be satisfied before the service is started.
    [Unit]
    Description=MongoDB Database
    After=network.target
    Documentation=https://docs.mongodb.org/manual
    # Service tells systemd, how the service should be started.
    # Key `User` specifies that the server will run under the mongodb user and
    # `ExecStart` defines the startup command for MongoDB server.
    [Service]
    User=mongodb
    Group=mongodb
    ExecStart=/usr/bin/mongod --quiet --config /etc/mongodb.conf
    # Install tells systemd when the service should be automatically started.
    # `multi-user.target` means the server will be automatically started during boot.
    [Install]
    WantedBy=multi-user.target

    systemctl daemon-reload
    sudo systemctl start mongodb

    check if running sudo systemctl status mongodb

    run mongo on startup sudo systemctl enable mongodb

    create user mongo -u admin -p <password> --authenticationDatabase admin

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.