Best of Infrastructure2024

  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 dailydevworlddaily.dev World·2y

    We made daily.dev faster ⚡️ See how we did it

    Over the last two weeks, daily.dev optimized its performance, focusing on improvements for low-end mobile devices, upgrading infrastructure with newer CPUs and spot nodes, and refining content pipelines and ML models. Enhancements included reducing JavaScript bundle sizes, optimizing image loading, and reducing fields in feed requests. These changes resulted in up to 50% faster page load times, especially on mobile devices.

  4. 4
    Article
    Avatar of devtoDEV·2y

    Docker basics for beginners

    Learn the basics of Docker, including its differences from virtual machines, how to install it, and its benefits for developers.

  5. 5
    Article
    Avatar of itnextITNEXT·2y

    Optimizing Web Backends

    The post discusses common techniques for optimizing web backend performance, focusing on issues related to high response times. It categorizes optimization strategies into three main layers: Application, Database, and Infrastructure. Key methods include optimizing algorithms, using asynchronous functions, leveraging concurrency, indexing databases, scaling databases, data compression, using CDNs, upgrading to HTTP/2 or HTTP/3, and replicating infrastructure. Continuous measurement and testing are emphasized to ensure effectiveness.

  6. 6
    Article
    Avatar of hnHacker News·2y

    Dokploy/dokploy: Open Source Alternative to Vercel, Netlify and Heroku.

    Dokploy is a self-hostable PaaS that simplifies deployment and management of applications and databases using Docker and Traefik. It supports various types of applications and databases, integrates with Traefik for routing and load balancing, offers real-time monitoring and automated database backups.

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

    Learning Linux? Start Here

    Learning Linux has never been easier, thanks to numerous resources and user-friendly distributions. The key areas to focus on include mastering the command line, learning access control methods, managing hardware and services, selecting and deploying a distribution, system maintenance, and configuring networking. Hands-on experience with virtual machines and using tools like Vim, Nano, systemctl, and ssh is essential. Efficient user and permission management, along with understanding package managers and firewalls, are crucial skills for Linux administration. Start with a structured learning plan to become proficient in this versatile operating system.

  8. 8
    Article
    Avatar of last9Last9·1y

    The Best Linux Monitoring Tools for 2024

    Effective monitoring tools are essential for maintaining the health and performance of Linux systems. This guide covers the best Linux monitoring tools for 2024, including both open-source and commercial options like Prometheus, Last9, Nagios, Zabbix, and Netdata. Key features, pros, cons, and best use cases for each tool are discussed. Advanced capabilities such as cross-distribution monitoring, network infrastructure monitoring, and application performance monitoring are also highlighted to help system administrators choose the right tool based on their specific needs.

  9. 9
    Video
    Avatar of youtubeYouTube·2y

    Complete Kubernetes Course - From BEGINNER to PRO

    This complete Kubernetes course, designed by Sid from DevOps Directive, is intended for software engineers seeking to enhance their DevOps and infrastructure skills by mastering Kubernetes. The course covers both theoretical and practical aspects, including deploying demo applications across multiple environments. The course provides code samples in a companion GitHub repository and offers interactive modules via a platform and a Discord community. Key prerequisites include familiarity with web applications, basic shell commands, cloud infrastructure knowledge, and intermediate containerization skills. The course broadly covers setting up development environments, clustering, resource types, Helm, debugging applications within Kubernetes, and automation techniques.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    10 projects I host on my Proxmox home lab

    Self-hosted apps on Proxmox provide greater privacy and control over data. Proxmox supports various projects like Home Assistant, CasaOS, and ZoneMinder for home labs. Tools like Grafana, Pi-hole, and Pi.Alert enhance security and monitoring. The post lists ten projects, including Home Assistant, TrueNAS Scale, and Code Server, illustrating the versatility and utility of Proxmox for personal and advanced users.

  11. 11
    Article
    Avatar of notedNoted·1y

    Nexterm - Self-Hosted Web Terminal

    Nexterm is a self-hosted web terminal designed to simplify server management for homelab enthusiasts. It supports SSH, VNC, and RDP protocols, features two-factor authentication, session management, and integrates with Proxmox for managing Linux Containers and VMs. Nexterm is currently in development and open for preview, offering users the opportunity to provide feedback and test its capabilities.

  12. 12
    Video
    Avatar of communityCommunity Picks·2y

    Linux Performance Tools!

    Explore essential tools and techniques for diagnosing and solving performance issues on Linux systems, starting from verifying the problem to using specific performance monitoring tools like uptime, top, vmstat, iostat, netstat, and SAR. Learn how to define performance issues precisely and use various tools to gather metrics and pinpoint root causes effectively.

  13. 13
    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.

  14. 14
    Article
    Avatar of bytebytegoByteByteGo·2y

    Scaling to 1.2 Billion Daily API Requests with Caching at RevenueCat

    RevenueCat handles over 1.2 billion daily API requests with a caching solution built using Memcached. Key goals for their caching infrastructure include low latency, keeping cache servers active and full, and maintaining data consistency. They use techniques like pre-established connections, a fail-fast approach, mirrored and gutter pools, and local caching to optimize performance and reliability. Handling hot keys and avoiding thundering herds are essential strategies to maintain system stability. RevenueCat also employs a systematic approach for cache server migrations and maintaining data consistency to ensure smooth operations.

  15. 15
    Article
    Avatar of communityCommunity Picks·2y

    Linux Containers

    Incus is a next-generation system container and virtual machine manager offering a user experience similar to a public cloud. It supports a variety of Linux distributions, multiple storage backends, and diverse network types. Key features include a secure and intuitive API, scalability, event-based logging, and comprehensive backup and recovery options. Incus runs on any recent Linux distribution, with the client also available for Windows and macOS. The current LTS release is Incus 6.0, supported until June 2029.

  16. 16
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build Your Own Private Hacking Lab with VirtualBox

    Learn how to set up a private hacking lab using VirtualBox to practice ethical hacking safely. The guide covers installing necessary software like VirtualBox and Kali Linux, setting up attacking and target machines, and configuring a host-only network to ensure isolation from the public internet. Finally, it shows basic scanning techniques using Nmap for identifying and understanding the target machine's network configuration.

  17. 17
    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.

  18. 18
    Article
    Avatar of communityCommunity Picks·2y

    How to build your first home lab

    Building a home lab allows you to experiment with different operating systems, self-host a variety of services, and learn about networking and virtual machines. Key components include CPUs with multiple cores, ECC memory, and potentially budget Xeon systems. Software options like Proxmox, XCP-ng, and Docker provide flexible environments for your projects. Keep an eye on budget and power consumption as it's easy to go overboard with additional peripherals.

  19. 19
    Article
    Avatar of hnHacker News·1y

    An analysis of the Keycloak authentication system

    Keycloak, an open-source identity and access management solution, has been found to have several security issues, including OTP bypass vulnerabilities, unauthorized access to certain administrative functionalities, and race conditions in the anti-brute-force mechanism. These issues allow attackers to bypass multi-factor authentication, gain unauthorized access to privileged operations, and perform excessive login attempts. Communication with security teams revealed delayed fixes and inadequate advisories, highlighting a need for more timely and transparent responses to such critical issues.

  20. 20
    Article
    Avatar of bytebytegoByteByteGo·2y

    Virtualization and Containerization: Which one to pick?

    Learn about virtualization and containerization, their players in the space, and how virtualization works.

  21. 21
    Article
    Avatar of communityCommunity Picks·2y

    Install Ollama Using Docker Compose

    This guide provides a comprehensive step-by-step process for installing Ollama using Docker Compose on a server running Ubuntu Server 22.04 LTS. It covers the prerequisites like Docker Engine, Docker Compose, OpenSSH, and setting up Traefik as a reverse proxy for managing cryptographic certificates via Let’s Encrypt. Important tips on domain naming, port configurations, and accessing control panels for Ollama and Traefik are also included.

  22. 22
    Article
    Avatar of itsfossIt's Foss·2y

    I Installed macOS on Linux in a VM (for fun sake)

    Installing macOS on a Linux system using Quickemu simplifies the process, leveraging Qemu/KVM for virtualization. A minimum of Intel Core i5/AMD Ryzen 5 with virtualization support, 8 GB RAM, and 40 GB disk space is required. The guide covers setting up Quickemu, downloading macOS installer files, and running the VM. Additional tips include keyboard tweaks, configuration edits, and changing display resolutions to enhance the user experience.

  23. 23
    Video
    Avatar of communityCommunity Picks·2y

    Secure Your .NET Application With Keycloak: Step-by-Step Guide

    Learn how to secure your .NET application using Keycloak, an open-source identity provider compatible with OAuth2 and OpenID. This guide covers setting up a Keycloak realm and client, configuring authentication with JSON Web Tokens (JWT), and implementing an API endpoint for user claims. The tutorial also dives into using distributed tracing with OpenTelemetry to validate and debug your authentication setup.

  24. 24
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    We stopped using serverless. The results are insane.

    Upload Thing V7 drastically improves file upload speeds, making uploads five times faster. Major changes include seamless pausing and resuming of uploads, integration support for Remix, and the transition from relying on direct S3 uploads to a custom upload server, simplifying the process and enhancing control. This update reduces the number of steps and requests needed, enhances security, and unlocks new features like bring-your-own-bucket and better file validation.

  25. 25
    Article
    Avatar of communityCommunity Picks·2y

    My Homelab Journey

    Starting a homelab can provide hands-on experience with various technologies. It's crucial to plan your homelab carefully to avoid unnecessary expenses. Key hardware choices include cost-effective and upgradable options like old prebuilt machines and single-board devices. For operating systems, Proxmox for virtualization, TrueNAS Scale for NAS, and Docker for containerization are excellent choices. Essential software includes virtualization and networking tools, security solutions, development frameworks, automation tools, and monitoring systems. Documenting your setup is vital for troubleshooting and future upgrades. Start small and scale up as your needs evolve.