Linux from Zero

From your first command to your own server and AI assistant

Ovanap Team

Cover of Linux from Zero: the title above a terminal window running pwd, ssh, systemctl and ollama

Learn to run a computer by typing to it, rent and lock down your own server, put a website on it with HTTPS — and then run your own AI assistant there. No experience needed: a Windows PC and some curiosity are enough.

  • PDF e-book
  • Download link by email within minutes of payment
  • Your own copy, no DRM
€19PDF · 561 pages
The price you see is the price you pay.

Buyers occasionally get new articles and updates by email — when there's something worth sending. No schedule promised.

One path, three stages

This isn't a command reference. Every chapter builds only on what you've already learned, so you go in order: from your own computer, to your own server, to your own AI assistant.


              john@mint:~$ pwd
              /home/john
            
              john@mint:~$ ssh admin@203.0.113.10
              
            
              admin@vps:~$ ollama run llama3.2
              >>> Hello! How can I help?
            
  1. Your computer Chapters 1–13

    In a safe virtual machine you learn the terminal, files, users and permissions, installing software, processes and the system logs.

  2. Your server Chapters 14–22

    You rent a VPS, log in over SSH with a key, shut what needs shutting and put a website online with your own domain and HTTPS. Then backups, Bash, Git and Docker.

  3. Your AI assistant Chapters 23–25

    You learn how language models work, what tokens and API keys are and what they cost — then run your own AI service, on a local model or through an API.

And Chapter 26 teaches the thing you'll always need: when something breaks, finding out why — methodically, without panic.

What you'll be able to do

The book promises little, but means it: fifteen things you'll do yourself, with your own hands.

Run your own computer

  1. Understand what an operating system is and why Linux matters.
  2. Work in the terminal — talk to the system in text, not just with a mouse.
  3. Manage files and folders safely.
  4. Manage users and permissions.
  5. Install and update software, and find and stop a program that's stuck.
  6. When something breaks, find the cause in the system logs.

Run your own server

  1. Understand how networks work: IP addresses, domain names and ports.
  2. Rent your own server, connect to it securely over SSH and set it up.
  3. Run a website on it with your own domain and a secure HTTPS connection.
  4. Make backups — and prove you can restore from them.
  5. Automate repetitive work: write scripts and schedule tasks.
  6. Track file versions with Git.
  7. Run programs in containers with Docker.

Run your own AI assistant

  1. Understand how large language models work, what a token and an API key are, and what it all costs.
  2. Run an open AI model on your own server or computer, and bring everything you've learned together in one working project.

How the book teaches

A command in this book is never a magic spell. Each one has a number and tells you what you do, why, what changes and what the risk is. Here's the very first, from Chapter 4 — exactly as it is printed in the book.

Command 4.1

pwd – where am I

$ pwd
/home/john
From Chapter 4, “The Terminal: Your First Conversation with the System”
What you do
type pwd and press Enter.
Why
you want to know where in the file system you are standing.
What changes
nothing – the system only prints a path.
Risk
none.

Mistakes are safe here

Every early experiment happens in a virtual machine — a separate computer running inside yours. If something goes wrong, you roll it back and try again. Your real computer is never touched.

Boxes alongside the text

Important
Something worth remembering before you move on.
Dangerous command
A command that can delete or change something permanently. It always comes with a warning and a way back.
Undo
How to reverse what you did.
Check
A short action that confirms everything worked.
Common mistake
A mistake beginners often make, and why it happens.
Try it
A small task you do right here and now.
chapters
26
labs
21
step final project
15
appendices, A to G
7

Who it's for

This book is for you if

  • you use Windows and a browser but have never opened a terminal;
  • you want to understand what happens behind the windows, not just click buttons;
  • you want your own website, server or AI assistant — running on your computer, not someone else's;
  • you're worried about breaking something — which is why every risky step comes with a way back.

What you won't find

  • A programming course: there's as much Bash as you need to automate everyday jobs, and no more.
  • Hacking techniques: the book teaches defense and safe habits.
  • Kubernetes or enterprise architecture.

Contents

26 chapters. We have grouped them here by stage of the journey; each ends with a “What you can do now” recap and, almost always, a lab.

Getting started, safely

  1. What an Operating System Is and Why Linux Matters
  2. Distributions and a Safe Practice Environment
  3. Your First Desktop: A Closer Look at Linux Mint

The terminal and files

  1. The Terminal: Your First Conversation with the System
  2. The File System Tree and Paths
  3. Creating, Copying, Moving, and Deleting Files
  4. Text Files: Reading, Editing, Searching

Inside the system

  1. Users, Groups, root, and sudo
  2. Permissions and File Owners
  3. Installing Programs in the Terminal: Packages and Repositories
  4. Processes and System Resources: What Is Going On Inside
  5. Services, systemd, and System Logs
  6. Disks, Drives, and Archives

Networks and your own server

  1. Networking: IP Addresses, DNS, and Ports
  2. SSH: Controlling a Computer from Far Away
  3. Your Own Server: Setting Up a VPS Safely
  4. A Website: nginx, a Domain, and HTTPS
  5. Backups and Server Maintenance

