Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
21 min left
Servers & OS

How to Build a Server for Your Small Business

Ada Lovegood By Ada Lovegood 21 min read Updated by Sajjad 18d ago
Server hardware and components for a small business

An office file share and a public booking app need different machines, budgets and recovery plans. Deciding how to build a server starts with the work it must keep running. Building from scratch means choosing and assembling compatible components, then installing an operating system and configuring a usable service.

For local documents, a quiet tower can be a sensible purchase. For an internet-facing app, renting may avoid equipment and facilities work. Either choice needs someone responsible for access, updates and recovery.

Before handling hardware, have the component manuals, a clear work surface and an antistatic precaution recommended by the manufacturer. For setup, have a wired network, installation USB, local keyboard/display, an individual administrator account and a second computer for testing. Copy any existing data elsewhere before changing disk layouts.

Define the Business Job Before Choosing Hardware

A shared folder holding invoices needs capacity and reliable file access; a public application adds outside connectivity and application support. Write down the job before you build server hardware around a processor or RAM deal.

Use a short requirements worksheet:

  • Name the service and the applications that will use it. List concurrent activities, such as opening documents while a backup runs.
  • Measure current data, expected growth and retained versions. Separate usable storage needed by the business from the sum printed on drive labels.
  • Mark access as office-only or public. Include scanners, printers or other local devices that need access.
  • Set the acceptable loss window, called the recovery point objective (RPO), and acceptable time to restore service, called the recovery time objective (RTO).
  • Assign an administrator and cover for absences. Record the purchase allowance and recurring operating budget.

Employee count alone cannot establish capacity. A representative set of files and simultaneous tasks gives you a better acceptance test.

Compare Building, Buying and Renting

A tower next to the office switch gives you local file transfers even when the internet connection fails, provided the local network and power remain available. A rented server moves the equipment elsewhere and makes office access depend on the WAN connection. The routes divide responsibility as follows.

Route Assembly and Ownership Facilities Integration and Support OS, Apps, Access and Recovery
Component DIY You select, assemble and own parts You provide power, cooling and networking You resolve compatibility; component warranties are separate You administer and back up the service
Prebuilt or Refurbished Purchase Supplier assembles; you own the machine You provide the site and network System support depends on the actual warranty and contract You administer unless a separate service covers it
Dedicated Rental Provider supplies a whole physical server Provider operates the hosting site Hardware replacement and response depend on contract Self-managed OS, apps and recovery remain yours
VPS Rental Provider allocates resources on a host Provider operates the physical infrastructure Host support differs from support inside your VPS Self-managed guest OS, apps and recovery remain yours

Choose DIY when component flexibility is useful and someone can diagnose the complete machine. Choose a supported prebuilt when one supplier's repair process is worth the extra purchase cost. With refurbished equipment, check firmware support, drive wear, included caddies/cables, noise, power draw and the written warranty before paying.

For rental, VPS versus dedicated hardware is a resource and isolation decision. A modest app may fit a VPS; sustained requirements or hardware control may justify a dedicated server. Physical cores and VPS vCPUs are not interchangeable capacity promises.

Consider a VPS Before Committing to a DIY Server

Comparing a VPS rental with building an office server

Buying hardware means committing money before you know how your workload will behave. Building it yourself adds compatibility checks and assembly work. A prebuilt removes that step, but you still need space, power, cooling and a plan for hardware failures. For a website, application or test environment that doesn’t need to run inside the office, renting gives you a way to start sooner and learn what you actually need.

Our Linux VPS plans offer DDR5 RAM, fast NVMe storage and connectivity through 40 Gbps host uplinks. For workloads that need dedicated vCPU capacity, our High Performance plans reserve that capacity for your virtual server. You can put capable infrastructure to work without purchasing the hardware or hosting a public service over your office internet connection.

You also keep control over your software. Our VPS servers are unmanaged, with full root access over SSH. You choose the operating system, install applications and configure services yourself. Updates, security and backups remain your responsibility, giving you practical experience with the administration work your own server would require.

