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.8k
    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.
    • A
      Alex Sage
      last edited by

      What if I want my data encrypted? Is there a option for this?

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

        @aaronstuder said:

        What if I want my data encrypted? Is there a option for this?

        Not without ownCloud itself, that would not be the right place as they only handle the application layer. Encryption would be handled by the storage layer which is LVM and XFS here, in Linux. So a good example and, I think, the most likely candidate for this would be using LUKS to encrypt the storage layer. LUKS is very enterprise and included in Linux, so nothing third party. If you use the separate /data block device like I would recommend for production, you can encrypt that without encrypting the / filesystem making things vastly easier.

        A 1 Reply Last reply Reply Quote 2
        • A
          Alex Sage @scottalanmiller
          last edited by

          @scottalanmiller Great!

          So I did create /data now how do I encrypt it?

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

            @aaronstuder said:

            @scottalanmiller Great!

            So I did create /data now how do I encrypt it?

            I'm going to need to write a whole article on this. It's been a while since I did this. But I did build the encryption infrastructure for a major financial firm, so I'm used to working with it.

            dafyreD 1 Reply Last reply Reply Quote 1
            • dafyreD
              dafyre @scottalanmiller
              last edited by

              @scottalanmiller said:

              @aaronstuder said:

              @scottalanmiller Great!

              So I did create /data now how do I encrypt it?

              I'm going to need to write a whole article on this. It's been a while since I did this. But I did build the encryption infrastructure for a major financial firm, so I'm used to working with it.

              What about using a library or something like encfs (https://github.com/vgough/encfs) ?

              I am using it on my Plex server that is connected to my Amazon Cloud Drive. It works well.

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

                @dafyre said:

                @scottalanmiller said:

                @aaronstuder said:

                @scottalanmiller Great!

                So I did create /data now how do I encrypt it?

                I'm going to need to write a whole article on this. It's been a while since I did this. But I did build the encryption infrastructure for a major financial firm, so I'm used to working with it.

                What about using a library or something like encfs (https://github.com/vgough/encfs) ?

                I am using it on my Plex server that is connected to my Amazon Cloud Drive. It works well.

                You don't want FUSE if you can avoid it. Why not use the built in system?

                dafyreD 1 Reply Last reply Reply Quote 0
                • dafyreD
                  dafyre @scottalanmiller
                  last edited by

                  @scottalanmiller said:

                  @dafyre said:

                  @scottalanmiller said:

                  @aaronstuder said:

                  @scottalanmiller Great!

                  So I did create /data now how do I encrypt it?

                  I'm going to need to write a whole article on this. It's been a while since I did this. But I did build the encryption infrastructure for a major financial firm, so I'm used to working with it.

                  What about using a library or something like encfs (https://github.com/vgough/encfs) ?

                  I am using it on my Plex server that is connected to my Amazon Cloud Drive. It works well.

                  You don't want FUSE if you can avoid it. Why not use the built in system?

                  I was testing out a guide using EncFS to encrypt data stored on Amazon Cloud. It works, so I haven't bothered with changing it, lol.

                  What are the built-in options? I'm not aware of disk / partition encryption options on Linux these days.

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

                    dm-crypt is the system in the kernel. Been there since 2.6.

                    1 Reply Last reply Reply Quote 2
                    • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              Last post