Installing ownCloud 9 on CentOS 7
-
What if I want owncloud on the root of the domain?
-
@aaronstuder said:
What if I want owncloud on the root of the domain?
I'm not sure that I understand the question.
-
@scottalanmiller said:
I want domain.com to bring me to the owncloud login, not domain.com/owncloud
-
@aaronstuder said:
@scottalanmiller said:
I want domain.com to bring me to the owncloud login, not domain.com/owncloud
OH!! LOL, that makes sense. I wasn't thinking about that at all.
Then go into your Apache configuration settings and move the "root" up one level to include the owncloud directory. There will be a line that points to /var/www/html/ and instead change that to /var/www/html/owncloud.
You can do this after installation is all done. No need to do it during the installation.
-
@scottalanmiller said:
@aaronstuder said:
@scottalanmiller said:
I want domain.com to bring me to the owncloud login, not domain.com/owncloud
OH!! LOL, that makes sense. I wasn't thinking about that at all.
Then go into your Apache configuration settings and move the "root" up one level to include the owncloud directory. There will be a line that points to /var/www/html/ and instead change that to /var/www/html/owncloud.
You can do this after installation is all done. No need to do it during the installation.
I never have the owncloud instance on the root of a domain so I always use it as a sub domain. Typically
oc.domain.com
and I have never bothered to remove the owncloud directory. -
@JaredBusch said:
I never have the owncloud instance on the root of a domain so I always use it as a sub domain. Typically
oc.domain.com
and I have never bothered to remove the owncloud directory.That's normally what we do. https://oc.companydomain.com/
-
@scottalanmiller said:
If you are just testing, you can just use SQLite at this point and move on. If you are doing this for production you should use MariaDB either locally (as shown in the example) or externally (often for a very large install.) You can create a database on MariaDB, set the username and password and ownCloud will simply ask for these details in the web setup screens.
This is really not clear to someone that has not done this before.
You cannot create the MariaDB instancefrom the GUI. it needs to be done during setup. See my 8.2 documentation for details. -
Couple of things:
-
Your missing:
mkdir /data
-
I hate disabling SELinux - Let's fix it not turn it off
-
You should have database setup instructions
-
-
You forget to turn on the database
systemctl start mariadb systemctl enable mariadb
-
@aaronstuder said:
You forget to turn on the database
systemctl start mariadb systemctl enable mariadb
No, he did not. he is not using MariaDB in this example.
-
@aaronstuder said:
Couple of things:
-
Your missing:
mkdir /data
-
I hate disabling SELinux - Let's fix it not turn it off
-
You should have database setup instructions
You are assuming things here that are not true.
-
-
@aaronstuder said:
- I hate disabling SELinux - Let's fix it not turn it off
It's just turned off for the install, it's not off in general.
-
-
@aaronstuder said:
You forget to turn on the database
systemctl start mariadb systemctl enable mariadb
You'd need to do that for the database creation steps that I mentinoed in the description
-
@aaronstuder said:
@JaredBusch said:
No, he did not. he is not using MariaDB in this example.
Then why install it?
Just to have it at the ready.
-
-
We run with an external MariaDB system. So the third option
-
What if I want my data encrypted? Is there a option for this?
-
@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.
-
@scottalanmiller Great!
So I did create /data now how do I encrypt it?