Hourly billing lets you begin with a modest allocation. On PAYG plans, you can resize from the dashboard as your requirements change, while free resource monitoring helps you follow usage. Our 14-day money-back guarantee gives new customers two weeks to evaluate the service and request a refund under the guarantee’s terms if it isn’t the right fit.

Renting also leaves the door open to ownership. If you later build a physical Linux server, you can reinstall your software stack, transfer files and database exports, adapt the configuration and test everything before switching over. The experience you gain managing the VPS carries into that move.

Match the Configuration to the Workload

Office Files and Shared Documents

Assume roughly 2 TB of ordinary documents, accessed locally over wired Ethernet. Start planning around a quiet tower with a modern 4–6-core CPU, 32 GB supported RAM, a 500 GB boot SSD and two 4 TB HDDs in a Linux software RAID1 data mirror. The mirror provides about one 4 TB drive's raw capacity before filesystem overhead and reserved space. The boot SSD remains a single point of failure.

Use gigabit Ethernet across the server, switch and clients, plus a compatible UPS. Allow for a separate removable 8 TB backup disk and an independently protected offsite copy. Versions and file growth may outgrow that disk; measure change volume and retained backup size. This design makes no video-editing throughput promise.

An illustrative USD $1,200–$1,800 allowance covers hardware, UPS and local backup equipment. It excludes tax, labor, licenses and offsite fees. The installation below implements this office-files scenario.

A Public Website or Lightweight App

Assume a small database and modest media collection, with working data initially below 20 GB. Assess a generic rental allocation of 2–4 vCPU, 4–8 GB RAM and 80–160 GB SSD, leaving space for the OS, logs and growth. Those allocations need application-specific load testing; they imply no visitor capacity.

A physical alternative could use a modern 4–6-core CPU, 16 GB RAM and one 500 GB SSD, giving less than the drive's labeled capacity after formatting and the OS. It has no drive redundancy. Include a wired connection, UPS and independent backup destination in a hypothetical USD $800–$1,400 hardware allowance, with the same exclusions as above.

Hosting publicly from the office also requires suitable upload bandwidth, addressing and provider terms. Plan patching, power availability and application support. This is a separate deployment decision; the file-share setup below installs no public web stack.

Separate Internal Services and Test Environments

Assume several isolated services with a combined active dataset below 400 GB. An illustrative host has a modern 8-core CPU, 64 GB compatible RAM and mirrored 1 TB SSDs, with a separate boot device if the platform requires one. That supplies about 1 TB raw data capacity before overhead; every guest disk consumes that shared pool.

Allocate guest RAM as 8 + 8 + 16 GB, then 8 GB for the host/storage: 40 GB assigned and 24 GB remaining. This follows the host-plus-guest accounting in Proxmox's requirements, but it proves neither CPU performance nor supported guest density. Check VT/AMD-V support, drivers and guest licenses; IOMMU support becomes relevant for device passthrough. Keep ZFS off hardware RAID.

Use a wired network, UPS and independent guest backups. A hypothetical USD $1,800–$3,000 allowance includes hardware, UPS and local backup equipment, excluding tax, licenses, labor and offsite fees. Server virtualization separates guest environments; one physical host still provides a single failure point.

Choose Compatible Server Components

Compatible components for a small business server

A processor can fit its socket and still need a different BIOS revision before the board will boot. Build a compatibility sheet around the exact motherboard model, then check every attached component against its manual. These checks apply to the configurations above; none is a validated shopping cart.

CPU

Choose processing capacity around the application. A task limited by one busy thread benefits differently from software that can distribute work across cores. File serving also depends on disks and networking, so an expensive CPU may leave the original bottleneck untouched.

Match the socket and chipset, then find the exact processor in the board's CPU support list and note its required BIOS. ASUS's CPU and memory compatibility procedure shows where those lists live. Ask the seller whether the supplied BIOS can boot your chosen CPU. Also check whether you need integrated graphics or a board management display for installation.

RAM

Capacity must cover the OS and simultaneous applications, with room for growth. Check supported DDR generation, maximum capacity, slot count and the manual's population order. Buying the whole initial set from the board's qualified memory list reduces the number of combinations you must resolve yourself.

UDIMM means unbuffered memory; RDIMM means registered memory. They are different module categories, and ECC capability alone doesn't establish compatibility. Supermicro's registered-memory compatibility FAQ explicitly rejects registered DIMMs for the cited X11SCA family. Confirm ECC support across CPU, board and modules if you require it. Preserve an expansion path that doesn't require discarding every installed module.

Storage

Separate the operating-system device from business data when that makes repair and recovery clearer. SSDs suit workloads sensitive to storage response; HDDs can provide room for ordinary documents. For either, check the drive's intended workload, warranty, endurance information and replacement availability before choosing by capacity alone.

RAID1 stores mirrored data across the pair. It can tolerate a member-drive failure, but deletion, ransomware and site loss still require an independent backup. Confirm the capacity left after formatting and reserve free space for growth. Match SATA or NVMe interfaces, drive dimensions, bays and cables. Check whether using an M.2 slot disables SATA ports needed by the data disks.

Motherboard

With CPU/BIOS compatibility and the memory qualified-vendor list (QVL) recorded, check Linux support for onboard networking and storage controllers, especially on newer platforms.

Count the SATA connectors, M.2 sockets, PCIe slots and fan headers you will use. Read the lane-sharing table: an installed SSD or expansion card may reduce another slot's connectivity. Match the board's form factor and mounting holes to the case. Remote management can help when a machine has no nearby display, but it also needs its own protected access and firmware maintenance.

Network Interface

A faster network card doesn't speed up a slower switch, client connection or storage system. Check the complete path before paying for an upgrade. Use the office-file scenario's gigabit link as a planning choice, then test simultaneous copies with representative files.

Confirm that the interface has drivers for your selected Linux release. An add-in card needs a suitable PCIe slot, clearance and supported link connection. Include switch ports and cabling in the purchase check; they belong in the same throughput decision as the server NIC.

Power Supply

Choose a PSU that fits the chassis and supplies the motherboard, CPU and drives through the required connectors. Include startup demand and planned expansion in the load estimate. Leave appropriate headroom using the component manufacturers' guidance; a large wattage label alone says little about suitability.

Check the board's main and CPU power connections, drive power plugs and cable reach. With a modular PSU, use the cables supplied or explicitly approved for that exact PSU model. Check replacement availability if the case uses a proprietary power supply.

Cooling

Match the CPU cooler to the socket, processor power limits and case clearance. Tall memory modules can also interfere with a cooler. Confirm the mounting kit is included, and follow its instructions for thermal compound and tightening order.

Plan a clear air path through the drive area and chassis. More fans won't repair blocked airflow or a cupboard that traps hot air. Check the manual's fan-header ratings and control settings. After assembly, inspect temperatures during representative work and adjust cooling before putting the machine into service.

Case

A quiet tower is easier to place in an office than equipment intended for a separate equipment room. Check motherboard size, cooler height, drive bays and expansion-card length. Count bays for the boot device, initial data disks and a realistic replacement or expansion plan.

Check whether drive trays, screws and cables are included. Leave room to replace a disk without dismantling the machine. Keep the case accessible for cleaning and service, with unobstructed vents and protection from accidental knocks or disconnected cables.

UPS

A UPS gives the server time to shut down cleanly during a power interruption. Select it using the expected load, the manufacturer's runtime information and Linux-compatible shutdown communication. Its watt rating and battery runtime answer different questions.

Include the network switch if maintaining the local connection during an outage is part of the requirement. Plan battery replacement and test graceful shutdown using the manufacturer's procedure. Avoid assuming that a UPS will keep an office running through a long outage. None of these workloads needs a GPU unless a specific application introduces that requirement.

