Best of InfrastructureJuly 2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    Install Docmost - Open Source Notion Clone

    DocMost is an open-source alternative to Notion, aimed at providing a self-hosted knowledge base tool. The guide walks through setting up DocMost on a server using Docker and Traefik for SSL certificate management. It covers getting a root server, setting up DNS, installing DocMost, configuring Docker Compose, and details essential steps and troubleshooting tips. The setup is basic and intended for testing; for production, additional security steps are recommended.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    50 basic Linux commands

    Learn 50 essential Linux commands to master your command line skills. This list includes commands for file and directory management, process handling, system information, package management, networking, and more. Whether you're a beginner or an experienced user, these commands will help you perform various administrative tasks efficiently.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Get a quick & beautiful status page!

    Create a professional status page within 15 seconds using Instatus, which offers a free forever plan with no credit card required. It integrates seamlessly with various monitoring services like Pingdom, New Relic, and Datadog to automate updates. Instatus provides 99.9% uptime, loads 10x faster than its competitors, and allows for easy customization. Users can upgrade to a Pro plan anytime for additional features.

  4. 4
    Article
    Avatar of castaiCast AI·2y

    Traefik vs. NGINX: Comparison and Practical Guide

    Traefik and NGINX are prominent load balancers and reverse proxies that manage web traffic efficiently. Traefik, launched in 2016, is a cloud-native solution with features like auto-discovery and microservice support, while NGINX, a high-performance web server since 2004, offers reliability and flexibility. Traefik excels in dynamic, containerized environments with automatic configuration, whereas NGINX provides granular control and versatility. The choice between them depends on your specific needs, such as scalability, control, and integration requirements.

  5. 5
    Article
    Avatar of newstackThe New Stack·2y

    Linux: Understand sudo to Rule Your Server

    The post explains the importance of the sudo command in Linux for administrative tasks. It highlights the difference between sudo and su, the history of sudo, and details on how users can be added to the sudo or wheel groups depending on the distribution. Additionally, it describes how to configure the sudoers file using the visudo editor to set custom permissions.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Dear AWS, please let me be a cloud engineer again

    The post discusses concerns from an AWS Serverless Hero about AWS's heavy shift toward Generative AI, overshadowing traditional infrastructure and core developer tools. The author appreciates the benefits of Generative AI but is worried that AWS is neglecting other essential services and tools that developers rely on for building scalable and maintainable applications. They call for AWS to balance its innovations in GenAI with continued support for their established developer ecosystem.

  7. 7
    Article
    Avatar of systemweaknessSystem Weakness·2y

    SSH server Secure configuration in Linux

    Learn how to install and securely configure an SSH server on Linux. The guide covers essential security mechanisms such as changing the default port, binding SSH to specific IPs, disabling root login, setting up public key authentication, and using both passwords and keys for authentication. It also includes instructions on denying or allowing access based on IP and username to enhance SSH security.

  8. 8
    Article
    Avatar of itnextITNEXT·2y

    Demo Open Web UI with Models. A guide to your first LLM-based chat…

    A guide for infrastructure engineers to deploy their first LLM-based chat service using Docker. It details the step-by-step deployment process, the necessary architecture involving Open WebUI, Ollama, and LiteLLM projects, and the hardware requirements, especially for running the Llama3 model. It uses Docker Compose for container orchestration and provides profiles for both local and remote model management. Special considerations for operationalizing the service at scale are also discussed.

  9. 9
    Article
    Avatar of lobstersLobsters·2y

    izabera/ps

    Looking for a solution when all PIDs are taken on a Linux machine during an SSH session? This post suggests a tool that can mimic the 'ps aux' command even in such constrained environments, potentially useful for job interviews that test bash and Linux skills.

  10. 10
    Article
    Avatar of spaceliftSpacelift·2y

    Ansible Tags Explained – Examples & Best Practices

    Ansible simplifies the automation of repetitive tasks, deployments, configurations, and cloud provisioning through YAML-based playbooks. Using tags in Ansible offers granular control over task execution, enabling selective task runs for better debugging, flexibility, and component reuse. Tags allow targeted actions via the command line, ensuring efficient playbook management. 'Always' and 'never' tags provide consistency, guaranteeing critical tasks run or deprecated ones are skipped. Best practices include maintaining consistent naming and thorough documentation to optimize the use of tags in complex environments. Integrating with tools like Spacelift further enhances Ansible’s capability by providing GitOps workflows, compliance checks, and multi-stack orchestration.

  11. 11
    Article
    Avatar of freekFREEK.DEV·2y

    Testing Saloon API Integrations in Laravel

    Oh Dear is a comprehensive monitoring tool for websites, offering features like uptime monitoring, SSL certificate checks, broken link detection, and scheduled task monitoring. It includes a developer-friendly API, extensive documentation, and the ability to create a public status page quickly. The author shares ongoing programming tips and tutorials focused on Laravel through various platforms and a monthly newsletter.

  12. 12
    Article
    Avatar of communityCommunity Picks·2y

    How To Deploy Portainer in Kubernetes With Traefik Ingress Controller

    The tutorial provides a detailed guide on deploying Portainer (Business Edition) with Traefik as an Ingress Controller in a Kubernetes cluster. Key steps include installing Helm, configuring kubectl, setting a default storage class, and deploying Portainer via Helm. The guide also covers setting up an IngressRoute to make Portainer accessible via a URL with SSL. Practical commands and YAML configurations for setup are provided, helping readers streamline their Kubernetes management.

  13. 13
    Article
    Avatar of hnHacker News·2y

    virtualsquare/vde-2

    Virtual Distributed Ethernet (VDE) enables the creation of a virtual network environment where devices connect as if they were on a real Ethernet. Components include virtual switches and cables, with features like VLAN support, fast spanning tree, and mobility solutions. VDE can interconnect different network devices, including Linux boxes and virtual machines, through tap interfaces and secure tunnels. Detailed instructions are provided for setting up the environment and managing network configurations.