Skip to content
Shahid Malla

Private live server and AI safety course

AI Server and Safety Course: Run Secure Linux Servers with AI Tools

A private course taught live on Zoom or Google Meet, just you and me, in 3 hours over four classes. In a 2-hour build class I take a fresh Linux server from the first login to a hardened, backed-up and monitored machine that runs your website and a private AI model, using Claude Code and Codex on safe limits, and three short support classes help you secure your own servers. You learn what each command does, not only what to paste.

Taught by Shahid Malla, AI agent and AI chat developer, full-stack developer · Updated

Format
One to one on Zoom or Google Meet, Saturday or Sunday
Classes
4 in 3 hours: a 2-hour build class, then 3 short support classes
Tools
Ubuntu, Claude Code and Codex on safe limits, Cloudflare
You do
5 server jobs, from hardening to a private AI model

Book class 1 online

Pick a date, pay, and the date is yours: classes are private, so a booked day is gone from the calendar. Classes run on Saturday and Sunday. Start times: or .

Need a weekday or another time? Request a custom date
  1. 1Pick a date and start time. Times show in your own time zone.
  2. 2Pay at checkout. Card, PayPal or crypto; the receipt confirms your date.
  3. 3Get the meeting link. Zoom or Google Meet, your choice, plus a short setup list.

The five server jobs we do live

  1. 1 Hardening

    A new server locked down from the first login

    A sudo user with SSH keys, root and password logins turned off, a firewall that opens only what you use, Fail2ban and automatic security updates.

  2. 2 Deploy

    A website live with SSL

    Nginx with PHP or Node, a database that listens only on the server itself, a Let's Encrypt certificate that renews on its own, Cloudflare in front and security headers checked.

  3. 3 Backups

    Backups you have restored

    Encrypted daily backups of files and databases to storage off the server, a retention plan and a real test restore, because a backup nobody has restored is a guess.

  4. 4 AI safety

    AI help on the server, with limits

    Claude Code or Codex working through a restricted user: read-only checks by default, your approval before any change, no secrets in prompts and a log of every command.

  5. 5 Private AI

    Your own private AI model

    An open model running with Ollama behind a login on your own server, so private documents and customer data never leave a machine you control.

What is this AI server and safety course?

This course is four private live classes, 3 hours in total, in which I take a fresh Linux server through five jobs in front of you, from the first login to a private AI model, explaining every command and every AI suggestion, and then help you secure your own servers. It runs on Zoom or Google Meet, one to one. There is no group and no recording of someone else's class: the questions are yours and the pace is yours.

I am a full-stack developer with 13+ years of client work, and CTO at ElySpace, a hosting company, since 2016. I harden servers, move them between providers and set up backups for hosting companies and businesses, and I build an AI agent for server administration, so I use these tools on real servers and know where they go wrong.

How do you use AI tools on a server safely?

You give the AI the least access that still gets the job done, and you keep the final say. In class every AI session on the server follows these rules:

  • A separate, restricted user. The AI never logs in as root. It works as a user that can read what it needs and nothing more.
  • Read-only first. Checks, logs and reports need no approval. Anything that changes the server waits for you.
  • You read before you approve. The AI explains what a command does and what could go wrong; if the answer is unclear, the command does not run.
  • No secrets in prompts. Passwords, keys and tokens stay in files the AI cannot read, never in a chat.
  • Untrusted text stays untrusted. A log line or web page can contain instructions aimed at the AI, so it is treated as data, never as orders.
  • Every command logged. You can see afterwards exactly what ran, when and why.

My guide to AI server management shows where these tools help and where they do not.

Why run your own private AI model?

Because some data should not go to a public AI service. Contracts, customer records, medical or legal documents and internal code are safer on a model that runs on a server you control. Open models run with Ollama on an ordinary server, slower than the large cloud models but private, and good enough for summaries, search and drafts. In class you install one behind a login and learn how to size the server for it. My guide on self-hosting an LLM on a VPS covers the options.

Do I need a paid control panel or security service?

No. Everything in class is free, open-source software: Ubuntu, Nginx, UFW, Fail2ban, Let's Encrypt, Ollama and standard backup tools. The costs are your server, a domain, storage for off-server backups, and your own Claude or ChatGPT plan for Claude Code or Codex. You leave able to run and fix your servers yourself, without depending on a panel, a service or me.

Which tools and stack do we use?

An Ubuntu LTS server from any provider, Nginx with PHP-FPM or Node, MySQL or PostgreSQL, Let's Encrypt for SSL and Cloudflare in front. Claude Code from Anthropic and Codex from OpenAI work on the server under the limits above, and Ollama runs the private model. These are the tools I use on client and hosting servers, so nothing in class is a lab-only setup. I am an independent developer, not affiliated with Anthropic, OpenAI or any provider.

What you learn, from the first login to a server you can trust

  • Linux with an AI tutor

    Files, users, permissions, services and logs, with Claude Code or Codex explaining each command before you run it, never after.

  • SSH and access

    SSH keys, a sudo user, root and password logins turned off, and two-factor login on your server provider's account.

  • Firewall and blocking attacks

    UFW rules that open only the ports you use, Fail2ban for repeated failed logins, database ports closed and Cloudflare in front of the site.

  • Updates and patching

    Automatic security updates, kernel updates and planned reboots, and checking what changed after each update.

  • Web server and SSL

    Nginx with PHP-FPM or Node, Let's Encrypt certificates that renew on their own, and security headers checked from outside.

  • Databases

    MySQL or PostgreSQL listening only on the server, a separate user for each app, and passwords kept in environment files, not in code.

  • Backups and restores

    The 3-2-1 rule, encrypted off-server copies, a retention plan, and a restore drill you repeat every few months.

  • Monitoring and logs

    Uptime checks, disk and memory alerts, reading login and web server logs, and a daily AI summary that you check, not trust blindly.

  • Safe AI access to servers

    A restricted user for the AI, approval before every change, rules files that list what it may do, and why keys never go into a chat.

  • Prompt injection on servers

    Log lines, web pages and files that try to give the AI orders, and the limits that stop them from doing harm.

  • Private AI hosting

    Choosing a model size for your server's memory, running it with Ollama, a chat page behind a login, and keeping it updated.

  • When something goes wrong

    Signs of a break-in, the first five things to do, restoring to a clean server, and writing down what happened.

