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

    Install Nextcloud 13.0.0 on Fedora 27

    IT Discussion
    how to nextcloud nextcloud 13 real instructions guide fedora 27
    21
    188
    30.9k
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Super easy, install worked without a hitch.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        Don't forget to add this bit, to clear the opcache warning...

        # php-opcache
        sudo dnf -y install php-opcache
        
        # /etc/php.d/10-opcache.ini
        sudo tee  /etc/php.d/10-opcache.ini <<EOF
        opcache.enable=1
        opcache.enable_cli=1
        opcache.interned_strings_buffer=8
        opcache.max_accelerated_files=10000
        opcache.memory_consumption=128
        opcache.save_comments=1
        opcache.revalidate_freq=1
        EOF
        
        # Restart php-fpm
        sudo systemctl restart php-fpm
        
        JaredBuschJ 2 Replies Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          Also, for those of us using the stock Fedora 27 Server install, the default firewall zone is FedoraServer, rather than public, so this is the command that I use for the firewall...

          firewall-cmd --zone=FedoraServer --add-port=https/tcp --permanent
          
          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @scottalanmiller
            last edited by

            @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

            Don't forget to add this bit, to clear the opcache warning...

            # php-opcache
            sudo dnf -y install php-opcache
            
            # /etc/php.d/10-opcache.ini
            sudo tee  /etc/php.d/10-opcache.ini <<EOF
            opcache.enable=1
            opcache.enable_cli=1
            opcache.interned_strings_buffer=8
            opcache.max_accelerated_files=10000
            opcache.memory_consumption=128
            opcache.save_comments=1
            opcache.revalidate_freq=1
            EOF
            
            # Restart php-fpm
            sudo systemctl restart php-fpm
            

            Yeah I ran out of time. Was time to go be with the kids for a while.

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @scottalanmiller
              last edited by

              @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

              Also, for those of us using the stock Fedora 27 Server install, the default firewall zone is FedoraServer, rather than public, so this is the command that I use for the firewall...

              firewall-cmd --zone=FedoraServer --add-port=https/tcp --permanent
              

              Eww minimal install always.

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @scottalanmiller
                last edited by

                @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                Don't forget to add this bit, to clear the opcache warning...

                # php-opcache
                sudo dnf -y install php-opcache
                
                # /etc/php.d/10-opcache.ini
                sudo tee  /etc/php.d/10-opcache.ini <<EOF
                opcache.enable=1
                opcache.enable_cli=1
                opcache.interned_strings_buffer=8
                opcache.max_accelerated_files=10000
                opcache.memory_consumption=128
                opcache.save_comments=1
                opcache.revalidate_freq=1
                EOF
                
                # Restart php-fpm
                sudo systemctl restart php-fpm
                

                This is a horrible solution.

                WHen you install php-opcache, it creates a 10-opcache.ini with half of these settigns as defualt.

                Additionally this nukes all other settings int he default config file.

                1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch
                  last edited by

                  I am updating the above instructions to include these settings, but here it is by itself.

                  #install php-opcache
                  dnf  -y install php-opcache
                  
                  #update the settings file.
                  sed -i -e 's/;opcache.enable_cli=0/opcache.enable_cli=1/' /etc/php.d/10-opcache.ini;
                  sed -i -e 's/opcache.max_accelerated_files=4000/opcache.max_accelerated_files=10000/' /etc/php.d/10-opcache.ini;
                  sed -i -e 's/;opcache.save_comments=1/opcache.save_comments=1/' /etc/php.d/10-opcache.ini;
                  sed -i -e 's/;opcache.revalidate_freq=2/opcache.revalidate_freq=1/' /etc/php.d/10-opcache.ini;
                  
                  #restart the service
                  systemctl restart php-fpm
                  
                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by

                    There we go.

                    If you follow these instructions you should see this in the admin settings.

                    0_1518230761453_08b85b94-ad7a-44d7-aa83-87efed3da3e2-image.png

                    1 Reply Last reply Reply Quote 0
                    • NashBrydgesN
                      NashBrydges
                      last edited by

                      Followed these instructions and installed without a hitch! Already have Nextcloud running but it's on Ubuntu. Wanted to give it a try on Fedora. Thanks for this.

                      scottalanmillerS 1 Reply Last reply Reply Quote 1
                      • scottalanmillerS
                        scottalanmiller @NashBrydges
                        last edited by

                        @nashbrydges said in Install Nextcloud 13.0.0 on Fedora 27:

                        Followed these instructions and installed without a hitch! Already have Nextcloud running but it's on Ubuntu. Wanted to give it a try on Fedora. Thanks for this.

                        I'm REALLY close to having this fully scripted with interactivity on the script 🙂

                        ObsolesceO FATeknollogeeF 2 Replies Last reply Reply Quote 1
                        • ObsolesceO
                          Obsolesce @scottalanmiller
                          last edited by

                          @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                          @nashbrydges said in Install Nextcloud 13.0.0 on Fedora 27:

                          Followed these instructions and installed without a hitch! Already have Nextcloud running but it's on Ubuntu. Wanted to give it a try on Fedora. Thanks for this.

                          I'm REALLY close to having this fully scripted with interactivity on the script 🙂

                          Shall I turn it into a Salt State or is that what you are working on already?

                          scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Obsolesce
                            last edited by

                            @tim_g said in Install Nextcloud 13.0.0 on Fedora 27:

                            @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                            @nashbrydges said in Install Nextcloud 13.0.0 on Fedora 27:

                            Followed these instructions and installed without a hitch! Already have Nextcloud running but it's on Ubuntu. Wanted to give it a try on Fedora. Thanks for this.

                            I'm REALLY close to having this fully scripted with interactivity on the script 🙂

                            Shall I turn it into a Salt State or is that what you are working on already?

                            We've had that for a while 😉

                            1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              scottalanmiller @Obsolesce
                              last edited by

                              @tim_g said in Install Nextcloud 13.0.0 on Fedora 27:

                              @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                              @nashbrydges said in Install Nextcloud 13.0.0 on Fedora 27:

                              Followed these instructions and installed without a hitch! Already have Nextcloud running but it's on Ubuntu. Wanted to give it a try on Fedora. Thanks for this.

                              I'm REALLY close to having this fully scripted with interactivity on the script 🙂

                              Shall I turn it into a Salt State or is that what you are working on already?

                              https://mangolassi.it/topic/12869/install-nextcloud-11-on-fedora-25-with-saltstack

                              1 Reply Last reply Reply Quote 0
                              • FATeknollogeeF
                                FATeknollogee @scottalanmiller
                                last edited by

                                @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                I'm REALLY close to having this fully scripted with interactivity on the script 🙂

                                What will be different or better about this method vs SaltStack method?

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @FATeknollogee
                                  last edited by

                                  @fateknollogee said in Install Nextcloud 13.0.0 on Fedora 27:

                                  @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                  I'm REALLY close to having this fully scripted with interactivity on the script 🙂

                                  What will be different or better about this method vs SaltStack method?

                                  A script is a procedural approach and Salt is a state approach. Results upon completion are the same, but they are different methodologies and are used in different scenarios.

                                  Scripting a build is better for learning and is used to make a repeatable, predictable start to a snowflake managed system.

                                  A state system, like Salt or Ansible, is used to define the resulting state of a system rather than the means to make it so and is not nearly as useful for learning, but is part of ongoing operations rather than simply being the beginning of the process. A Salt state would be used to keep managing the system, not just a one time operation to prepare it.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Testing the script now....

                                    1 Reply Last reply Reply Quote 1
                                    • JaredBuschJ
                                      JaredBusch @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                      Scripting a build is better for learning

                                      I've seen your scripts. they are totally not for learning a damned thing.

                                      That is why I specifically never post instructions like this in a script form.

                                      ObsolesceO scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • ObsolesceO
                                        Obsolesce @JaredBusch
                                        last edited by

                                        @jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:

                                        @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                        Scripting a build is better for learning

                                        I've seen your scripts. they are totally not for learning a damned thing.

                                        That is why I specifically never post instructions like this in a script form.

                                        What? How are bash scripts not for learning?

                                        I learn so much more going over scripts than I would any other way. The more efficient they are written, the more I learn.

                                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @Obsolesce
                                          last edited by

                                          @tim_g said in Install Nextcloud 13.0.0 on Fedora 27:

                                          @jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:

                                          @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                          Scripting a build is better for learning

                                          I've seen your scripts. they are totally not for learning a damned thing.

                                          That is why I specifically never post instructions like this in a script form.

                                          What? How are bash scripts not for learning?

                                          I learn so much more going over scripts than I would any other way. The more efficient they are written, the more I learn.

                                          Did you look at his thread? there is no learning. it is "run this"

                                          That is always how he writes them up.

                                          There is zero wrong with that approach. It is in fact a better way to do it if you just want to tell someone go here and do this and it will work.

                                          But that is not what I write my guide to do. My guides are guides that you perform everything step by step.

                                          ObsolesceO 1 Reply Last reply Reply Quote 0
                                          • ObsolesceO
                                            Obsolesce @JaredBusch
                                            last edited by

                                            @jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:

                                            @tim_g said in Install Nextcloud 13.0.0 on Fedora 27:

                                            @jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:

                                            @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                            Scripting a build is better for learning

                                            I've seen your scripts. they are totally not for learning a damned thing.

                                            That is why I specifically never post instructions like this in a script form.

                                            What? How are bash scripts not for learning?

                                            I learn so much more going over scripts than I would any other way. The more efficient they are written, the more I learn.

                                            Did you look at his thread? there is no learning. it is "run this"

                                            That is always how he writes them up.

                                            There is zero wrong with that approach. It is in fact a better way to do it if you just want to tell someone go here and do this and it will work.

                                            But that is not what I write my guide to do. My guides are guides that you perform everything step by step.

                                            Oh I see what you mean. I agree.

                                            But...
                                            I think Scott meant writing a script or reading a script is great for learning, I don't think he meant copy and pasting a line that is fully automated.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 1 / 10
                                            • First post
                                              Last post