![]() ![]() $ sudo service apache2 restart Figure 5: Configuring the database Figure 6: Splash screenĪ quick start and set-up of the admin account Restart the Apache server to update the changes made to Apache’s config directory. The ‘owncloud’ package will install all the required dependencies. Install ownCloud using the apt-get install command. > GRANT ALL PRIVILEGES ON owncloud.* TO flush privileges > CREATE USER IDENTIFIED BY 'mysecurepassword' Replace the word ‘mysecurepassword’ with your own password in the commands, as shown below: -> CREATE DATABASE owncloud Enter the following SQL commands to create a user with the name ‘owncloud’ and a database of the same name. This opens up the MySQL command line prompt. Log in to MySQL by using the following command: mysql -defaults-file=/etc/mysql/debian.cnf The next step is to create a MySQL database for ownCloud. Figure 3: Creating a database named ‘owncloud’ using SQL Figure 4: Create an admin account Enter a secure password, and use the tab key and the space bar to select the OK button. You will be prompted with a window to create a password for the MySQL root user. Install the LAMP (Linux, Apache, MySQL and PHP) server: $ sudo apt-get install lamp-server^ Use the apt-get update command to make apt aware of the change, as follows: $ sudo apt-get update $ sudo apt-key add - > /etc/apt//owncloud.list” To add the release key, download it using wget and import it using the apt-key command, as follows: $ wget -nv -O Release.key A release key should be added to apt and the repo link should be specified in the sources.list file to install ownCloud and its dependencies. However, ownCloud maintains a dedicated repository for Ubuntu 16.04. The ownCloud server package is not available within Ubuntu’s default repositories. ownCloud can run with a minimum of 128MB of RAM, but 512MB is recommended.The app store is one of the most important aspects of ownCloud, with a wide variety of apps that let you personalise your cloud. The open source nature of ownCloud means that there is a community ready to help with any issue that you might encounter. The one thing that sets ownCloud apart is that it’s open source and freely available to anyone who wants to set up ownCloud on a local server. Figure 1: ownCloud Figure 2: MySQL root password If you place files in your local shared directories, they get immediately synchronised to the server and to other devices using the ownCloud Desktop Sync client, the Android app, or the iOS app. You can share one or more files and folders on your computer, and synchronise them with your ownCloud server. OwnCloud is an open source ‘file sync and share’ software for everyone-from individuals using the free ownCloud Server edition, to large enterprises and service providers subscribing to the ownCloud Enterprise edition. ![]()
0 Comments
Leave a Reply. |