Restart Apache to enable changes: sudo systemctl restart apache2 Into the Apache default directory: sudo mv owncloud /var/www/Ĭhange the ownership of the directory for the user www-data: sudo chown -R www-data: /var/www/owncloud Create SSL certificateĪctivate mod_ssl with the following command: sudo a2enmod ssl Unzip the downloaded file: unzip owncloud-latest.zipĪ new directory owncloud is created after unziping the file. Grant the new user with the necessary privileges: GRANT ALL ON ownclouddb.* TO WITH GRANT OPTION Įnable changes by flushing the privileges: FLUSH PRIVILEGES įinally, exit the MySQL console: exit Download ownCloud Replace password by the appropriate value: CREATE USER IDENTIFIED BY 'password' We now need to create the ownCLoud database from the MySQL console: sudo mysql -user=root -pĬreate the MySQL ownCloud database: CREATE DATABASE ownclouddb Ĭreate a new user.
0 Comments
Leave a Reply. |