Before placing the order, record the evidence beside the planned parts:

Check Record Before Buying
CPU and RAM Support-list entries, BIOS requirement, module category and slot order
Storage and Expansion Available ports/bays and lane-sharing restrictions
Mechanical Fit Board holes, cooler height and card clearance
Power and Recovery Correct connectors, UPS shutdown support and backup destination

Assemble and Check the Hardware

A misplaced standoff can touch the back of a board and damage it. Work through the model-specific manuals with power disconnected; the sequence below is a general assembly order, not a substitute for their diagrams.

  1. Inventory the parts and tools. Confirm the CPU support/BIOS check before opening the socket. Keep packing and serial-number records for warranty claims.
  2. Prepare the case. Fit only standoffs matching the board's holes, removing extras. ASUS's motherboard mounting instructions show why extra standoffs are unsafe. Fit a separate I/O shield if the board needs one.
  3. Install the CPU by its alignment marks, without forcing it. Follow the socket latch procedure. The manufacturer's CPU installation instructions require removing the system power cord first. Fit the cooler using its prescribed compound and mounting method; connect the CPU fan.
  4. Install RAM in the manual's initial slots until the retaining mechanism seats correctly. Fit any M.2 device before access becomes awkward.
  5. Secure the motherboard and PSU. Mount the boot and data drives, then connect their data and power leads. Fit any required network card.
  6. Connect motherboard/CPU power, case fans and front-panel leads using the manual. Route cables clear of fans. Inspect for loose screws, unsupported cables and partially seated connectors before applying power.

At first startup, let the power-on self-test (POST) finish. Open UEFI and check detected CPU, total memory, each drive, fan operation and temperatures. Resolve missing parts or abnormal temperatures before installing software. If a firmware update is required, follow the board vendor's exact procedure with stable power.

Run the vendor's available hardware diagnostics and a memory test appropriate to the platform. After installation, copy a representative document set and try normal simultaneous work. Record errors, temperatures and completion times as your own acceptance evidence. An empty-machine benchmark cannot establish whether the office workflow will work.

Install Ubuntu and Put the File Share Into Service

The office-files configuration will expose one authenticated share named business on the LAN. Use Ubuntu Server 24.04 LTS amd64 on supported hardware; its release notes describe maintenance through May 2029. Keep a local console available during networking changes.

Install the OS and Mount the Data Storage

Installing the operating system and mounting server storage

Download the current 24.04 server installation image from Ubuntu and follow Canonical's signed-image verification procedure before creating the USB. It verifies the checksum signature as well as the image checksum; avoid copying a hash from an unrelated download.

Keep the independent backup disk disconnected. Boot the installer and identify internal disks by model, serial and capacity. In custom storage, put the EFI boot partition and OS/root filesystem on the boot SSD. Use the two empty data HDDs to create software MD RAID1, format that device as ext4 and mount it at /srv/business. Canonical's storage configuration instructions cover creating and mounting MD devices.

Review the final layout before confirming erasure. The boot SSD should hold the OS; the mirrored data device should hold /srv/business; no backup disk should appear. Create an individual administrator during installation. After reboot, inspect the layout:

lsblk -o NAME,SIZE,MODEL,SERIAL,FSTYPE,MOUNTPOINTS
findmnt --mountpoint /srv/business
cat /proc/mdstat

Confirm that /srv/business is a mounted ext4 filesystem on the intended MD device and that both mirror members are present and healthy. Allow initial synchronization to finish before acceptance testing. Stop if the mount is absent: creating directories at that path would otherwise put business files on the boot filesystem.

Restrict Administration and Network Access

Reserve the server's address in the router's DHCP settings. The examples use server 192.168.10.10, office subnet 192.168.10.0/24 and administrator client 192.168.10.20. Replace them with your own values. Check the router's LAN settings and the client's address/netmask; /24 describes this example's address range, not every office network. Local file access needs neither a public IP nor purchased DNS.

Apply updates and install the packages:

