

- Owncloud raspberry pi install#
- Owncloud raspberry pi update#
- Owncloud raspberry pi upgrade#
- Owncloud raspberry pi password#
- Owncloud raspberry pi download#
Create and add the www-data user to the www-data group: sudo groupadd www-data sudo usermod -a -G www-data www-dataĤ. Make a directory we can mount to: sudo mkdir /media/ownclouddriveģ.
Owncloud raspberry pi install#
Having an NTFS drive we will need to install a NFTS package by entering the following: sudo apt-get install ntfs-3g -yĢ.

Now would be a good time to plug in the external Hard Drive to the RPI.ġ. These instructions are for mounting an NTFS formatted hard drive and allowing ownCloud to store files onto it. Mounting and Setting up an external hard drive 'memcache.local' => '\OC\Memcache\Redis', Please double check the installation guides, and check for any errors or warnings in the log.” sudo suĮdit config.php: sudo nano /var/=> '\OC\Memcache\Redis', Further information can be found in our documentation. To enhance your performance please configure a memcache if available. below is an example:įix “No memory cache has been configured.
Owncloud raspberry pi download#
Your RPI ownCloud is ready to be accessed externally (WAN) and from your devices just download the ownCloud App and enter: “ WAN IP Address” on the address bar or devices. Port forward SSL port 443 to the Raspberry pi internal IP (LAN IP) address and save settings. Log into your router and navigate to the port forward section. Once done save and exit the the config.php. Here is an example of the completed config.txt file. It should look something like this: '' => '',
Owncloud raspberry pi update#
Now update the URL of the line with your WAN IP Address. Your new entry should look something like this: 1 => '', Here add the WAN IP (External IP address) you just got from the router or Google to the trusted domains array. To do this open the Owncloud config file, enter: sudo nano /var/www/owncloud/config/config.php Now we need to add the WAN IP to your trusted IP list and not to be overwritten by ownCloud. Log into your router and get the WAN IP address: Restart apache sudo service apache2 restart Port Forward

Set the path to owncloud: DocumentRoot /var/www/owncloud To allow devices like your phone or tablet to access your cloud from anywhere in the world with internet access you must Enable SSL then enable port forward.Īdditionally sudo nano /etc/apache2/sites-available/nf Owncloud 10 installed on Raspbian Stretch is now ready for use.ĭone! !! all is left is to configure your devices to access your ownCloud storage.

Immediately underneath enter your Mariadb details as follow:ĥ. Click on S torage & database drop-down and enter your external hard drive directory: /media/data/owncloudĤ.
Owncloud raspberry pi password#
You should be presented with a simple setup screen, Here create a username and password to create an admin account.ģ. Open your browser and enter the IP address provided, in my case is 192.168.1.114 you’ll be directed to your ownCloud storage server.Ģ. Get the IP from the Raspberry pi ifconfigġ. Restart apache: sudo systemctl restart apache2 Create data directory for ownCloud mkdir /media/data mkdir /media/data/owncloudĬhange owner and group permissions to www-data sudo chown www-data:www-data -R /media/data/owncloud Basic First Access Setup Once downloaded, unzip the zipped package to the /var/-d /var/www/ Set permissions chown -R www-data:www-data /var/www/owncloud/ chmod -R 755 /var/www/owncloud/ Configure ApacheĮdit the Apache default site configuration file sudo nano /etc/apache2/sites-enabled/nfĬhange DocumentRoot /var/www/html to DocumentRoot /var/www/ owncloud MariaDB > grant all privileges on owncloud.* to identified by ‘12345’ MariaDB > create user identified by ‘12345’ Then execute the underneath commands in blue: You’ll be prompted to enter the Pi user password.
Owncloud raspberry pi upgrade#
Update the Raspberry Pi and its packages sudo su apt update & apt upgrade -y Install Apache 2 and SQLite sudo apt-get install apache2 sqlite -y sudo service apache2 restart Install PHP sudo apt-get install php php-gd php-sqlite3 php-curl libapache2-mod-php -y Install SMB Client sudo apt-get install smbclient PHP extensions needed to use ownCloud sudo apt-get install php-mysql php-mbstring php-gettext php-intl php-redis php-imagick php-igbinary php-gmp php-curl php-gd php-zip php-imap php-ldap php-bz2 php-phpseclib php-xml Register ownCloud trusted key wget -nv -O Release.key sudo apt-key add - /etc/apt//owncloud.list apt-get update Enable the Apache mod_rewrite module sudo a2enmod rewrite systemctl restart apache2 Install Maria Database sudo apt install mariadb-server mariadb-client -y Configure the database and user: mysql -u root -p Upon re-boot you would need to update the RPI and its packages. Select “Localisation Options” –> “ Change Locale” “ For Security when accessing form the WAN” The following changes needs to be made in the Raspberry Pi configuration:
