Wonderputt 2 cool math2/27/2023 Next, we’ll create the necessary database and a user for the database. We’ll now download the latest version of ownCloud with the command: Sudo systemctl restart apache2 How to download and unpack ownCloud Once the installation completes, restart Apache with: Sudo apt-get install php php-opcache php-gd php-curl php-mysqlnd php-intl php-json php-ldap php-mbstring php-mysqlnd php-xml php-zip -y OwnCloud heavily depends on PHP, so we’ll need to install it and a number of modules with the command: GRANT ALL PRIVILEGES ON ownclouddb.* TO the privileges and exit from the MySQL console with: Grant the necessary privileges for the new database user with: Once in the console, create the database with:Ĭreate the new ownCloud database user with:ĬREATE USER IDENTIFIED WITH mysql_native_password BY 'password' If the unzip command isn’t found, install it with:Ĭhange the ownership of the directory with the command: Owncloud 9 install download# Sudo chown -R www-data: /var/www/html/owncloud How to create an Apache configuration file Owncloud 9 install install# Sudo systemctl restart apache2 How to complete the installation In that file, paste the following (make sure to add your own admin email address and ServerName): ServerAdmin DocumentRoot /var/combined Sudo nano /etc/apache2/sites-available/nf We’ll now create an Apache configuration file for ownCloud. Open a web browser and point it to (Where SERVER is the IP address or domain of your server). In the resulting window ( Figure A), fill out the information for a new admin account and then add the details for the database server.įigure A The ownCloud web-based installer is where you complete the installation. Database password–the password you set for the owncloud userĪfter filling in all the necessary details, click Finish setup and, in less than a minute, the installation will complete and you can then log in as the admin user.Ĭongratulations, you now have a working ownCloud instance to use as your on-premise cloud server.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |