Hasty Briefsbeta

Host a website from an old phone using PostmarketOS

a day ago
  • #linux
  • #upcycling
  • #web-server
  • Repurpose an old Android phone into a web server to reduce e-waste.
  • Requirements: unused Android phone, charger, WiFi, Linux computer.
  • Install PostmarketOS using pmbootstrap and flash it to the device.
  • Set up the phone as a server by connecting via SSH and WiFi.
  • Serve a simple web page using httpd and configure nftables for port 80.
  • Optional: Set up remote access via VPN instead of exposing SSH to the internet.
  • Maintain the server by updating packages with apk.
  • Future steps include setting up HTTPS and making the server persistent.