Snippets about ubuntu

2 snippets

Back to all snippets

  1. SNP043

    Create a new user with sudo rights on Ubuntu

    Stop working as root on a fresh server.

    3 lines of sh in 2 blocks, 7 lines of explanation.

  2. SNP041

    Create a swap file on Ubuntu

    Small VPS, no swap, and npm install gets killed. Give it some room.

    7 lines of sh in 3 blocks, 2 lines of explanation.