sudo apt update
sudo apt upgrade
sudo apt install samba smbclient restic ufw

If you need remote administration, install openssh-server, configure an SSH key for the administrator and prove it works in a second session. Keep the first login open. Canonical's OpenSSH instructions include key setup and configuration checks. Run sudo sshd -t after any SSH configuration edit, and retain password access until the replacement key login works.

For that SSH route, replace the address and actual SSH port in the first allow rule before enabling UFW. With console-only administration, omit that rule. Canonical's firewall instructions cover source-limited access:

sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow proto tcp from 192.168.10.20 to any port 22
sudo ufw allow proto tcp from 192.168.10.0/24 to any port 445
sudo ufw enable
sudo ufw status verbose

Retest the administrator connection. Port 445 carries this SMB file access; don't forward it through the internet router. Keep guest Wi-Fi on a separated network that cannot reach the office service. A subnet allow rule cannot distinguish trusted staff from guests sharing that same subnet.

Create an Authenticated File Share

Give each employee a Linux identity and separate Samba credentials. Ubuntu's Samba access-control instructions require the Linux account to exist before enrollment. For a new file-only employee account named alex, run:

sudo addgroup officefiles
sudo adduser --disabled-password --shell /usr/sbin/nologin alex
sudo adduser alex officefiles
sudo smbpasswd -a alex
sudo mkdir -p /srv/business/team
sudo chown root:officefiles /srv/business/team
sudo chmod 2770 /srv/business/team
sudo cp -a /etc/samba/smb.conf /etc/samba/smb.conf.before-business
sudoedit /etc/samba/smb.conf

Enter Alex's Samba password when prompted. The disabled Linux password and nologin shell keep this account separate from administrative logins; don't add it to sudo. Repeat the account, membership and Samba enrollment steps for each employee, creating officefiles only once.

Mode 2770 gives the owner and group access, denies others, and sets the setgid bit so new items inherit the directory's group. Samba access rules and Linux filesystem permissions must both permit the operation. Preserve the global configuration and append this single share:

[business]

    path = /srv/business/team

    browseable = yes

    guest ok = no

    read only = no

    valid users = @officefiles

    force group = officefiles

    create mask = 0660

    force create mode = 0660

    directory mask = 2770

    force directory mode = 2770

The @officefiles entry restricts access to group members; force group keeps share operations in that group. The masks limit new file/directory permissions, as described in Ubuntu's Samba configuration reference. Check and start the service:

sudo testparm -s
sudo systemctl restart smbd
sudo systemctl status smbd --no-pager

Resolve configuration errors before restarting. A syntax check establishes that Samba can load the configuration; the next client test establishes whether the service is usable.

Verify From a Client

On a second Windows computer on the permitted LAN, open \\192.168.10.10\business in File Explorer. Authenticate with alex and the Samba password. Create acceptance.txt, write a short sentence, close it and reopen it. Enroll another employee and confirm that their credentials can edit the team test file.

From a Linux client with smbclient installed, you can connect using:

smbclient //192.168.10.10/business -U alex

Enter the password at the prompt. Test access using incorrect credentials and an unauthenticated guest attempt; neither should read or create files. On Windows, disconnect the existing share connection and clear its cached credentials before testing the denied identity, or you may still be using the successful session.

If the connection times out, confirm the server address and LAN path, inspect UFW's source/port rule, and check smbd status. If authentication or writing fails, inspect Samba enrollment, id alex and ls -ld /srv/business/team. Confirm group membership and directory ownership. Keep guest access disabled and avoid world-writable permissions as a troubleshooting shortcut.

Budget for Ownership and Rental

Assume ownership starts with a $1,500 server, $200 UPS and $300 local backup equipment. These are separate modeling inputs, not a breakdown of the earlier scenario allowance. Model average wall power at 100 W and electricity at $0.15/kWh:

100 / 1000 × 24 × 365 × 3 × 0.15 = $394.20

