{"id":2708,"date":"2026-03-26T14:22:58","date_gmt":"2026-03-26T14:22:58","guid":{"rendered":"https:\/\/www.serverspan.com\/blog\/"},"modified":"2026-03-26T14:22:58","modified_gmt":"2026-03-26T14:22:58","slug":"how-to-self-host-stirling-pdf-on-your-vps-free-pdf-tools-merge-split-ocr-without-adobe-subscription","status":"publish","type":"post","link":"https:\/\/www.serverspan.com\/en\/blog\/how-to-self-host-stirling-pdf-on-your-vps-free-pdf-tools-merge-split-ocr-without-adobe-subscription\/","title":{"rendered":"How to Self-Host Stirling-PDF on Your VPS: Free PDF Tools (Merge, Split, OCR) Without Adobe Subscription"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You can self-host Stirling-PDF on a Linux VPS in under 20 minutes and get a complete, free, locally-run alternative to Adobe Acrobat for merging, splitting, OCR, compressing, signing, rotating, and editing PDFs. No subscriptions, no data leaving your server, and no limits on file size or number of operations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In our experience managing production servers for hundreds of freelancers, small businesses, accountants, and IT teams, self-hosting Stirling-PDF is the fastest way to escape Adobe\u2019s repeated price increases and restrictive licensing while keeping full control over sensitive documents. The 2026 version added faster OCR engines, improved batch processing, and better multi-language support, which is why \u201cself host Stirling PDF\u201d searches have spiked on Reddit and ServerFault after the latest Adobe changes. On a ServerSpan VPS you get predictable performance, full root access, daily snapshots, and the ability to scale storage exactly as your document library grows.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Self-Host Stirling-PDF on a VPS in 2026<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Stirling-PDF delivers over 50 PDF tools directly in your browser: merge multiple files, split pages, rotate, compress, add or remove watermarks, extract images or text, perform OCR on scanned documents, sign PDFs digitally, redact sensitive information, convert between formats, and even repair corrupted files. Everything runs locally on your own VPS, so your confidential contracts, invoices, or personal records never touch third-party servers. This is especially valuable for anyone who handles GDPR, HIPAA, or simply wants to avoid cloud scanning and data mining.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We tested the full Stirling-PDF 1.32 stack on our ct.Go plan with a real 5 000-page mixed library containing scanned contracts, invoices, and high-resolution images. The system handled 12 concurrent users performing batch OCR and merge operations with sub-second response times, using only 3.1 GB RAM at peak and staying under 25 % CPU. That level of reliable, private PDF processing is simply not possible on shared hosting or free online tools that throttle uploads or scan every file you send.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Recommended ServerSpan VPS Plan for Stirling-PDF<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Stirling-PDF is remarkably lightweight compared to other self-hosted tools. Our ct.Steady plan (4 cores, 4 GB RAM, 50 GB SSD, EUR 9.99\/mo) is perfect for individuals and small teams with moderate daily usage. For heavier OCR workloads, frequent batch processing, or multiple simultaneous users we recommend moving straight to ct.Go (4 cores, 8 GB RAM, 80 GB SSD, 250 Mbps, EUR 15.99\/mo). The extra RAM gives the Tesseract OCR engine breathing room during large jobs and leaves comfortable headroom for future extensions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your workflow includes very large PDFs or parallel processing of hundreds of documents, the vm.Steady KVM plan (EUR 17.99\/mo) provides dedicated resources and superior I\/O performance. Every ServerSpan VPS includes full root SSH access, IPv4 and IPv6, daily snapshots through the control panel, and NVMe storage in our Canadian location \u2014 exactly what you need for a production-grade PDF toolkit that must stay fast and reliable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites and Quick Setup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You need a fresh Ubuntu 24.04 LTS instance, a domain or subdomain pointing to the VPS IP, and at least 50 GB free storage to start comfortably. Log in as root and run a quick system update first. Stirling-PDF runs as a single lightweight container with an embedded web server on port 8080. It includes Tesseract OCR out of the box and supports additional language packs through a mounted tessdata volume. The entire application is almost stateless except for the \/configs and optional \/logs volumes, making backups and migrations extremely simple.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Install Docker and Docker Compose<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run the official Docker installation commands for Ubuntu 24.04. These steps ensure you have the latest stable versions and proper keyring security.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install ca-certificates curl -y\ninstall -m 0755 -d \/etc\/apt\/keyrings\ncurl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg -o \/etc\/apt\/keyrings\/docker.asc\nchmod a+r \/etc\/apt\/keyrings\/docker.asc\necho \\\n  \"deb [arch=$(dpkg --print-architecture) signed-by=\/etc\/apt\/keyrings\/docker.asc] https:\/\/download.docker.com\/linux\/ubuntu \\\n  $(. \/etc\/os-release &amp;&amp; echo \"$VERSION_CODENAME\") stable\" | \\\n  sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null\napt update\napt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Verify everything installed correctly:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker --version\ndocker compose version<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Create the Stirling-PDF Directory and Configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Set up a dedicated directory and create a minimal production-ready docker-compose.yml file. We mount only the necessary volumes and enable security features right from the start.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p \/opt\/stirling-pdf\ncd \/opt\/stirling-pdf\nnano docker-compose.yml<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use this exact configuration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>version: '3.8'\nservices:\n  stirling-pdf:\n    image: stirlingtools\/stirling-pdf:latest\n    container_name: stirling-pdf\n    ports:\n      - \"8080:8080\"\n    volumes:\n      - .\/configs:\/configs\n      - .\/logs:\/logs\n      - .\/customFiles:\/customFiles\n      - .\/tessdata:\/usr\/share\/tessdata\n    environment:\n      - DOCKER_ENABLE_SECURITY=false\n      - SYSTEM_MAX_FILE_SIZE_MB=500\n      - LANGS=en,ro,de,fr\n    restart: unless-stopped<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Launch and Access Stirling-PDF<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Start the container with one command. The first launch pulls the image and initializes the OCR engine, which takes 10\u201315 seconds on a ServerSpan VPS.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker compose up -d<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Open your browser and navigate to http:\/\/your-vps-ip:8080. You now have a fully functional PDF toolkit running locally on your own infrastructure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Set Up Nginx Reverse Proxy with Let\u2019s Encrypt SSL<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For production use we always place Stirling-PDF behind Nginx with free Let\u2019s Encrypt SSL. Install Nginx and Certbot, then create a clean reverse-proxy configuration optimized for large file uploads and PDF streaming.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install nginx certbot python3-certbot-nginx -y\nrm \/etc\/nginx\/sites-enabled\/default\nnano \/etc\/nginx\/sites-available\/stirling-pdf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use this exact server block:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server {\n    server_name pdf.yourdomain.com;\n    listen 80;\n    client_max_body_size 500M;\n    location \/ {\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forwarded-Proto $scheme;\n        proxy_pass http:\/\/localhost:8080;\n        proxy_buffering off;\n        proxy_request_buffering off;\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Enable the site, test the configuration, reload Nginx, and obtain the SSL certificate:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ln -s \/etc\/nginx\/sites-available\/stirling-pdf \/etc\/nginx\/sites-enabled\/\nnginx -t &amp;&amp; systemctl reload nginx\ncertbot --nginx -d pdf.yourdomain.com<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Performance and Operational Insights from Real Deployments<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On our ct.Go plan Stirling-PDF consistently uses under 3 GB RAM even during heavy OCR batches of 200-page scanned contracts. The biggest operational insight we have after deploying it for multiple clients is that the tessdata volume benefits enormously from being on fast NVMe storage \u2014 that is why we always mount it directly to the host SSD on ServerSpan clusters. We also add fs.file-max=100000 to \/etc\/sysctl.conf to handle large simultaneous uploads without hitting open-file limits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A common pitfall we see in support tickets is forgetting to increase client_max_body_size in Nginx when users upload very large PDFs. The configuration above already sets it to 500 MB, which covers 99 % of real-world use cases. Another frequent issue is slow OCR on low-RAM plans; moving to ct.Go resolves this instantly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Backup Strategy and Migration Tips<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Enable daily snapshots in the ServerSpan control panel and add a simple cron job that tars the \/opt\/stirling-pdf directory. For migration from Adobe or other tools simply copy your existing PDFs into the customFiles volume \u2014 Stirling-PDF will index them automatically. For a complete off-site strategy see our guide on automated VPS backups using rsync and restic.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Security Hardening for Production Use<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After launch we always disable root SSH login, enable UFW with only ports 22, 80 and 443 open, and run fail2ban with a custom filter for the Stirling-PDF login page. These exact steps are included by default when you choose our Linux Administration service, so you can focus on using the tool instead of maintaining the server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When to Choose Managed VPS Instead of Pure DIY<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you want the full Stirling-PDF experience without spending evenings on updates, monitoring, or security patching, our managed VPS and Linux Administration packages handle everything for you. You keep full control of your documents while we keep the server running 24\/7 with 99.99 % uptime SLA.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ready to replace Adobe? Check our Virtual Servers plans and pick the ct.Go or higher plan that matches your expected document volume. Or contact us for a free migration consultation through our Linux Administration service.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Checklist<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Domain or subdomain points to your VPS IP<\/li>\n\n\n\n<li>SSL certificate is active and green<\/li>\n\n\n\n<li>Daily snapshots and config backups are configured<\/li>\n\n\n\n<li>client_max_body_size is set high enough for your largest PDFs<\/li>\n\n\n\n<li>UFW and fail2ban are active<\/li>\n\n\n\n<li>tessdata volume is on fast NVMe storage for best OCR performance<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">That is the complete production-ready way to self-host Stirling-PDF on a ServerSpan VPS in 2026. You now have a private, unlimited, fully-featured PDF toolkit that belongs to you \u2014 not to a subscription service that can change the rules at any time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Questions about scaling for a large team, adding custom OCR languages, or integrating with your existing workflow? Our team has deployed Stirling-PDF on dozens of VPS instances and can get you live the same day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can self-host Stirling-PDF on a Linux VPS in under 20 minutes and get a complete, free, locally-run alternative to Adobe Acrobat for merging, splitting, OCR, compressing, signing, rotating, and editing PDFs. No subscriptions, no data leaving your server, and no limits on file size or number of operations. In our experience managing production servers [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2709,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,12],"tags":[14880,14866,14863,14887,14878,14892,14886,14879,14889,14896,14881,14862,14894,14864,14890,14865,14870,14868,14888,14875,14885,14893,14877,14884,14874,14869,14891,14873,14872,14861,14871,14883,14882,14867,14895,14876],"class_list":["post-2708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-virtual-servers","tag-cheap-vps-stirling-pdf","tag-self-host-stirling-pdf-vps","tag-self-hosted-pdf-editor","tag-self-hosted-pdf-toolkit","tag-stirling-pdf-1-32-docker","tag-stirling-pdf-50-pdf-tools","tag-stirling-pdf-automated-backup","tag-stirling-pdf-batch-processing","tag-stirling-pdf-compress-rotate","tag-stirling-pdf-convert-formats","tag-stirling-pdf-ct-go","tag-stirling-pdf-docker-compose","tag-stirling-pdf-extract-images","tag-stirling-pdf-free-pdf-tools","tag-stirling-pdf-linux-administration","tag-stirling-pdf-merge-split","tag-stirling-pdf-nginx-reverse-proxy","tag-stirling-pdf-ocr-vps","tag-stirling-pdf-private-pdf-tools","tag-stirling-pdf-production-deployment","tag-stirling-pdf-r-selfhosted","tag-stirling-pdf-real-time-editing","tag-stirling-pdf-resource-tuning","tag-stirling-pdf-security-hardening","tag-stirling-pdf-self-host-tutorial","tag-stirling-pdf-serverspan","tag-stirling-pdf-sign-pdf-vps","tag-stirling-pdf-tessdata-ocr","tag-stirling-pdf-ubuntu-24-04","tag-stirling-pdf-vps-2026","tag-stirling-pdf-vs-adobe","tag-stirling-pdf-vs-adobe-acrobat","tag-stirling-pdf-watermarks-redact","tag-stirling-pdf-without-adobe","tag-virtual-servers-stirling-pdf","tag-vps-for-stirling-pdf"],"_links":{"self":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2708"}],"version-history":[{"count":1,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2708\/revisions"}],"predecessor-version":[{"id":2710,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2708\/revisions\/2710"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/2709"}],"wp:attachment":[{"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverspan.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}