Time: 60 minutes, most of it waiting
We use Ubuntu Server 22.04 LTS on both. LTS means long-term support: Ubuntu keep sending security updates for it until 2027, so the masjid computer does not need rebuilding every year.
| Machine | Verdict | Why |
|---|---|---|
| A mini-PC | Recommended | Small, quiet, low power, and built to stay on. Second-hand ones are cheap. |
| A PC or laptop you already own | Works. Good for trying it out | Free today, and every part of this guide applies to it. |
There are three reasons, and none of them are about speed.
The battery. A battery that is years old and permanently on charge swells. A swollen battery lifts the keyboard, and it is a fire risk in a cupboard nobody opens.
The dust. A laptop pulls air through a thin vent. Left running for a year in an office, the fan clogs, the machine gets hot, and it slows down or stops.
The parts. A laptop power supply, fan or disk caddy is specific to that model. When one fails in three years, you are hunting a part for a machine nobody sells any more.
We are not going to name a model. What matters is that it meets these, and any machine that does is suitable.
| Look for | Why |
|---|---|
| 64-bit Intel or AMD processor, 4 cores or more | The installer requires 64-bit and checks the core count |
| 8 GB of memory | 4 GB is the minimum. 8 GB leaves room for several apps |
| A solid-state disk, 128 GB or more | Quiet, quick, and it survives being on all the time |
| An ethernet socket | The masjid computer must be on a cable, not Wi-Fi |
| No moving parts except one fan | Less to fail in a cupboard |
.iso..iso file, then choose the USB stick, then click Flash.Etcher writes the stick and then checks it. This takes about five minutes.
The boot-menu key is different on every make. Try these.
| Make | Key |
|---|---|
| Dell | F12 |
| HP | F9 or Esc |
| Lenovo | F12 or Enter |
| Acer, Asus | F12 or Esc |
| Anything else | F12, then F11, then Esc, then Del |
The Ubuntu installer starts. If the machine's own operating system starts instead, switch off and try a different key.
The installer asks a series of questions. Move with the arrow keys, and press Enter to choose.
Now the disk. This is the step that erases the machine.
Then your account. Ubuntu does not use a root password. Your own account gets administrator
rights instead, which you use with sudo.
Masjid Admin.openmasjid.masjid.The installer copies files and downloads updates. This takes 15 to 30 minutes. It then offers Reboot Now. Take the USB stick out as it restarts.
At openmasjid login:, sign in with the username and password from step 3.
Update the machine first.
A long list of packages scrolls past. The prompt returns when it finishes. If it asks about a new configuration file, keep the current one.
Confirm the machine's address, in case it changed.
One address, such as 192.168.1.50. Write it down.
Now run the installer. Copy the whole line. It is one command.
Press Enter to accept Install.
The installer works through six steps, and names each one. It then prints a box with the address to open.
A laptop suspends itself when you close the lid, and the masjid's software stops with it. Turn that off. Skip this step on a mini-PC.
No output. The prompt returns. The laptop now stays on with the lid closed.
Type https:// and then the address from step 4 into a browser on your network.
Your browser says Not secure, or Your connection is not private. This is expected. Click Advanced, then Proceed. You do this once on each device.
You can open https:// followed by the machine's address, and you see the screen that says
Welcome to OpenMasjidOS. You can now unplug the screen and keyboard.
Next, open it for the first time.
If you started on a laptop, moving is a backup and a restore. It takes about an hour, and you lose nothing.
| What you see | Why | What to do |
|---|---|---|
| The machine starts its old operating system instead of the stick. | The boot-menu key was wrong, or the timing was wrong. | Switch off and try another key from the table above. Press it repeatedly from the moment you press the power button. |
| The installer cannot find a network. | Ubuntu’s installer has no driver for some Wi-Fi chips. | Use a network cable for the install. The masjid computer wants a cable anyway. |
| sudo asks for a password and then refuses it. | The password is being typed wrongly, often because the keyboard layout differs. | Type it slowly. If it still fails, check the keyboard layout you chose in step 3. |
| The laptop goes to sleep and the dashboard stops answering. | Step 5 was skipped, or the command did not apply. | Open the lid, sign in, and run the command in step 5 again. |
| The installer says it needs to run as root. | The command was run without sudo. | Run it again with sudo at the front, exactly as printed above. |
| The installer stops and says the processor is not supported. | The machine is 32-bit, which very old PCs are. | Use a 64-bit machine. Every mini-PC sold in the last ten years is 64-bit. |