![]() $ 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |