
Monthly cloud bills and unreliable free tiers eventually pushed me toward a server of my own. After running into Google Cloud’s memory limits, I installed Ubuntu 24.04 LTS on a Lenovo S145 that had been sitting in a drawer. This guide covers making a Rufus installation USB, choosing English to avoid terminal encoding problems, and adjusting laptop settings, including battery protection. The result is a remotely accessible machine for running data automation 24/7, using hardware I already owned.
Why Use an Old Laptop Instead of the Cloud?

The end of free n8n cloud usage—only workflow downloads remain.
The limits became hard to ignore while I was using n8n for automation. Every two weeks, the free trial on the Pro account would end, and I would face the same chore again: move the workflows I had carefully built to a fresh account. Keeping the automations going meant repeatedly attending to that account cycle. It was tiring work that had little to do with improving the workflows themselves, and it made the apparent convenience of a free cloud service feel much less convincing.

Current Google Cloud Console, configuring a free compute instance.
My next attempt was an Ubuntu virtual machine (VM) on Google Cloud. That removed the trial-account routine, but the free configuration brought another limit into focus: memory. As soon as the automation nodes grew a little more complex, the system would often hang. It wasn’t the dependable environment I wanted for work that was supposed to run on its own. After trying that arrangement, I came to the conclusion that a virtual machine dependent on an outside platform was still difficult to control on my own terms.
Then I remembered my 6-year-old Lenovo S145 with its Ryzen 3-3200U processor. A laptop has a couple of useful advantages over a typical desktop as a home server:
- Its 15W Thermal Design Power (TDP) keeps the power requirement low for a machine running 24/7.
- The built-in battery serves as a UPS (Uninterruptible Power Supply), helping protect against a sudden shutdown and data corruption during a power cut.
Downloading Ubuntu and Creating a Bootable USB

Start with a USB drive of at least 8GB. On a Windows PC, open the latest Rufus and select the Ubuntu Server 24.04 LTS ISO downloaded from the official website. Choose ‘GPT’ as the partition scheme and ‘UEFI (non-CSM)’ as the target system. Leave the file system at the default FAT32, then write the image to the drive.
Insert the USB drive into the Lenovo S145 and switch it on. When the logo appears, press F2 repeatedly to enter BIOS setup. Other manufacturers may use F10 or Delete.
Under ‘Boot Priority’, move the installation USB to the top. I also find it convenient to disable ‘Hotkey Mode’, which lets the function keys work in the terminal without holding Fn. Save the changes and restart to begin installing Ubuntu.
3 Setup Details to Watch
The installation follows the sequence below. Pay particular attention to these three choices, which are awkward to change after setup.
- Language: Choose English. (Korean can cause character encoding issues in the terminal later).
- Network Connections: Ensure an IP is displayed. If not, set up ‘USB tethering’ or Wi-Fi.
- Configure Proxy: Leave blank and select ‘Done’ (not needed unless it’s a corporate server).
- Configure Ubuntu Archive Mirror: Keep the defaults and select ‘Done’.
- Storage Configuration: Select ‘Use an entire disk’ and choose your main drive.
- Storage Configuration: Uncheck [ ] Set up this disk as an LVM group.
- Profile Setup: Set your username and password (keep these safe!).
- Upgrade to Ubuntu Pro: Skip for now.
- SSH Setup: Check [X] Install OpenSSH server (Must do!).
- Once installation finishes, select [ Reboot Now ] at the bottom.
- When the screen says “Please remove the installation medium…”, remove the USB and press Enter.
- After rebooting, enter your username and password to log in.
Essential Post-Installation Optimizations
Once you can log in at the terminal, adjust the power and system settings for a laptop that will stay running as a server.
Battery Charge Limiting
A laptop server stays plugged in 24/7, so battery care matters. On the Lenovo S145, the following command enables conservation mode and limits charging to 60%:
echo 1 | sudo tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
Laptop Lid Control
If the laptop will sit closed in a corner, change its lid behavior so closing the screen doesn’t put the server to sleep.
- Edit the
/etc/systemd/logind.conffile, uncommentHandleLidSwitch=ignore, and change the value. - Apply the changes with
systemctl restart systemd-logind.
Preventing Wi-Fi Disconnection
If you’re connecting over Wi-Fi rather than Ethernet, disable the adapter’s power-saving setting so it doesn’t go to sleep.
- Edit
/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf. - Change the
wifi.powersavevalue from 3 to 2 (disabled).
Preventing Disk Full Errors
Logs can build up on Ubuntu. With an n8n container on a small 128GB SSD, unchecked log growth can fill the drive over a few months and bring the server down.
- In
/etc/systemd/journald.conf, find theSystemMaxUseoption and set it to100M.
Putting Old Hardware Back to Work

Cloud subscriptions certainly offer convenience, but giving otherwise unused hardware a purpose brings a different kind of satisfaction. The machine that had been sitting in a drawer now has a job, and I have direct control over it. I no longer have to organize my automation around a provider’s tight capacity allowance or watch the calendar for the next payment or trial deadline. That was the motivation for bringing this laptop back into use in the first place. If you have similar hardware waiting in a drawer, a weekend spent setting it up could be the start of a useful personal server.



