UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    run server like linux with UT?

    Scheduled Pinned Locked Moved Unsolved Support
    6 Posts 4 Posters 482 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • D Offline
        dncpax
        last edited by

        Hey everyone. Having a rpi4 and knowing my Poco F1 is better equipped I'm looking into creating a linux server with the F1.

        My question is really about how UT fits this bill? Can I install apache/nginx/databases? Does apt install work? Is there a more appropriate option to this particular scenario besides UT?

        What do you guys think?

        Thanks.

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Emphrath @dncpax
          last edited by

          @dncpax if you look around the forum you'll find this has already been asked. I don't remember exactly but in a nutshell : yes it's possible, but also you'd be better off with your rpi4. By default UT system partition is r/o and if you make it r/w all the changes you made will evaporate with next OTA. That is: you can use apt, and probably can setup nginx ( not sure about that, UT network stack is not usual) but it won't last. There's also a thread on this forum about someone who managed to somehow link everything he installs to a writable conf file, making the changes effective even after an update, but it doesn't work with everything. Finally you have libertine containers, which may be the way to go.

          D KenedaK 2 Replies Last reply Reply Quote 0
          • D Offline
            dncpax @Emphrath
            last edited by

            @emphrath Thanks for helping out. I did search the forum but wasn't clear to me what the answer was. I also looked into libertine since I'm used to docker and lxd, but couldn't figure out if it would work for "console" apps.

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @dncpax
              last edited by

              @dncpax Libertine works fine with console apps. But not with services like webservers, databases and such.

              Ubuntu Touch is primarily a phone OS. And as such there is a strict application lifetime management. This means that applications are suspended when not in focus.

              There are some privileged applications that can run in the background, but that won't really help you.

              If you are looking for a server OS to run on your device, maybe you should look a Postmarket OS for instance

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                Emphrath @arubislander
                last edited by

                @arubislander yes, postmarket os, or mobian

                1 Reply Last reply Reply Quote 0
                • KenedaK Offline
                  Keneda @Emphrath
                  last edited by Keneda

                  @emphrath said in run server like linux with UT?:

                  There's also a thread on this forum about someone who managed to somehow link everything he installs to a writable conf file, making the changes effective even after an update, but it doesn't work with everything. Finally you have libertine containers, which may be the way to go.

                  Yes, that's Crackle, by Fuseteam : https://forums.ubports.com/topic/6283/snap-crackle-and-pop-readwrite-rootfs-is-overrated?_=1641778296135

                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                  2023-2024 : Nexus 5 ☠️⚰️✝️
                  2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                  πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post