Automation and tools

  1. Your First Script: Bash Basics
  2. Automation: Scheduled Tasks and Environment Variables
  3. Git: A Time Machine for Your Files
  4. Docker: A Whole Program in a Box

AI and the final project

  1. AI Models and APIs: What Is under the Hood
  2. Your Own AI Service: A Local Model or an API
  3. Final Project: From an Empty Server to an AI Assistant
  4. When Something Doesn't Work: Methodical Troubleshooting

Appendices A–G: command reference, glossary, troubleshooting tree, checklists, sources, where to go next, and the online appendix.

What the commands were tested on

DesktopLinux Mint 22.3 “Zena”
ServerUbuntu Server 26.04 LTS
DebianDebian 13 “trixie”
Docker29.x
Git2.43 (Mint 22.3), 2.53 (Ubuntu 26.04); newest 2.55
nginx1.28 (Ubuntu 26.04 repository); newest stable 1.30.x

Read before you buy

A free sample: the introduction and all of chapter 4, “The terminal: your first conversation with the system”. No sign-up — download it and see whether the tone and pace suit you.

Download the sample (PDF)

PDF, 32 pages

Sample page: the opening of Chapter 4Sample page: Command 4.1Sample page: a lab

Why we wrote this book

Our story with Linux began twenty years ago, with a beginner's book on Red Hat Linux from a Lithuanian series much like “For Dummies”. We opened the black screen and fell for it: the terminal, and the feeling of finally cracking a problem.

We have worked with Linux every day since, and the feeling has stayed.

We believe these skills still matter — maybe more than ever — in the age of AI. AI can write the commands, but someone has to understand what they do, own the server, and fix it when it breaks. We wrote this book so that someone can be you.

— The Ovanap Team

Buy the e-book

You'll get a PDF with your name in it. Read it on your computer, tablet or phone.

Linux from Zero, PDF
561 pages · download link valid for 30 days
€19

We print it in your personal copy.

Where we send your download link.

Your purchase is covered by our terms of sale, and we handle your data as described in our privacy policy.

Payment is handled securely by Stripe. We never see your card details.

Your own copy, no DRM

The book opens in any PDF reader, with no passwords and no accounts. Instead of locks, it carries your name.

  • Your name on every page

    Each page footer shows your name, email and order number, and page two carries a license note. Every copy is marked and traceable.

  • Why no DRM or password

    They're broken in minutes, and they only get in the way of the person who paid. We don't want your book to refuse to open on your new phone.

  • The link: 30 days, 5 downloads

    Save the file to your own device. If the link runs out or the email goes missing, we'll send you a fresh one.

  • What you can do with it

    Read it on all your own devices and print it for yourself. Sharing the file, uploading it or reselling it isn't allowed.

What the foot of each page looks like

Licensed to Jane Doe · jane@example.com · order LFZ-2026-0142 · personal use only

Questions

Do I really need no experience at all?

None. The book starts with what the very first terminal window looks like and takes nothing for granted. If you can use a Windows PC and a browser, you have everything you need.

What kind of computer do I need?

An ordinary Windows PC. You install Linux Mint in a virtual machine, so your own system stays untouched. For the server chapters you rent a VPS — the book explains how to choose one.

How do I get the book?

Once you've paid, we prepare your personal PDF and email you a download link within a few minutes. The link works for 30 days and up to 5 downloads.

The email never arrived. What now?

Check your spam folder first. If it isn't there, ask for a new link — we'll send it to the same address you used at checkout.

Why no DRM or password on the PDF?

Because they only inconvenience people who paid, and don't stop anyone who wants to get around them. Instead, every copy is marked with the buyer's name and order number.

Can I get a refund?

Digital content is delivered straight away, so once you agree to that at checkout, the 14-day right to cancel no longer applies. But if the file won't open or the link doesn't work and we can't fix it, you get your money back. Email hello@ovanap.no.

Can I get an invoice?

Yes — email hello@ovanap.no, or simply reply to the email with your link, and we will send one (with your company details, if you need them).

Is there a Lithuanian edition?

Yes — the book was written in Lithuanian first, as “Linux nuo nulio”. You can switch language at the top of this page.

The book in brief

Updated

Linux from Zero is a hands-on Linux book for beginners, in English. It is written by Ovanap Team and published by Ovanap. It takes you from your first terminal command to your own VPS with a website, HTTPS, backups, Docker and a private AI assistant (Ollama and Open WebUI). It has 26 chapters and 21 labs, in a 561-page PDF.

Title
Linux from Zero: From your first command to your own server and AI assistant
Author
Ovanap Team
Publisher
Ovanap
Seller
Monine AS (Ovanap), org. no. 926 029 215, Norway
Language
English (US)
Format
E-book, PDF, 561 pages
Price
€19 (final price)
Contents
26 chapters, 21 labs, appendices A–G
Tested on
Linux Mint 22.3 “Zena”, Ubuntu Server 26.04 LTS
Other language
Linux nuo nulio

Next:

About the publisher

Written by the Ovanap Team and published by Ovanap — Monine AS, a Norwegian company. What the book teaches is what we do every day: Linux servers, websites and keeping them running.

Questions? Email hello@ovanap.no.