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

    Install Nextcloud 11.03 on Fedora 25 Minimal

    Scheduled Pinned Locked Moved IT Discussion
    nextcloud 11nextcloudfedora 25real instructionshow toguide
    70 Posts 9 Posters 14.2k Views
    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.
    • JaredBuschJ
      JaredBusch
      last edited by JaredBusch

      @wrx7m Just tried. No issues.
      0_1493932062404_upload-4ed758e8-151e-4c35-81fd-c51875100916

      [root@jrd-nc ~]# chown apache:apache /var/www/html/nextcloud/.htaccess 
      [root@jrd-nc ~]# ls -la /var/www/html/nextcloud/.htaccess 
      -rw-r--r--. 1 apache apache 3793 Apr 28 21:54 /var/www/html/nextcloud/.htaccess
      [root@jrd-nc ~]# chown root:apache /var/www/html/nextcloud/.htaccess 
      [root@jrd-nc ~]# ls -la /var/www/html/nextcloud/.htaccess 
      -rw-r--r--. 1 root apache 3793 Apr 28 21:54 /var/www/html/nextcloud/.htaccess
      [root@jrd-nc ~]# 
      
      wrx7mW 1 Reply Last reply Reply Quote 2
      • wrx7mW
        wrx7m @JaredBusch
        last edited by

        @JaredBusch Figured it out. Your commands had a typo and the file name is missing a "c". htacess
        0_1493932623889_Capture.PNG

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

          @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

          @JaredBusch Figured it out. Your commands had a typo and the file name is missing a "c". htacess
          0_1493932623889_Capture.PNG

          /sigh... Fixed.

          wrx7mW 1 Reply Last reply Reply Quote 1
          • wrx7mW
            wrx7m @JaredBusch
            last edited by

            @JaredBusch When you are looking at all this text, it can make your eyes bleed after awhile 😉 I can't believe how many times I looked at it and started over. Well, at least I have learned several things I wouldn't have without that typo 🙂

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

              Thanks @JaredBusch the step-by-step guide worked, I had no problems from start to finish.
              I'd like to go back & clean up the disk I used for the data portion of Nextcloud.

              1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite
                last edited by

                Have anyone noticed tar package is not installed when using Fedora 25 minimal?

                1 Reply Last reply Reply Quote 1
                • wrx7mW
                  wrx7m
                  last edited by

                  Is there a reason you add the html directory to the nextcloud installation? All their docs show /var/www/nextcloud.

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

                    @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                    Is there a reason you add the html directory to the nextcloud installation? All their docs show /var/www/nextcloud.

                    That's not where anything should be deployed. That's not the CentOS or the Fedora directory for that. It's not "wrong" to switch directories, but it is working against the OS which has a spot set up for it and expected already.

                    wrx7mW 1 Reply Last reply Reply Quote 0
                    • wrx7mW
                      wrx7m @scottalanmiller
                      last edited by

                      @scottalanmiller said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                      @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                      Is there a reason you add the html directory to the nextcloud installation? All their docs show /var/www/nextcloud.

                      That's not where anything should be deployed. That's not the CentOS or the Fedora directory for that. It's not "wrong" to switch directories, but it is working against the OS which has a spot set up for it and expected already.

                      Sorry... Which one is not correct?

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

                        @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                        @scottalanmiller said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                        @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                        Is there a reason you add the html directory to the nextcloud installation? All their docs show /var/www/nextcloud.

                        That's not where anything should be deployed. That's not the CentOS or the Fedora directory for that. It's not "wrong" to switch directories, but it is working against the OS which has a spot set up for it and expected already.

                        Sorry... Which one is not correct?

                        /var/www/html is the appropriate top level directory for web applications on the RH family of OSes. Jared's choice of location is what we would generally accept as correct. An application maker should not choose an alternative location to the standards for the OS in question.

                        wrx7mW 1 Reply Last reply Reply Quote 2
                        • wrx7mW
                          wrx7m @scottalanmiller
                          last edited by wrx7m

                          @scottalanmiller - Thanks. That is exactly the answer I was looking for. I wonder why Nextcloud chose to do it at the root of www.

                          Edit - Unless maybe it was developed for non-RH family flavors?

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

                            @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                            @scottalanmiller - Thanks. That is exactly the answer I was looking for. I wonder why Nextcloud chose to do it at the root of www.

                            Edit - Unless maybe it was developed for non-RH family flavors?

                            Yes, or they wanted a generic option. It's fine to have a generic "in case you don't have anything else" location.

                            1 Reply Last reply Reply Quote 1
                            • DashrenderD
                              Dashrender
                              last edited by

                              Working through this with JB this morning.

                              Found some tweaks needed.

                              No longer run

                               #get a script to set secure folder permissions
                               wget -O ~/secure_folders_rhel.sh https://raw.githubusercontent.com/sorvani/scripts/master/Nextcloud/secure_folders_rhel.sh
                               #make the script executable
                               chmod +x ~/secure_folders_rhel.sh
                               #run the script
                               ~/secure_folders_rhel.sh
                              

                              Running that script will break the updater according to JB.

                              And instead, run this

                              chown apache:apache -R /var/www/html/nextcloud

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

                                @dashrender first post already updated while you were typing that most likely. 🙂

                                1 Reply Last reply Reply Quote 1
                                • DashrenderD
                                  Dashrender
                                  last edited by Dashrender

                                  Anyone wondering - Vultr does not have the Netinstall ISO in their library. The Fedora 25 they do have, does not have an minimal install option.

                                  Instead you see this. I, like JB choose to add the Guest Agent.

                                  vMbK74B.png

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

                                    @dashrender said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                    Anyone wondering - Vultr does not have the Netinstall ISO in their library. The Fedora 25 they do have, does not have an minimal install option.

                                    Any reason you are using the ISOs instead of their standard Fedora 25 or 26 images?

                                    JaredBuschJ black3dynamiteB 2 Replies Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch @scottalanmiller
                                      last edited by JaredBusch

                                      @scottalanmiller said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                      @dashrender said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                      Anyone wondering - Vultr does not have the Netinstall ISO in their library. The Fedora 25 they do have, does not have an minimal install option.

                                      Any reason you are using the ISOs instead of their standard Fedora 25 or 26 images?

                                      With CentOS at least, we have proven in the past that their images are not minimal installs, Scott.

                                      Additionally the last CentOS image I used from them had SELinux permanently disabled.

                                      Beyond all of that, I will never, ever, use an image in production that I do not know for 100% certain what it is including.

                                      wirestyle22W 1 Reply Last reply Reply Quote 1
                                      • wirestyle22W
                                        wirestyle22 @JaredBusch
                                        last edited by wirestyle22

                                        @jaredbusch said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                        Additionally the last CentOS image I used from them had SELinux permanently disabled.

                                        I asked Vultr why they do this and they told me it makes it easier for their customers. Bad reasoning IMO.

                                        1 Reply Last reply Reply Quote 0
                                        • black3dynamiteB
                                          black3dynamite @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                          @dashrender said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                          Anyone wondering - Vultr does not have the Netinstall ISO in their library. The Fedora 25 they do have, does not have an minimal install option.

                                          Any reason you are using the ISOs instead of their standard Fedora 25 or 26 images?

                                          I believe their standard is with cockpit installed and selinux is disabled.

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

                                            @black3dynamite said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                            @scottalanmiller said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                            @dashrender said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                            Anyone wondering - Vultr does not have the Netinstall ISO in their library. The Fedora 25 they do have, does not have an minimal install option.

                                            Any reason you are using the ISOs instead of their standard Fedora 25 or 26 images?

                                            I believe their standard is with cockpit installed and selinux is disabled.

                                            That is horrid. I will not even bother to spin one up to test myself then.

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