Hi, I have a xiaomi mi a3 that I don’t use and I’m wondering if it is possible to use it for selfhosting. (piped, nextcloud…)

  • Eskuero
    link
    fedilink
    English
    239 months ago

    Termux has nginx, postgres, python and plenty of stuff compiled to ARM so I bet you can. You would have to be wary of non standard ports unless you have root access and make sure android does not kill or puts to sleep termux by adding exceptions to the app.

    I remember running a few low traffic Mastodon bots in a S3 Mini years ago and it was decent.

  • @JaddedFauceet
    link
    English
    229 months ago

    google for the things you want to host and append “termux” to it, e.g.:

    • nextcloud on termux
    • piped on termux
    • @stown
      link
      English
      319 months ago

      Thanks to your comment I gave termux another try and finally figured out what I was doing wrong (pgk updates never working). DO NOT install termux from the Play Store, use FDROID. If you use the play store version you have an old and outdated version with old and broken package repos.

  • @sv1sjp
    link
    English
    119 months ago

    But if it does not getting any updates, it is a bit risky… Find a custom which gets security updates and then do whatever they say in other comments.

  • @knF
    link
    English
    8
    edit-2
    7 months ago

    Until one week ago I was using an old Samsung A20 with good results. I moved to a mini PC as I wanted to host Immich server and I felt it was too much for the phone (it might not be the case though…)

    A quick extract from an old post of mine on what I was running: https://lemmy.world/comment/354199

    Software: Termux (android app) SSH (OpenSSH in Termux) Rclone (in Termux) Sonarr, Radarr, Lidarr, Prowlarr (in proot-distro) Transmission (in proot-distro) Kavitha (in proot-distro) Podgrab (in proot-distro) Ombi (in proot-distro) ntfy (in proot-distro) Filebrowser (in proot-distro) Vaultwarden (in proot-distro) Homer with lighttpd (in proot-distro)

    TLDR: Go for it! Use Termux with proot-distro to avoid headaches

    • CaptainBlagbird
      link
      English
      69 months ago

      FTFY (formatting)

      Until one week ago I was using an old Samsung S20 with good results. I moved to a mini PC as I wanted to host Immich server and I felt it was too much for the phone (it might not be the case though…)

      A quick extract from an old post of mine on what I was running:
      https://lemmy.world/comment/354199

      Software:

      • Termux (android app)
      • SSH (OpenSSH in Termux)
      • Rclone (in Termux)
      • Sonarr, Radarr, Lidarr, Prowlarr (in proot-distro)
      • Transmission (in proot-distro)
      • Kavitha (in proot-distro)
      • Podgrab (in proot-distro)
      • Ombi (in proot-distro)
      • ntfy (in proot-distro)
      • Filebrowser (in proot-distro)
      • Vaultwarden (in proot-distro)
      • Homer with lighttpd (in proot-distro)

      TLDR: Go for it! Use Termux with proot-distro to avoid headaches

      • @knF
        link
        English
        19 months ago

        Thanks a lot! Much better :)

  • @aesir
    link
    English
    69 months ago

    If postmarket os works on that device maybe you can go full Linux (alpine), there will be no systemd which might be a problem and I am not even sure about docker compatibility. You can look it up though.

  • @[email protected]
    link
    fedilink
    English
    59 months ago

    Tried to host a pihole with distrobix some time ago, eventually it just stopped responding sadly. I want a debian server that I can ssh into, it’s the bare minimum to host stuff IMO. Tmux is great, but I use it as a client, not a server.

    Best case would be to trash the whole android os and somehow get a real Linux distro running headless (I know android is technically Linux, but it does not count)

        • @[email protected]
          link
          fedilink
          English
          29 months ago

          yes actually this is what I mean. although android is linux, any distro wont run on the device

          would gentoo be an option as everything is compilled?

          • @[email protected]
            link
            fedilink
            English
            19 months ago

            Postmarketos seems like the best distro for that kind of thing, you compile your kernel yourself too for that distro.

  • @3arn0wl
    link
    English
    19 months ago

    deleted by creator

  • Miku Luna \ she/it
    cake
    link
    fedilink
    English
    19 months ago

    Should work, tho I doubt it’s much more performant than a pi, so your ideas might be too heavy for it.

  • chriscrutch
    link
    fedilink
    English
    19 months ago

    Can anyone chime in about the safety of this from a battery standpoint? If it’s going to function that way it’ll probably have to be plugged in all the time, and that device’s battery is not removable.

  • @[email protected]B
    link
    fedilink
    English
    0
    edit-2
    9 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    HTTP Hypertext Transfer Protocol, the Web
    SSH Secure Shell for remote terminal access
    nginx Popular HTTP server

    2 acronyms in this thread; the most compressed thread commented on today has 13 acronyms.

    [Thread #150 for this sub, first seen 19th Sep 2023, 21:55] [FAQ] [Full list] [Contact] [Source code]