Neither the power draw nor the rate is a measurement. Assign both self-managed routes 2 administrator hours monthly at $25/hour, and $10/month for independent offsite backup:

Hypothetical 36-Month Cost Own Rent
Hardware, UPS and Local Backup Equipment $2,000.00 Provider hardware and facilities assumed
Rental Charge – $1,080.00
Local Server Electricity $394.20 Included in assumed rental charge
Independent Offsite Backup $360.00 $360.00
Cash Subtotal $2,754.20 $1,440.00
Assigned Administration $1,800.00 $1,800.00
Total Including Assigned Labor $4,554.20 $3,240.00

The rental side models no separate local backup device; independent offsite backup has its own line for both routes.

Back Up, Restore and Hand Over the Service

Recover acceptance.txt and the Samba configuration before putting business files into service. Use a separately mounted external disk with an existing filesystem and enough free space, then keep a second independently protected offsite copy. The commands below do not prepare or erase disks.

Mount the backup disk at /media/business-backup. Check findmnt and lsblk to confirm that this is the intended external device, not a directory on the server's internal storage. Start a privileged shell so restic can read the share and configuration:

sudo -i
findmnt --mountpoint /media/business-backup
lsblk -o NAME,SIZE,MODEL,SERIAL,FSTYPE,MOUNTPOINTS

After confirming the device, initialize and back up. The && chain stops at a failed step, including an absent mount:

findmnt --mountpoint /media/business-backup &&
restic -r /media/business-backup/restic init &&
restic -r /media/business-backup/restic backup /srv/business /etc/samba &&
restic -r /media/business-backup/restic snapshots &&
restic -r /media/business-backup/restic check

Initialize a new repository only once. Restic prompts for its repository password; store it separately in the business credential store. Restic's quickstart procedure covers these repository operations. If the mount check fails, stop rather than letting a repository appear on the host disk.

Keep the test document unchanged during the drill. In the same root shell, restore only that file and the Samba configuration into a new, empty /srv/restore-check directory. Ensure enough free space for these selected items:

mkdir /srv/restore-check &&
restic -r /media/business-backup/restic restore latest --target /srv/restore-check --include /srv/business/team/acceptance.txt --include /etc/samba &&
cmp /srv/business/team/acceptance.txt /srv/restore-check/srv/business/team/acceptance.txt &&
cat /srv/restore-check/srv/business/team/acceptance.txt &&
testparm -s /srv/restore-check/etc/samba/smb.conf

exit

Restic's restore instructions describe target paths and overwrite behavior. cmp should report no difference, the recovered text should be readable, and testparm should accept the restored configuration. This checks file and configuration recovery, not complete disaster recovery.

Assign nightly backups after files close, seven daily and four weekly retained snapshots, a weekly repository check and a monthly restore drill. Nightly backups expose up to roughly a day's changes; measure recovery time during the drill. Restic's retention procedure supports reviewing removal first with forget --keep-daily 7 --keep-weekly 4 --dry-run. Forgetting removes snapshot references; pruning deletes unneeded stored backup data. Review the dry-run before applying either deletion step. Retained snapshots don't prove missed jobs ran.

For automation, protect credentials in a root-only password file or credential store, verify the disk mount in the job, and alert an owner on failure. Rotation requires attaching the correct disk before its job; disconnect it afterward and maintain the offsite copy independently.

Record account/group IDs and employee enrollment procedures. A replacement host needs recreated Linux/Samba identities, preserved or corrected ownership, restored files/configuration and another client test. Backing up /etc/samba alone does not recover Samba's separate credential state.

Hand over an owner and deputy, update/reboot window, UPS shutdown procedure and checks for free space, mirror health, service logs and backup results. Record the successful file restore and elapsed recovery time in that handover before accepting the service.

Share

Discussion

Comments

Sign in to join the discussion.

More from the blog

Keep reading.

Ready to deploy? From $2.48/mo.

Independent cloud, since 2008. AMD EPYC, NVMe, 40 Gbps. 14-day money-back.