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

    Installing ownCloud 9 on CentOS 7

    IT Discussion
    owncloud owncloud 9 storage open source centos centos 7 linux linux server ntg lab scale scale hc3
    9
    116
    39.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

      Just did a new internal install with this as well. Using CentOS 7, adding the REMI Repos and moved to PHP7 and added the memory cache. Also using an external MariaDB database, also on CentOS 7.

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

        @scottalanmiller said:

        Just did a new internal install with this as well. Using CentOS 7, adding the REMI Repos and moved to PHP7 and added the memory cache. Also using an external MariaDB database, also on CentOS 7.

        PHP 7? that is not in the normal Remi repos. That was still beta in the repo i thought.

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

          I thought PHP7 was in full release, but what do I know?

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

            @JaredBusch said:

            @scottalanmiller said:

            Just did a new internal install with this as well. Using CentOS 7, adding the REMI Repos and moved to PHP7 and added the memory cache. Also using an external MariaDB database, also on CentOS 7.

            PHP 7? that is not in the normal Remi repos. That was still beta in the repo i thought.

            When you install the REMI repos PHP7 is one of the repos that is available. It's a separate config file from the newer 5.x repos.

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

              @Dashrender said:

              I thought PHP7 was in full release, but what do I know?

              Full release of what?

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

                @scottalanmiller said:

                @Dashrender said:

                I thought PHP7 was in full release, but what do I know?

                Full release of what?

                i.e. not in beta like i mentioned because i have a bad memory.

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

                  @scottalanmiller said:

                  @JaredBusch said:

                  @scottalanmiller said:

                  Just did a new internal install with this as well. Using CentOS 7, adding the REMI Repos and moved to PHP7 and added the memory cache. Also using an external MariaDB database, also on CentOS 7.

                  PHP 7? that is not in the normal Remi repos. That was still beta in the repo i thought.

                  When you install the REMI repos PHP7 is one of the repos that is available. It's a separate config file from the newer 5.x repos.

                  I guess I will set that up on my personal ownCloud and see how it acts.

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

                    @JaredBusch said:

                    @scottalanmiller said:

                    @Dashrender said:

                    I thought PHP7 was in full release, but what do I know?

                    Full release of what?

                    i.e. not in beta like i mentioned because i have a bad memory.

                    Oh okay, I thought that he was thinking that it was an option in RHEL 7 like Python 2 / Python 3 are in many releases.

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

                      @JaredBusch said:

                      @scottalanmiller said:

                      @JaredBusch said:

                      @scottalanmiller said:

                      Just did a new internal install with this as well. Using CentOS 7, adding the REMI Repos and moved to PHP7 and added the memory cache. Also using an external MariaDB database, also on CentOS 7.

                      PHP 7? that is not in the normal Remi repos. That was still beta in the repo i thought.

                      When you install the REMI repos PHP7 is one of the repos that is available. It's a separate config file from the newer 5.x repos.

                      I guess I will set that up on my personal ownCloud and see how it acts.

                      It's pretty soon here, but so far no issues to report.

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

                        I've got 1 vCPU and 2GB of RAM right now. Will increase if needed but rather doubt it. The database is external so uses no local resources. 200GB on /data which is XFS on LVM separate from the main install. PHP 7 with the memcache. Nothing fancy other than those minor changes.

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

                          @scottalanmiller said:

                          I've got 1 vCPU and 2GB of RAM right now. Will increase if needed but rather doubt it. The database is external so uses no local resources. 200GB on /data which is XFS on LVM separate from the main install. PHP 7 with the memcache. Nothing fancy other than those minor changes.

                          I need to look at how to setup the partitioning manually during install because I don't want to go back to the Hypervisor later to add the drive. But I guess it is really jsut as easy to install, boot, shut down, and then add it.. then boot up, yum update, then add the drive

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

                            @JaredBusch said:

                            @scottalanmiller said:

                            I've got 1 vCPU and 2GB of RAM right now. Will increase if needed but rather doubt it. The database is external so uses no local resources. 200GB on /data which is XFS on LVM separate from the main install. PHP 7 with the memcache. Nothing fancy other than those minor changes.

                            I need to look at how to setup the partitioning manually during install because I don't want to go back to the Hypervisor later to add the drive. But I guess it is really jsut as easy to install, boot, shut down, and then add it.. then boot up, yum update, then add the drive

                            I add the drive at VM creation time (clone template, add drive, spin up.) The second drive is /dev/vdb for me, not a partition. I like this because I can control is separately from the hypervisor (all the data is on the one) and also because the base template is always identical - I know how big the root volume is going to be across the estate. Adding the second drive I use the commands from the other post that I did and it mounts it in seconds, so the extra step is trivial as long as you want a similar format. And choosing a different filesystem or naming convention or mount point is trivial.

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

                              @scottalanmiller said:

                              @JaredBusch said:

                              @scottalanmiller said:

                              I've got 1 vCPU and 2GB of RAM right now. Will increase if needed but rather doubt it. The database is external so uses no local resources. 200GB on /data which is XFS on LVM separate from the main install. PHP 7 with the memcache. Nothing fancy other than those minor changes.

                              I need to look at how to setup the partitioning manually during install because I don't want to go back to the Hypervisor later to add the drive. But I guess it is really jsut as easy to install, boot, shut down, and then add it.. then boot up, yum update, then add the drive

                              I add the drive at VM creation time (clone template, add drive, spin up.) The second drive is /dev/vdb for me, not a partition. I like this because I can control is separately from the hypervisor (all the data is on the one) and also because the base template is always identical - I know how big the root volume is going to be across the estate. Adding the second drive I use the commands from the other post that I did and it mounts it in seconds, so the extra step is trivial as long as you want a similar format. And choosing a different filesystem or naming convention or mount point is trivial.

                              I understand that, but I am not generally replicating. I am setting something up on a new site for a different client. There is nothing to replicate from. So it is a matter of setting up the process to handle it each time.

                              1 Reply Last reply Reply Quote 0
                              • wirestyle22W
                                wirestyle22
                                last edited by

                                Any good ML documentation on best practices for securing your OwnCloud server?

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

                                  @wirestyle22 said:

                                  Any good ML documentation on best practices for securing your OwnCloud server?

                                  • Use fail2ban
                                  • Good password security on any account with admin access
                                  • Always keep things updated (php, apache, etc.)
                                  • Disallow http
                                  • maintain a valid SSL certificate
                                  • Do not allow any port except 443 to hit the server from the public internet.
                                  wirestyle22W 1 Reply Last reply Reply Quote 2
                                  • wirestyle22W
                                    wirestyle22 @JaredBusch
                                    last edited by

                                    @JaredBusch said:

                                    @wirestyle22 said:

                                    Any good ML documentation on best practices for securing your OwnCloud server?

                                    • Use fail2ban
                                    • Good password security on any account with admin access
                                    • Always keep things updated (php, apache, etc.)
                                    • Disallow http
                                    • maintain a valid SSL certificate
                                    • Do not allow any port except 443 to hit the server from the public internet.

                                    Thanks Jared!

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

                                      @wirestyle22 you can look at my 8.2 thread where I actually go over everything in detail. I do need to clean it up though and redo it for PHP 7 and ownCloud 9

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

                                        @JaredBusch said:

                                        @wirestyle22 you can look at my 8.2 thread where I actually go over everything in detail. I do need to clean it up though and redo it for PHP 7 and ownCloud 9

                                        I read it. I took note of your comment on some of the documentation not being great so I figured I'd ask if there were any updates etc. Appreciate the help. Great info in your posts too.

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

                                          @wirestyle22 said:

                                          @JaredBusch said:

                                          @wirestyle22 you can look at my 8.2 thread where I actually go over everything in detail. I do need to clean it up though and redo it for PHP 7 and ownCloud 9

                                          I read it. I took note of your comment on some of the documentation not being great so I figured I'd ask if there were any updates etc. Appreciate the help. Great info in your posts too.

                                          it is all good and all the issues have been worked out. but you do have to go top to bottom of the post to get there 🙂

                                          oh and one thing i neglected above

                                          • do not disable SELinux
                                          wirestyle22W 2 Replies Last reply Reply Quote 1
                                          • wirestyle22W
                                            wirestyle22 @JaredBusch
                                            last edited by

                                            @JaredBusch said:

                                            @wirestyle22 said:

                                            @JaredBusch said:

                                            @wirestyle22 you can look at my 8.2 thread where I actually go over everything in detail. I do need to clean it up though and redo it for PHP 7 and ownCloud 9

                                            I read it. I took note of your comment on some of the documentation not being great so I figured I'd ask if there were any updates etc. Appreciate the help. Great info in your posts too.

                                            it is all good and all the issues have been worked out. but you do have to go top to bottom of the post to get there 🙂

                                            oh and one thing i neglected above

                                            • do not disable SELinux

                                            I'm currently running a test server just to show my boss what it's like but I will make a note of that. A lot of the guides tell you do that so I'm glad you said something. Appreciate it!

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