UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Unsolved run server like linux with UT?

    Support
    4
    6
    286
    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
      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
        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 Keneda 2 Replies Last reply Reply Quote 0
        • D
          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.

          arubislander 1 Reply Last reply Reply Quote 0
          • arubislander
            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
            BQ Aquaris M10 FHD (16.04 RC)
            Google Pixel 3a (20.04 DEV)
            JingPad (20.04 DEV)
            Meizu Pro 5 (16.04 DEV)
            PinePhone / PineTab UT CE (16.04 DEV)

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

              @arubislander yes, postmarket os, or mobian

              1 Reply Last reply Reply Quote 0
              • Keneda
                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-Now : Meizu MX4 (Stable) for daily use
                Spare : Nexus 5 (Stable)

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