How the four classes run

  1. 1

    Class 1: the build class (about 2 hours)

    We check your SSH access to the fresh server, then I take it through the five jobs and explain each command and each AI suggestion before it runs. You can type along on your own server or watch and ask; either way you see every step, every check and every fix.

  2. 2

    Class 2: support (about 20 minutes)

    You rebuild the server and repeat the hardening and backup jobs on your own before this class. We go through what did not work and fix it together.

  3. 3

    Class 3: support (about 20 minutes)

    We look at your own servers or plans: what is exposed, what is not backed up, and the order to fix things in.

  4. 4

    Class 4: support (about 20 minutes)

    A final check of your server from outside, your restore test and your AI limits, plus a list of what to learn next.

Who this course is for

  • Developers and freelancers who deploy client sites and want servers they can trust
  • Founders who run their own app on a VPS and do not want to depend on one person to keep it safe
  • Hosting business owners and resellers who want a hardening and backup routine for every new server
  • Teams who want a private AI model for sensitive documents instead of pasting them into a public chat
  • People who already use Claude Code or Codex and want to use them on servers without risking production
  • Anyone in the US, Canada, the UK, Europe or Australia who learns better live than from recorded videos

What you leave with

  • A hardening checklist and setup script for every new Ubuntu server
  • Backup and restore commands you have already tested once
  • Rules files that limit what Claude Code and Codex may do on a server
  • Monitoring and alerts running on your own server
  • A private AI model behind a login, if your server has the memory for it
  • An incident checklist for the day something goes wrong

Who teaches the class

You learn from someone who runs servers for a living, not a course presenter. I have been CTO at a hosting company since 2016, and I harden, migrate and back up servers for clients, and every number below links to where you can check it.

Verify me on: LinkedIn · GitHub · Fiverr · Upwork · Google Business Profile

Free guides to read before class

All guides →

Frequently asked questions

What does this course cover?

Two things that now go together: running a Linux server safely, and using AI tools on it safely. You learn hardening, SSL, backups, monitoring and incident response on a real server, with Claude Code and Codex helping under limits you set, and you finish by running a private AI model on your own server so sensitive data stays with you.

How much does the AI server and safety course cost?

$299, paid once, for 3 hours of private live classes: a build class of about two hours and three support classes of about 20 minutes each. Extra hours are $100 each. You pay at checkout by card, PayPal or crypto after picking your date.

Is it safe to let AI tools run commands on a server?

Only with limits, and that is the core of this course. The AI works through a restricted user, checks are read-only by default, every change waits for your approval, every command is logged, and secrets never go into a prompt. We practice on a fresh server you can rebuild, never on production first. An AI tool that can run any command as root on a live server is a risk, however good the model is.

Do I need Linux experience?

No, but you should be comfortable typing commands in a terminal. I explain each command as we go, and the AI tools explain them too. If you already manage servers, we move faster and spend more time on backups, monitoring and AI limits.

Which server and provider do I need?

A fresh Ubuntu LTS server from any provider you like, that you can rebuild at any time. A small plan is enough for the first four jobs. A small private AI model needs at least 8 GB of memory; if your server has less, you run that part on your own computer instead. My guide on how much RAM an LLM needs helps you choose.

Do you teach cPanel and WHM?

The course uses a plain Ubuntu server, because that is where each part is visible and nothing is hidden behind a panel. If you run cPanel and WHM, ask in a support class and I show the same steps there; I have worked with cPanel servers for hosting companies for years.

Can I buy more hours?

Yes. Each extra hour of live class is $100. Add them on the booking page before you pay, and we use them where you need them most. If you want more time after your classes, ask me and I send an invoice for the extra hours, which you pay online.

Is the class really private?

Yes. Each class is one to one: only you and me in the call, nobody else joins and the session is not shared with anyone. One booking covers one person. Never share passwords or keys in the call; we set up your access so you never need to.

What do I need before class 1?

A laptop or desktop with Windows, macOS or Linux, a webcam and microphone, a fresh Ubuntu server you can log in to, a domain name you can point at it, and a paid Claude plan for Claude Code or a paid ChatGPT plan for Codex. I email setup steps before class and we check your access in the first minutes of class 1.

What days and times can I book?

Class 1 runs on Saturdays and Sundays. The booking page shows each open date and start time converted to your own time zone. For a weekday or another time, choose "Request a custom date" and I confirm it within one business day. We set the three support classes together at the end of class 1.

What if I cannot make my date?

Tell me at least 48 hours before the class and we move it to another open date. Payments are final and non-refundable, so moving the date is the way to handle a clash.

Which course should I choose?

Choose this one if you run servers, or want to, and want them safe with AI tools in the loop. Choose the AI agent development course if you want agents that do work for you, or the vibe coding course if you want to build the websites that run on these servers. All courses are listed on the courses page.

Rather have me build it for you?

Book your private server class

Pick a Saturday or Sunday that suits you, or ask for another day. It is just you and me, live, from the first login to a server that is locked down, backed up and watched.