create database ownclouddb grant all on ownclouddb.* to identified by " " flush privileges Next, execute the commands below to create ownCloud database and database user. If you already enabled password authentication, then login via mysql -u root -p Login to MariaDB database server and create ownCloud database and database user. Run the mysql_secure_installation script to remove test databases, disable remote root login e.t.c. systemctl restart apache2 Create ownCloud Database and User Restart Apache if the configuration is fine. a2ensite nfĭisable default Apache site a2dissite nfĮnable additional recommended Apache modules. In order to configure Apache to server the ownCloud content, you need to create ownCloud Apache configuration file where you can define the ownCloud directory as your root directory.Ĭopy and paste the command below to create nf configuration file. When ownCloud is installed, it places its web files under the /var/www/owncloud directory. 38071 files and directories currently installed.) Selecting previously unselected package owncloud-complete-files. The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 94 not upgraded.Īfter this operation, 304 MB of additional disk space will be used. apt install owncloud-complete-files -y Reading package lists. Once the update is done, install owncloud. Once again, re-synchronize system packages to their latest versions. | gpg -dearmor > /etc/apt//isv_ownCloud_server_10.gpg > /etc/apt//isv:ownCloud:server:10.list curl -fsSL \ To install ownCloud repositories for Debian 11 server echo \ There are available different ownCloud repos for various Debian release versions. However, there is repo for each Linux distribution maintained by ownCloud itself. OwnCloud is not included by default on Debian 11 repositories. Install PHP 7.4 and Other Required Modules apt install php libapache2-mod-php php-y Install ownCloud Server on Debian 11 Install ownCloud repository You can now install MariaDB 10.8 from the MariaDB repository using the command below apt update apt install mariadb-server Install PHP | gpg -dearmor > /etc/apt//mariadb.gpg echo \ The copy and run the repository installation commands apt install apt-transport-https curl gnupg2 -y wget -qO- \ Hence, to install MariaDB 10.8, navigate to MariaDB repositories page and select your OS distro, Choose a MariaDB Server version and repository mirror. MariaDB 10.8 is the current latest version of MariaDB that is supported Run the commands below to install Apache on Debian 11 apt install apache2 -y Install MariaDB on Debian 11 Before you can proceed, check about system requirements for ownCloud installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |