cloudserver with antix

Forum Forums General Tips and Tricks cloudserver with antix

  • This topic has 13 replies, 6 voices, and was last updated Feb 11-7:34 pm by techore.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #132725
    Member
    sisqonrw

      can i make my own cloudserver with antix?

      #132737
      Forum Admin
      rokytnji

        Samba runs in antiX.

        https://gitlab.com/Robin-antiX/antix-samba-manager

        Sometimes I drive a crooked road to get my mind straight.
        Not all who Wander are Lost.
        Motorcycle racing is rocket science.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #132745
        Member
        Robin

          Samba runs in antiX.
          https://gitlab.com/Robin-antiX/antix-samba-manager

          It’s not ready yet. I’m just about writing the lines for the samba server setup part of it. Will be ready very soon.

          The version at gitlab merely has a placeholder button, doing nothing still (showing a “not implemented yet” message)

          But you can install SAMBA manually and set up the server. That’s what the script also will do:
          – First install samba package from the repos.
          – then add the samba user to the smb daatabase, the user must have a local system account already, otherwise the creation of the samba user will fail. smbpasswd command adds a sambauser.
          – add a section, for a share e.g. [MyShare] to /etc/samba/smb.conf file and write the needed entries into it. Should look something like that:

          [MyFamousShare]
              comment = Sharefolder on antiX1
              path = /home/user/myshares
              read only = no
              browsable = yes
              valid users = user, user2, user3
              guest ok = no

          Adjust the settings to point to the folder you want to share. Adjust the yes/no settings to what you want. There are way more settings you can finetune. Here’s what you need to know:
          https://www.samba.org/samba/docs/current/man-html/samba.7.html
          https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html

          After you are done, save the config back to disk and restart the server:
          sudo service smbd restart

          Login from another machine using the samba credentials you have created in the former steps. You’ll be able to mount the shared folder into your local file system of the other machine then, accessing it as from within file managers as if it was residing actually on the very PC.

          Samba can serve for mixed networking with Linux, Applemac and Windows, in same network.

          And then, there is Droopy (file sharing) available in the antiX control centre. (never have tried this, so I don’t know whether this would serve as a cloud server.)

          Windows is like a submarine. Open a window and serious problems will start.

          #132752
          Member
          techore

            can i make my own cloudserver with antix?

            Can you clarify what you mean by cloudserver? What services would be provided by or connections to the cloud server?

            #132757
            Member
            sisqonrw

              i do not wanto to use for only one case as server

              i want to use it for for example

              https://www.kivitendo.de/community/git.html

              https://nextcloud.com/de/
              https://www.home-assistant.io/
              or
              https://www.openhab.org/

              #132774
              Member
              abc-nix

                Most services you listed can run in a docker container. If you install elogind and docker, you can have your antiX minipc run as a server, with each service started and managed by docker. I have something similar with audiobookshelf, languagetool and nextcloud, all of them from docker images.

                So, if you can find them or make them run from docker images, you can have your antiX PC run as a home server.

                If you have plans for remote connection to your server (want to access your home server from outside your local network), I haven’t tried it but you could check WireGuard. I am not sure if you would need to create your own runit service to start it without systemd, hopefully there is a compatible method.

                • This reply was modified 2 weeks, 4 days ago by abc-nix.
                #132780
                Member
                olsztyn

                  Most services you listed can run in a docker container. If you install elogind and docker, you can have your antiX minipc run as a server, with each service started and managed by docker. I have something similar with audiobookshelf, languagetool and nextcloud, all of them from docker images.

                  I am very curious about your docker implementation to perform such services… I would greatly appreciate some tips how to implement Docker on antiX and how your resulting system is superior in comparison to NAS servers, such as e.g. Synology functionality…

                  Live antiX Boot Options (Previously posted by Xecure):
                  http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                  #132784
                  Member
                  abc-nix

                    how your resulting system is superior in comparison to NAS servers, such as e.g. Synology functionality…

                    Not superior. I think you can set up many services with synology, but I don’t have experience with it. Docker is not the best option for performance, but it is way easier to use than other manual methods. You just need to find some docker image someone has already created for the service you need. I prefer to keep java out of my system, so I have languagetool running in a docker container in a minipc connected to the router. I also use audiobookshelf for many audiobooks I dispatch to different devices.

                    There is a topic somewhere in the forum about setting up docker on antiX, and it seems that (at that point in time) it only worked with elogind installed. Not sure if it is still true today.

                    Docker is too long a topic to explain in a forum comment. Best to find a proper video or tutorial about using a graphical interface like Portainer or yacht. Docker works the same way on any linux systems, so once docker is running you can follow any tutorial online to set up the desired service.

                    #132786
                    Member
                    olsztyn

                      There is a topic somewhere in the forum about setting up docker on antiX, and it seems that (at that point in time) it only worked with elogind installed. Not sure if it is still true today.

                      Thanks very much @abc-nix…
                      I think I will try to implement docker and see how far I will get… Only my (probably wrong) assumption was that docker is mostly for development, where performance is not required, rather than for production server. I will do some more research on this…

                      • This reply was modified 2 weeks, 4 days ago by olsztyn.
                      • This reply was modified 2 weeks, 4 days ago by olsztyn.

                      Live antiX Boot Options (Previously posted by Xecure):
                      http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                      #132799
                      Member
                      techore

                        Not disagreeing with the other recommendations but I have used and plan to use NextCloud for these services. I was an early adopter of OpenCloud then later moved with many of their users to NextCloud. It specifically designed for use outside your home for mobile devices but can be used at home, too.

                        Nice thing with NextCloud, you will not have to build and maintain the variety of services or docker containers. Just use the app store and use your precious time elsewhere.

                        https://apps.nextcloud.com

                        If you are looking at Synology for serving files locally and provide services off-premise/outside your home, you may want to use TrueNAS Core. I am using it and it predecessors for a very long time. It is rock solid. TrueNAS has apps including NextCloud. If you are going to expose the administrative features or use protocols that are not safe over the internet, it supports using VPN as well.

                        https://www.truenas.com/docs/solutions/integrations/nextcloud/

                        There is really only one disadvantage with using TrueNAS versus a Synology appliance, you will need to read and spend time to ensure you build your TrueNAS appliance to meet your needs. With Synology, you get it ready to go. I do not regret the many hours and iterations of refining my TrueNAS boxes over the last couple decades. It was time well spent.

                        • This reply was modified 2 weeks, 4 days ago by techore.
                        #132806
                        Member
                        olsztyn

                          If you are looking at Synology for serving files locally and provide services off-premise/outside your home, you may want to use TrueNAS Core. I am using it and it predecessors for a very long time. It is rock solid. TrueNAS has apps including NextCloud.

                          Interesting…
                          Long time ago (close to twenty perhaps) I was using FreeNAS based on BSD. Eventually I dropped it for smaller NAS devices, Lenovo IX2.
                          Now when you mentioned I am reading that FreeNAS became TrueNAS. As much as in the distant past it was very simple BSD NAS it seems has evolved to a more sophisticated… I think I might try, using one of my desktop machines. However one issue I am trying to avoid is high power machines (such as desktops) while small NAS devices. I am running four NAS servers, RAID1 each and two spare ones.
                          I may try some TrueNAS Core to see how much it evolved since those early days of FreeNAS…

                          Live antiX Boot Options (Previously posted by Xecure):
                          http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                          #132810
                          Member
                          techore

                            The big difference between five years ago and now is OpenZFS is much better on low memory systems. For example, I would not even consider it on a typical laptop five years ago but now I would. The only barrier to entry is the fact the Linux kernel team will not support OpenZFS due to “Litigious Larry.” Linus’ words not mine though I agree Oracle is litigious. Yes, you can build your own kernel and modules, I have, but honestly it is a bloody nuisance. As a consequence, I only use zfs on *bsd and use btrfs on Linux. 🙁

                            #132820
                            Member
                            olsztyn

                              The big difference between five years ago and now is OpenZFS is much better on low memory systems.

                              I am trying to understand: So is it working with OpenZFS as it comes, or it requires installation of a special kernel?
                              Thanks again…

                              Live antiX Boot Options (Previously posted by Xecure):
                              http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                              #132826
                              Member
                              techore

                                TrueNAS continues like FreeNAS is be based on bsd and uses zfs. Unlike Linux, nothing needs to be done special to support zfs. To use zfs on Linux, you have to do *special* stuff. Once you have it working on Linux, you need to tweak things for your needs but nothing in particular for use on a laptop. Not completely an accurate statement but the default settings are fine but there are so many options to optimize.

                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • You must be logged in to reply to this topic.