NetServa Infrastructure Stack

Professional Server Management Platform for the Modern Enterprise

Transform your infrastructure management with NetServa's comprehensive automation toolkit. Built for system administrators who demand efficiency, security, and scalability across diverse environments.

Our Mission

NetServa exists to simplify and unify server infrastructure management across multiple platforms, providers, and technologies through a comprehensive bash-based toolkit with modern web interfaces. We believe that complex multi-server environments should be as manageable as single servers, empowering system administrators with tools that scale from small deployments to enterprise infrastructures.

Our platform bridges the gap between traditional command-line expertise and modern DevOps practices, providing a unified management interface that respects the power of bash while embracing contemporary web technologies. Whether you're managing a single VPS or orchestrating hundreds of containers across multiple data centers, NetServa provides the consistency and control you need.

Bash Automation Laravel + Filament Incus/LXD Proxmox CloudFlare Integration Alpine Linux Debian Trixie

Four-Tier Architecture

NetServa Infrastructure Stack (NSIS) implements a hierarchical four-tier architecture that provides clear separation of concerns and enables scalable management across your entire infrastructure ecosystem.

☁️

Providers Layer

Manage cloud providers, hardware platforms, and data centers with unified APIs. Support for BinaryLane, AWS, DigitalOcean, Vultr, and custom infrastructure providers.

🖥️

Hosts Layer

Control physical servers, VPS instances, and container hosts. Automatic detection and configuration based on operating system and hardware capabilities.

📦

Servers Layer

Orchestrate virtual machines, LXC containers, and application servers. Integrated support for Incus/LXD and Proxmox virtualization platforms.

🌐

Vhosts Layer

Manage virtual hosts, domains, and web applications. Automated SSL certificates, DNS management, and application deployment workflows.

Core Capabilities

NetServa provides enterprise-grade features that streamline your infrastructure management workflow. Our toolkit combines the power of traditional system administration with modern automation practices.

🔧

Unified Management Interface

Single command-line interface for all operations. Cross-platform compatibility with systemd, OpenRC, and OpenWrt. SSH-based remote server management with integrated security testing.

📧

Professional Email Services

Production-ready email server configurations with Postfix and Dovecot. Advanced spam filtering, DKIM signing, and automated mail management workflows.

High-Performance Web Hosting

Nginx with PHP-FPM optimization for maximum performance. Laravel-compatible directory structures and automated deployment pipelines.

🔒

Security First Design

Automated SSL/TLS certificate management with Let's Encrypt. Comprehensive security testing tools and compliance monitoring.

🚀

Infrastructure as Code

OpenTofu/Terraform integration for declarative infrastructure. Version-controlled configurations and automated rollback capabilities.

📊

Container Native

First-class support for LXC containers and Incus orchestration. Optimized for Alpine Linux with minimal resource footprint.

Quick Start Installation

Get NetServa up and running in minutes with our automated installation process. The installer detects your environment and configures everything automatically.

# Review the installer first
curl -s https://raw.githubusercontent.com/markc/ns/main/bin/setup-ns

# Then install
curl -s https://raw.githubusercontent.com/markc/ns/main/bin/setup-ns | bash

# Verify installation
ns help
ns status

The installation process automatically configures your environment variables, sets up the directory structure, and initializes the core NetServa components. All configurations are stored in ~/.ns with clean separation between binaries, libraries, and runtime data.

NetServa Standards - "This is the Way"

Our official setup standards ensure consistency, maintainability, and compatibility across all NetServa installations. These standards have been refined through years of production deployments and represent industry best practices.

Laravel Compatibility First

All web services are Laravel-compatible by default, supporting the NetServa Central Manager (NSCM) web interface. Document roots follow the standard /var/ns/{domain}/var/www/public/ structure for framework compatibility and security.

Directory Structure Standards

NetServa uses a consistent three-character directory naming convention for clarity and organization. Configuration templates in cfg/, documentation in doc/, libraries in lib/, and runtime scripts in run/ provide predictable locations for all components.

Security Standards

SSH configuration with custom ports and key-based authentication only. Automated password generation via /dev/urandom with minimum 16-character length. SSL/TLS certificates managed through Let's Encrypt with automated renewal.

# Environment Variables (5-char NS* naming)
NSBIN=/home/user/.ns/bin       # Executables
NSCFG=/home/user/.ns/cfg       # Config templates
NSDIR=/home/user/.ns           # Root directory
NSDOC=/home/user/.ns/doc       # Documentation
NSETC=/home/user/.ns/etc       # Infrastructure profiles

Technology Stack

NetServa leverages best-in-class open source technologies to deliver enterprise-grade infrastructure management. Our carefully selected stack prioritizes stability, performance, and security.

🐧

Operating Systems

Primary support for Debian Trixie (production), Alpine Linux Edge (containers), CachyOS (development), and Ubuntu LTS (legacy compatibility).

🌐

Web Stack

Nginx web server with HTTP/2 and SSL/TLS optimization. PHP 8.4 with FPM for maximum performance. MariaDB/MySQL for relational data storage.

📧

Email Stack

Postfix SMTP server with advanced routing. Dovecot IMAP/POP3 with full-text search. PowerDNS for authoritative DNS management.

🔄

Automation

Comprehensive bash scripting framework. OpenTofu/Terraform for infrastructure as code. Automated backup and disaster recovery workflows.

Real-World Applications

NetServa powers infrastructure for organizations ranging from startups to enterprises. Our flexible architecture adapts to diverse requirements while maintaining consistency and control.

Web Hosting Providers

Manage hundreds of virtual hosts across multiple servers with automated provisioning and billing integration. NetServa's hierarchical structure maps perfectly to reseller and shared hosting models, while our Laravel compatibility enables custom control panels and customer portals.

DevOps Teams

Streamline development workflows with consistent environments from development through production. Our container-native approach and infrastructure as code support enable rapid iteration while maintaining production stability.

Managed Service Providers

Deliver consistent service across diverse client infrastructures with NetServa's unified management interface. Support multiple clients with isolated environments while maintaining centralized monitoring and control.

Enterprise IT Departments

Standardize infrastructure management across departments and locations. NetServa's compliance features and audit trails ensure regulatory requirements are met while reducing operational overhead.

Join the NetServa Community

NetServa is more than just software - it's a community of system administrators, DevOps engineers, and infrastructure professionals working together to advance the state of server management.

Contributing to NetServa means joining a tradition of excellence in system administration that spans decades. Whether you're fixing bugs, adding features, or improving documentation, your contributions help thousands of administrators worldwide manage their infrastructure more effectively.

☁️ 📺