Welcome to Lexnet.cc 👋

How to Setup a GPS NTP Server using a Raspberry Pi 3B

Prerequisites Raspberry Pi 3B with Raspberry Pi OS installed (Lite or Desktop version). GPS module (e.g., u-blox module or similar). 5 GPIO Jumper Cables Access to the Pi via SSH or a connected monitor, keyboard, and mouse. Step 1: Hardware Setup Connect the GPS module to the Raspberry Pi: GPS to Raspberry Pi pin connections: VCC (or VIN) → Pin 2 or 4 (5V) on the Raspberry Pi. GND → Pin 6 (Ground) on the Raspberry Pi. TX → Pin 10 (GPIO 15, UART RX) on the Raspberry Pi. RX → Pin 8 (GPIO 14, UART TX) on the Raspberry Pi. PPS → Pin 12 (GPIO 18) on the Raspberry Pi. Step 2: Update the Raspberry Pi OS Before proceeding, make sure your Raspberry Pi is fully up to date. ...

October 5, 2024

How To Setup CrowdSec on Debian

Information CrowdSec is an open-source and powerful security tool that protects your infrastructure against cyber attacks and brute-force attempts. In this article, we will guide you through the process of setting up CrowdSec on Debian. Step 1: Update the System Before beginning the installation process of CrowdSec, you must first update your Debian system. This will ensure that you have the latest updates and dependencies required by CrowdSec. To do this, open the terminal and run the following command: ...

January 28, 2024

How To Setup HAProxy as a Load Balancer on Ubuntu or Debian

Information HAProxy is a free, very fast and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers a significant portion of the world’s most visited ones. Over the years it has become the de-facto standard opensource load balancer, is now shipped with most mainstream Linux distributions, and is often deployed by default in cloud platforms ...

January 24, 2024

How To Add Swap Space on Ubuntu or Debian

Information Swap space is a space on a hard disk that is a substitute for physical memory. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM. Swap space is located on hard drives, which inherently have a slower access time than physical memory. ...

January 20, 2024

How to setup a standalone Minio Node on Ubuntu or Debian using Docker-Compose

Server Requirements Minio’s offical requirements are .. a lot however I’ve managed to run it for the past several months in non-production on nodes with the following hardware. vCPU: 1+ RAM: 512MB+ # 512MB+ Swap also needed) HDD: 10GB+ # it's S3 storage, you'll want lots lets be real Step 1 – Install docker & docker-compose Firstly update your system, on Debian you can use the below command. apt-get update && apt upgrade Then install docker if it’s not already installed, I use typically use the docker install script found at github.com/docker/docker-install ...

January 18, 2024

How to Setup a SOCKS5 Proxy on Debian

Server Requirements Tested on Ubuntu 20.04 & Debian 11. Nice & simple for this one, all you’ll need is about 64MB of RAM & a single vCPU, you can probably do this on a 32MB LXC Container but goodluck running apt-get on that sucker. Step 1 – Update the system Firstly update your system, on Debian you can use the below command. apt-get update && apt upgrade Step 2 – Installing Dante We’ll use Dante for this guide, Dante is an open-source SOCKS proxy server. ...

January 15, 2024

How to Setup a Discord Musicbot on Ubuntu or Debian using Docker-Compose

Server Requirements We’ll be using Redbot (a multi purpose open-source discord bot) for this guide, server requirements aren’t offically posted so I recommend the following: vCPU: 1+ Core RAM: 1GB+ (512mb swap or more) Disk Space: 10GB+ From the official Redbot documents: Docker support found in GitHub is also a work in progress and not ready for daily use. Workarounds for getting Red running on those platforms are imperfect due to Red’s nature. You will not be able to receive support if an issue occurs when hosting on any of these platforms. ...

January 13, 2024

How to Setup a Lavalink Server on Ubuntu or Debian using Docker-Compose

Server Requirements I’ve noticed CPU usage tends to be fairly high once you have more than a few concurrent streams happening at the same time, so if you’re planning on running a public node then you’ll either want more than 1 vCPU or a high frequency vCPU such as an 11th GEN or higher Intel Core or the equivilent Ryzen. 1GB+ of RAM is recommended aswell as 10GB of disk space. ...

January 12, 2024