mmakillo.blogg.se

Owncloud unraid setup
Owncloud unraid setup







owncloud unraid setup
  1. Owncloud unraid setup install#
  2. Owncloud unraid setup full#
  3. Owncloud unraid setup password#

This is not the intended way that OwnCloud functions, but I wanted to get around this issue. This can be problematic for those who want to upload files via SFTP rather than using OwnCloud's sync. In a multi-user setup, OwnCloud needs to be in a privileged directory, such as /usr/share/owncloud. Enabling files uploaded by SFTP to be viewed and edited in OwnCloud

Owncloud unraid setup full#

Note that for the desktop and iOS clients, I think I had to give the full address of the server, i.e.

owncloud unraid setup

Lastly I restarted apache sudo /etc/init.d/apache2 restart and checked to see if the OwnCloud login was now accessible via https and not http.ĥ. SSLCertificateKeyFile /etc/apache2/ssl/owncloud.keyĤ. SSLCertificateFile /etc/apache2/ssl/owncloud.pem Here is the new file from /etc/apache2/conf-enabled/nf: I had to edit the OwnCloud configuration file so that https redirect works. Sudo openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/owncloud.pem -keyout /etc/apache2/ssl/owncloud.keyģ. export CN="owncloud" # This is the important environment variable IMPORTANT: I had to set an environment variable before creating the certificate to give my server a name, otherwise the OwnCloud desktop client wouldn't accept the certificate.

Owncloud unraid setup install#

Install openssl and add it to apache: sudo apt-get install opensslĢ. I followed the directions from here, except that I had to make one very important addition before creating the certificate.ġ. I would ensure all of this works for admin and one other user before attempting to add SSL encryption.

owncloud unraid setup

After creating the OwnCloud admin and logging in, you can create other user accounts, enable other plugins, set file size quotas, etc.

Owncloud unraid setup password#

The MySQL user and password are whatever you set in #3 above.Ħ. I don't think the OwnCloud admin name and password were previously set, so I must have done that here. Navigate to to setup the OwnCloud admin user. ServerAlias Alias /owncloud /usr/share/owncloudĥ. ServerName and ServerAlias are only required if you use a hostname. You will obviously need to change the IP address of your server. Here is what the file looked like before later adding SSL. I think I had to edit the configuration of the OwnCloud config file in /etc/apache2/conf-enabled/nf. Grant privileges to the owncloud user in the owncloud database mysql> GRANT ALL ON owncloud.* TO flush privileges Ĥ. mysql> CREATE USER IDENTIFIED BY 'Password' Ĭreate a database called owncloud: mysql> create database owncloud Now create an OwnCloud database user and set the password. After login you will get the mysql prompt like this: mysql > Setup the MySQL server: mysql -u root -p. Ensure apache and mysql are running: sudo /etc/init.d/mysql restart and sudo /etc/init.d/apache2 restartģ. You will be asked to set a password for the root MySQL user.Ģ. Install the appropriate packages: apt-get install owncloud apache2 mysql-server php5 php5-mysql. Most of the instructions in this link did not have to be followed as they were already the defaults and/or the apache files were in different locationsġ. OwnCloud 6 Setup on Ubuntu 14.04 Basic Setup (test prior to adding SSL)Īdapted from here but updated for Ubuntu 14.04 and its apache configuration file location.









Owncloud unraid setup