![]() ![]() Install Maria Database sudo apt install mariadb-server mariadb-clientĬonfigure the database and user: mysql -u root -p MariaDB > create database owncloud Query OK, 1 row affected (0.00 sec) MariaDB > create user identified by '12345' Query OK, 0 rows affected (0.00 sec) MariaDB > grant all privileges on owncloud.* to identified by '12345' Query OK, 0 rows affected (0.00 sec) MariaDB > flush privileges Query OK, 0 rows affected (0.00 sec) MariaDB > exit Bye Install ownCloud sudo apt install owncloud-complete-files Configure ApacheĮdit the Apache default site configuration file sudo nano /etc/apache2/sites-enabled/000-default. Register ownCloud trusted key: wget -nv -O Release.keyĪdd the official ownCloud package repository to Raspbian echo 'deb /' > /etc/apt//owncloud.list apt-get update Install SMB Client: sudo apt-get install smbclient Install PHP and its extensions: sudo apt-get install php php-gd php-sqlite3 php-curl libapache2-mod-php sudo apt-get install php-mysql php-mbstring php-gettext php-intl php-redis php-imagick php-igbinary php-gmp php-curl php-gd php-zip php-imap php-ldap php-bz2 php-phpseclib php-xml Start the service: sudo service apache2 restart Next, you need to install Apache 2 and SQLite sudo apt-get install apache2 sqliteĮnable the Apache mod_rewrite module sudo a2enmod rewrite ![]() Simply install Ubuntu on the PC, and follow the instructions in this post.įirst of all, let’s update the packages by running: sudo apt update & sudo apt upgrade However, if you happen to have an old spare PC, it totally fine to use it to set up your NAS as well. This makes Raspberry Pi a perfect choice for me. What’s more, I want the cloud server to have low power consumption as it needs to run 24/7. I set up the cloud server on a Raspberry Pi as a computer for NAS does not need to have much CPU power and RAM. You can apply a free domain name from Freenom. After a successful installation, ownCloud will show up on your desktop and in the App Center under QNAP Store My Apps. During installation, you’ll see a progress bar. Confirm that you want to install this app. However, it is highly recommended to apply for a domain name to access your server. Installation of ownCloud In the App Center search for ownCloud and click Install. You can simply access by public IP if you don’t possess a domain name. (Optional) a domain name for access externally.A Unix-based computer (I will use a Raspberry Pi in this post).AH01906: :443:0 server certificate is a CA certificate (BasicConstraints: CA = TRUE !?) AH01909: :443:0 server certificate does NOT include an ID which matches the server name In my I have the following error: AH01906: :443:0 server certificate is a CA certificate (BasicConstraints: CA = TRUE !?) In my /etc/hosts file I have: 127.0.0.1 localhost SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt ServerAlias # If this is the default configuration file we can use: 'ServerName localhost' or also 'ServerAlias localhost'. I tested my SSL by adding phpmyinfo.php to the /var/In my nf file I have: Useful info: I already have multiple wordpress installations using the OpenSSL certificate pointing to /var/www/html/ on port 443 Problem: owncloud serves blank white page at I am on Ubuntu 20.04 and I just installed the latest version of owncloud on my lamp installation located at /var/www/html/owncloud/ You can download the latest version of the ownCloud Desktop App from the Desktop App Download page. ![]()
0 Comments
Leave a Reply. |