![]() ![]() I would recommend watching the video, and or checking out the owncloud owners manual for list of features and functions. ![]() now you can hit next and a new account will be created for you (takes 5 mins or so). simply put oc_admin for mysql username and the password you have given and long with database name of “owncloud”. Now we just need to fill in the information, the username can be anything you want and this will be the administrative account for owncloud which allows you to add and remove users, next to set the data folder which we will need to change to “/datastore” so it will point to the hard drive we have mounted. If this setup menu does not show you will need to delete a file in your config folder in owncloud by running this command $rm /var/www/owncloud/config/config.php This should start the setup process for admin user account for own cloud. Point your browser to your device IP address (ex: ) and add /owncloud at the end To create user for database $ GRANT ALL PRIVILEGES ON owncloud.* TO IDENTIFIED BY 'password' Ĭhange password to the password you want to use $ exit Step 5: Finally! the web setup To create a database $ create database owncloud We now need to create a new database and user for owncloud in our mysql database $ mysql -u root -pdietpi Now we have to create the datastore folder and fix the permissions $ mkdir /datastoreįinally! we can now reboot and double check if the hard drive gets mounted correctly! Step 4: Setting up mysql Goto the last line and add $ /dev/sda1 /datastore ext4 defaults 0 0 To make the partition mount on boot we need to modify the fstab file $ nano /etc/fstab/ ![]() Now we need to format the newly created partition $ mkfs.ext4 /dev/sda1 Once completed type w to write your changes To start the process we need to type $ fdisk /dev/sdaĪt this point we need to delete d and create a new partition with n then to leave default values. I currently have 1 hard drive connected so my device will be sda. This process may vary depending on how many hard drives you have connected. Now it’s time to format and mount the disk at boot up time. You can now exit this screen back to the main screen to continue with the installation.Īt this point it will take you about 30 minutes of pointless waiting so go grab a coffee. Navigate over to Software Optimized and scroll down till you see “OwnCloud…” and select it using space bar. Once everything is connected to the internet and possibly rebooted once again, you will be able to select the software needed for this project. On first boot you will need to login once with username root password dietpi then from here you will need to setup your internet. After that, we are going to learn how to build our own cloud dashboard to. Once your image has been downloaded, use etcher to copy the image to your sdcard Step 2: Initial Configurations First, we are simply going to add a sensor to our Raspberry Pi Zero and. Western Digital Red 1TB ► Amazon Software ListĮtcher ► Raspberry Pi OwnCloud Step 1: Install Diet Pi Your cloud, your data, your way! Equipment List Note that we’re using the public IP address now instead of your Raspberry Pi’s IP address.Raspberry Pi Owncloud Installation using Diet Pi image and WD Red 1TB Storage drives. Now you can log in to your ownCloud server from outside your home network by browsing to public IP address]/owncloud/. Exit the editor and save the config file by pressing Ctrl+X, then Y, then Enter. If you don’t know your public IP, you can just check by asking Google “what is my IP address?” Once you’ve got it right, the section will look like this: Right above where the parentheses close, add a new line that reads 1=>'’ – (where the part in brackets is, of course, your actual public IP address and not just those words). See that part I put in bold? You should have a similar section in yours, and that’s were you’re going to make our changes. 'datadirectory' => '/var/www/owncloud/data', 'secret' => 'fMP9Uix9Ub965r2ukRzKVgmn0ZK8GRSWWo5l1x9zseRZFkxS', 'passwordsalt' => 'nRmHalWK8DQBNJ2bUicukJsg8Ys4Y2', We’re going to edit this config file and add your public IP address to the list of trusted domains. Enter this command: sudo nano /var/www/owncloud/config/config.php It can be used for photo galleries, media. Hop on your Raspberry Pi and log into DietPi. NextCloud is open source software that turns a Raspberry Pi into a cloud server. With the port forwarding set, ownCloud’s trusted domains setting is the last obstacle to enjoying cloud storage from outside your home network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |