Giter Site home page Giter Site logo

bb-infrastructure's Introduction

bb-infrastructure

Server

System

journalctl -xe

  • Ports One way to find the process using the address is to use the lsof command: sudo lsof -i :2019

Updates

Server

Server is currently running on Ubuntu 20.04.5 LTS

  • Update the package list to get latest information about available packages.
sudo apt update
  • Update installed packages to their latest version.
sudo apt upgrade
  • Remove unused packages that where automatically installed as dependencies and are not longer used.
sudo apt autoremove
  • Restart the server.
sudo reboot

Node

sudo which node

Output should be: /usr/local/bin/node

which node

Output should be: /root/.nvm/versions/node/SOME_NODE_VERSION/bin/node

When updating the node version with nvm the symbolic link has to be changed to the output from which node.

  • set a symbolic link
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/node" "/usr/local/bin/node"
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/npm" "/usr/local/bin/npm"

When you than execute ls -al /usr/local/bin/node the output should be the following

lrwxrwxrwx 1 root root 42 Oct 21 10:27 /usr/local/bin/node -> /root/.nvm/versions/node/v18.18.2/bin/node

Links

caddy

Keep Caddy running: More information

  • Caddy systemctl status caddy.service

Logfiles

sudo journalctl -u caddy -f

build hook

bb-infrastructure's People

Contributors

schrenkk avatar

Watchers

Kilian Schrenk 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.