<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Owncloud Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/owncloud/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 18 Mar 2020 16:56:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Owncloud on Debian 10?</title>
		<link>https://www.osradar.com/install-owncloud-debian-10/</link>
					<comments>https://www.osradar.com/install-owncloud-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 23 Mar 2020 00:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Owncloud]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=19084</guid>

					<description><![CDATA[<p>In this post, You will learn how to install Owncloud on Debian 10. Many users and small businesses prefer to invest in infrastructure that allows them to have their private cloud. At the software level, owncloud is emerging as the most important solution in this matter. OwnCloud is a software that allows us to create [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-owncloud-debian-10/">How to install Owncloud on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In this post, You will learn how to install Owncloud on Debian 10.</strong></p>
<p>Many users and small businesses prefer to invest in infrastructure that allows them to have their private cloud. At the software level, <a href="https://owncloud.org/"><strong>owncloud</strong></a> is emerging as the most important solution in this matter.</p>
<p><strong>OwnCloud</strong> is a software that allows us to create a private cloud with which you can synchronize files, calendars, contacts, notes and more using extensions. It’s free, open-source and has an application for Android, iOS and desktop clients for Linux, Windows and Mac OS X.</p>
<p>So, let us install it.</p>
<h2>Install Owncloud on Debian 10</h2>
<h3>1.- Install a LAMP server</h3>
<p>Owncloud is a web application that is installed on the server. But being a web application, it requires a server that has the tools to deploy this type of applications. Besides, it requires a relational database manager such as MariaDB or PostgreSQL. So you have to install a LAMP server.</p>
<p>To install a LAMP server, we have a post about it.</p>
<p><a href="https://www.osradar.com/install-lamp-on-debian-10/" target="_blank" rel="noopener noreferrer">How to install LAMP on Debian 10?</a></p>
<p>However, you must also have installed certain PHP modules such as:</p>
<pre>libapache2-mod-php7.3 openssl php-imagick php7.3-common php7.3-curl php7.3-gd php7.3-imap php7.3-intl php7.3-json php7. 3-ldap php7.3-mbstring php7.3-mysql php7.3-pgsql php-smbclient php-ssh2 php7.3-sqlite3 php7.3-xml php7.3-zip</pre>
<p>Once the installation is complete, you can continue with the tutorial.</p>
<h3>2.- Creating a new database for Owncloud</h3>
<p>It is recommended not to use the root user for database connections in Owncloud or any other application. So we&#8217;ll take the opportunity to create a new MariaDB user.</p>
<p>On the other hand, Owncloud requires a dedicated database for it. So we&#8217;ll do these two things:</p>
<pre>:~$ sudo mysql -u root -p<br />&gt; CREATE DATABASE ownclouddb;<br />&gt; GRANT ALL ON ownclouddb.* to 'ownclouduser'@'localhost' IDENTIFIED BY 'owncloudpss';<br />&gt; FLUSH PRIVILEGES;<br />&gt; exit;</pre>
<figure id="attachment_19102" aria-describedby="caption-attachment-19102" style="width: 910px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-19102" src="https://www.osradar.com/wp-content/uploads/2020/03/1-12.png" alt="1.- New user and database for Owncloud" width="910" height="395" srcset="https://www.osradar.com/wp-content/uploads/2020/03/1-12.png 910w, https://www.osradar.com/wp-content/uploads/2020/03/1-12-300x130.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/1-12-768x333.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/1-12-696x302.png 696w" sizes="(max-width: 910px) 100vw, 910px" /><figcaption id="caption-attachment-19102" class="wp-caption-text">1.- New user and database for Owncloud</figcaption></figure>
<p>Remember that you can change the database name, username and password to whatever you want.</p>
<p>When you leave the MariaDB console you can continue with the tutorial.</p>
<h3>3.-Download and install Owncloud on Debian 10</h3>
<p>Now it&#8217;s time to download and install Owncloud. To do this, I will use <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noopener noreferrer">the wget command</a>.</p>
<pre>:~$ cd /tmp/<br />:~$ wget -c https://download.owncloud.org/community/owncloud-10.4.0.tar.bz2<br />--2020-03-17 17:31:42--  https://download.owncloud.org/community/owncloud-10.4.0.tar.bz2<br />Resolving download.owncloud.org (download.owncloud.org)... 116.203.164.24, 2a01:4f8:1c0c:8147::<br />Connecting to download.owncloud.org (download.owncloud.org)|116.203.164.24|:443... connected.<br />HTTP request sent, awaiting response... 200 OK<br />Length: 20426453 (19M) [application/x-bzip2]<br />Saving to: ‘owncloud-10.4.0.tar.bz2’</pre>
<p>At the time of writing this post, the latest stable version of Owncloud is 10.4.0. Remember to check and modify the command.</p>
<p>When the download is finished, unzip the file.</p>
<pre>:~$ tar xjfv /tmp/owncloud-10.4.0.tar.bz2</pre>
<p>Then, move it to the Apache root folder in Debian. Then change the owner of that folder to www-data and finally assign the correct permissions so that Owncloud can run without problems.</p>
<pre>:~$ sudo mv owncloud /var/www/html/<br />:~$ sudo chown -R www-data:www-data /var/www/html/owncloud<br />:~$ sudo chmod -R 755 /var/www/html/owncloud</pre>
<figure id="attachment_19105" aria-describedby="caption-attachment-19105" style="width: 785px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-19105" src="https://www.osradar.com/wp-content/uploads/2020/03/2-14.png" alt="2.- Installing Owncloud on Debian 10" width="785" height="124" srcset="https://www.osradar.com/wp-content/uploads/2020/03/2-14.png 785w, https://www.osradar.com/wp-content/uploads/2020/03/2-14-300x47.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/2-14-768x121.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/2-14-696x110.png 696w" sizes="(max-width: 785px) 100vw, 785px" /><figcaption id="caption-attachment-19105" class="wp-caption-text">2.- Installing Owncloud on Debian 10</figcaption></figure>
<h3>4.- Create a new Virtualhost for Owncloud</h3>
<p>Owncloud is already available in our system, but it is necessary to create a new Apache virtualhost to process it perfectly.</p>
<p>So, create a new text file with the following information:</p>
<pre>:~$ sudo nano /etc/apache2/sites-available/owncloud.conf</pre>
<pre>assasaassa<br />&lt;VirtualHost *:80&gt;<br />     ServerAdmin admin@your_domain.com<br />     DocumentRoot /var/www/html/owncloud<br />     ServerName your-domain.com<br />     &lt;Directory /var/www/html/owncloud&gt;<br />          Options FollowSymlinks<br />          AllowOverride All<br />          Require all granted<br />     &lt;/Directory&gt;<br />     ErrorLog ${APACHE_LOG_DIR}/your-domain.com_error.log<br />     CustomLog ${APACHE_LOG_DIR}/your-domain.com_access.log combined<br />&lt;/VirtualHost&gt;</pre>
<figure id="attachment_19108" aria-describedby="caption-attachment-19108" style="width: 945px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-19108" src="https://www.osradar.com/wp-content/uploads/2020/03/3-14.png" alt="3.- New virtualhost for Owncloud" width="945" height="350" srcset="https://www.osradar.com/wp-content/uploads/2020/03/3-14.png 945w, https://www.osradar.com/wp-content/uploads/2020/03/3-14-300x111.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/3-14-768x284.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/3-14-696x258.png 696w" sizes="(max-width: 945px) 100vw, 945px" /><figcaption id="caption-attachment-19108" class="wp-caption-text">3.- New virtualhost for Owncloud</figcaption></figure>
<p>Do not forget to replace &#8220;your-domain&#8221; with yours. Whether it&#8217;s on a local server or a test server.</p>
<p>Then, enable the new virtualhost by copying it to the Apache Virtualhosts directory, enabling the Apache rewrite module and finally restarting the Apache service.</p>
<pre>:~$ sudo ln -s /etc/apache2/sites-available/owncloud.conf /etc/apache2/sites-enabled/owncloud.conf<br />:~$ sudo a2enmod rewrite<br />:~$ sudo systemctl restart apache2</pre>
<p>Now complete the installation using the Owncloud web interface.</p>
<h3>5.- Install Owncloud on Debian 10 using the web interface</h3>
<p>Now go to your favorite web browser <strong>http://your-domain</strong> and you will see the following:</p>
<figure id="attachment_19115" aria-describedby="caption-attachment-19115" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-19115" src="https://www.osradar.com/wp-content/uploads/2020/03/4-10.png" alt="4.- Owncloud installation" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/03/4-10.png 1354w, https://www.osradar.com/wp-content/uploads/2020/03/4-10-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/4-10-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/4-10-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/4-10-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/03/4-10-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/4-10-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/03/4-10-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-19115" class="wp-caption-text">4.- Owncloud installation</figcaption></figure>
<p>This indicates that only the installation of Owncloud remains to be completed. First, you have to create the administrator account along with the password.</p>
<p>Then, on that same screen, configure the database by typing the credentials previously created.</p>
<figure id="attachment_19116" aria-describedby="caption-attachment-19116" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-19116" src="https://www.osradar.com/wp-content/uploads/2020/03/5-10.png" alt="5.- Databases credentials for Owncloud" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/03/5-10.png 1354w, https://www.osradar.com/wp-content/uploads/2020/03/5-10-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/5-10-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/5-10-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/5-10-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/03/5-10-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/5-10-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/03/5-10-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-19116" class="wp-caption-text">5.- Databases credentials for Owncloud</figcaption></figure>
<p>Then, complete the installation as normal.</p>
<p>If everything went well, you will see the login screen where you will have to enter your newly created credentials.</p>
<figure id="attachment_19120" aria-describedby="caption-attachment-19120" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-19120" src="https://www.osradar.com/wp-content/uploads/2020/03/6-9.png" alt="6.- Owncloud log in screen" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/03/6-9.png 1366w, https://www.osradar.com/wp-content/uploads/2020/03/6-9-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/6-9-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/6-9-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/6-9-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/03/6-9-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/03/6-9-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/6-9-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/03/6-9-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-19120" class="wp-caption-text">6.- Owncloud log in screen</figcaption></figure>
<p>Once you have logged in, you will see the dashboard with and Owncloud will be ready to use.</p>
<figure id="attachment_19121" aria-describedby="caption-attachment-19121" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-19121" src="https://www.osradar.com/wp-content/uploads/2020/03/7-6.png" alt="7.- Owncloud on Debian 10" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/03/7-6.png 1366w, https://www.osradar.com/wp-content/uploads/2020/03/7-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/7-6-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/7-6-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/7-6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/03/7-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/03/7-6-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/7-6-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/03/7-6-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-19121" class="wp-caption-text">7.- Owncloud on Debian 10</figcaption></figure>
<p>Now, you can install the clients for Android and iOS.</p>
<p>So, enjoy it.</p>
<h2>Conclusion</h2>
<p>Due to many problems with the privacy of data is that many companies are choosing to create their servers with a lot of vital information. This means that the data is never in the hands of third parties and can be managed privately.</p>
<p>To make a project like this, you need an application as high as the Owncloud application that you have learned to install in Debian 10.</p>
<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram channel</a>.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-owncloud-debian-10/">How to install Owncloud on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-owncloud-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Owncloud on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-owncloud-ubuntu-1804/</link>
					<comments>https://www.osradar.com/install-owncloud-ubuntu-1804/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 10 Dec 2019 00:53:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Owncloud]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16327</guid>

					<description><![CDATA[<p>In this post, I will show you how to install Owncloud on Ubuntu 18.04. It is becoming more and more common to read and hear about security breaches from companies that handle vital user information on the Internet, and this makes many people wonder whether it is so necessary to trust these giant companies. Another [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-owncloud-ubuntu-1804/">How to install Owncloud on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>In this post, I will show you how to install Owncloud on Ubuntu 18.04.</strong></p>



<p>It is becoming more and more common to read and hear about security breaches from companies that handle vital user information on the  Internet, and this makes many people wonder whether it is so necessary to trust these giant companies.</p>



<p>Another important issue is that these large companies do not take the issue of privacy seriously and their handling of user files and information is at least questionable.</p>



<p>Therefore, many users and small businesses prefer to invest in infrastructure that allows them to have their private cloud. At the software level, <a href="https://owncloud.org/"><strong>owncloud</strong></a> is emerging as the most important solution in this matter.</p>



<p><strong>OwnCloud</strong> is a software that allows us to create a  private cloud with which you can synchronize files, calendars, contacts,  notes and more using extensions. It’s free, open-source and has an application for Android, iOS and desktop clients for Linux, Windows and  Mac OS X.</p>



<p>So, let us install it.</p>



<h2>Owncloud on Ubuntu 18.04</h2>



<h3>1.- Install LAMP on Ubuntu 18.04</h3>



<p>The first step is to install a LAMP server on Ubuntu 18.04. But don&#8217;t worry that we have an article with which you can do it without problems.</p>



<p><a href="https://www.osradar.com/how-to-install-lamp-on-ubuntu-18-04-lts/" target="_blank" rel="noreferrer noopener" aria-label="How to install LAMP on Ubuntu 18.04? (opens in a new tab)">How to install LAMP on Ubuntu 18.04?</a></p>



<p>Then, you can continue with the rest of the steps.</p>



<h3>2.- Install some PHP module and create the new database for Owncloud</h3>



<p>Owncloud, in order to work properly, requires some extra PHP modules. So let&#8217;s install them first.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install libapache2-mod-php7.2 openssl php-imagick php7.2-common php7.2-curl php7.2-gd php7.2-imap php7.2-intl php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-pgsql php-smbclient php-ssh2 php7.2-sqlite3 php7.2-xml php7.2-zip</pre>



<p>After installing LAMP, it is possible that several have already been installed, but better to be sure.</p>



<p>After that, create a new user and database for Owncloud.</p>



<pre class="wp-block-preformatted">:~$ sudo mysql -u root -p
&gt; CREATE DATABASE owncloud;
&gt; GRANT ALL PRIVILEGES ON owncloud.* TO owncloud@localhost IDENTIFIED BY 'owncloud_password';
&gt; FLUSH PRIVILEGES;
&gt; exit;</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="347" src="https://www.osradar.com/wp-content/uploads/2019/12/1-2-1024x347.png" alt="1.- Creating a new database for Owncloud" class="wp-image-16328" srcset="https://www.osradar.com/wp-content/uploads/2019/12/1-2-1024x347.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/1-2-300x102.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/1-2-768x261.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/1-2-696x236.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/1-2-1068x362.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/1-2.png 1176w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Creating a new database for Owncloud</figcaption></figure>



<p>Of course, you can modify the name of the database, the user name and the password for one that you prefer.</p>



<p>Now, we can start to install Owncloud.</p>



<h3>3.- Install Owncloud on Ubuntu 18.04 (I)</h3>



<p>We can choose two ways to install Owncloud. One is to download the package directly from the project website. But the other is easier and safer and is to do it from the Owncloud repositories.</p>



<p>To do this, first, you need to install a necessary package.</p>



<pre class="wp-block-preformatted">:~$ sudo apt-get install apt-transport-https</pre>



<p>Then, we have to add the GPG key of the repository to be sure that the download and installation will be safe.</p>



<pre class="wp-block-preformatted">:~$ sudo wget -qO- https://download.owncloud.org/download/repositories/stable/Ubuntu_18.04/Release.key | sudo apt-key add -
OK</pre>



<p>Now we can add the repository as such. The next command, you have to do it as the root user, so execute:</p>



<pre class="wp-block-preformatted">:~$ sudo -i</pre>



<p>And then:</p>



<pre class="wp-block-preformatted">:~$ echo 'deb http://download.owncloud.org/download/repositories/10.3.2/general/Ubuntu_18.04/ /' &gt; /etc/apt/sources.list.d/owncloud.list</pre>



<p>Returns to a regular user:</p>



<pre class="wp-block-preformatted">:~# exit</pre>



<p>All that&#8217;s left is to refresh the APT cache and install Owncloud.</p>



<pre class="wp-block-preformatted">:~$ sudo apt update &amp;&amp; sudo apt install owncloud-files</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="366" src="https://www.osradar.com/wp-content/uploads/2019/12/2-1-1024x366.png" alt="2.- Install Owncloud on Ubuntu 18.04" class="wp-image-16329" srcset="https://www.osradar.com/wp-content/uploads/2019/12/2-1-1024x366.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/2-1-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/2-1-768x275.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/2-1-696x249.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/2-1-1068x382.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/2-1-1175x420.png 1175w, https://www.osradar.com/wp-content/uploads/2019/12/2-1.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Install Owncloud on Ubuntu 18.04</figcaption></figure>



<p>Wait for the download to finish in installation.</p>



<p>For everything to go well, you must enable two Apache modules that are not by default.</p>



<pre class="wp-block-preformatted">:~$ sudo a2enmod rewrite
:~$ sudo a2enmod headers</pre>



<p>And create a new configuration file for Owncloud.</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/apache2/conf-available/owncloud.conf</pre>



<p>And add the following content:</p>



<pre class="wp-block-preformatted">ServerName owncloud.osradar.test
Alias /owncloud "/var/www/owncloud/"

&lt;Directory /owncloud "/var/www/html/owncloud"&gt;
  Options +FollowSymlinks
  AllowOverride All
  &lt;IfModule mod_dav.c&gt; 
      Dav off
  &lt;/IfModule&gt;

 SetEnv HOME /var/www/owncloud
 SetEnv HTTP_HOME /var/www/owncloud
&lt;/Directory&gt;
 
 </pre>



<p>So, press CTRL + O to save the changes and CTRL + X to close the file.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="894" height="317" src="https://www.osradar.com/wp-content/uploads/2019/12/3-2.png" alt="3.- Configuring Apache to work with Owncloud" class="wp-image-16330" srcset="https://www.osradar.com/wp-content/uploads/2019/12/3-2.png 894w, https://www.osradar.com/wp-content/uploads/2019/12/3-2-300x106.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/3-2-768x272.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/3-2-696x247.png 696w" sizes="(max-width: 894px) 100vw, 894px" /><figcaption>3.- Configuring Apache to work with Owncloud</figcaption></figure>



<p>Finally, enable the new configuration and restart Apache2.</p>



<pre class="wp-block-preformatted">:~$ sudo a2enconf owncloud
:~$ sudo systemctl reload apache2</pre>



<p>Now we can complete the installation from the web browser.</p>



<h3>4.- Install Owncloud on Ubuntu 18.04 (II)</h3>



<p>Now, you can open your web browser and go to <code>http://your-server/owncloud</code> and you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2019/12/4-1-1024x505.png" alt="4.- Owncloud initial screen" class="wp-image-16331" srcset="https://www.osradar.com/wp-content/uploads/2019/12/4-1-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/4-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/4-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/4-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/12/4-1-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/4-1-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/4-1-851x420.png 851w, https://www.osradar.com/wp-content/uploads/2019/12/4-1.png 1348w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Owncloud initial screen</figcaption></figure>



<p>There, you will have to set up the administrator user account. Below on the <em>&#8220;Storage &amp; Database&#8221;</em> section select <em>MySQL / MariaDB</em> and fill in the fields with the created MariaDB credentials.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2019/12/5-1-1024x505.png" alt="5.- Owncloud database credentials" class="wp-image-16332" srcset="https://www.osradar.com/wp-content/uploads/2019/12/5-1-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/5-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/5-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/5-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/12/5-1-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/5-1-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/5-1-851x420.png 851w, https://www.osradar.com/wp-content/uploads/2019/12/5-1.png 1348w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Owncloud database credentials</figcaption></figure>



<p>Then, it will start the Owncloud installation and configuration on the server. Then you will see the Login screen where you will have to enter your credentials.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2019/12/6-1-1024x501.png" alt="6.- Owncloud login page" class="wp-image-16333" srcset="https://www.osradar.com/wp-content/uploads/2019/12/6-1-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/6-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/6-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/6-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/12/6-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/12/6-1-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/6-1-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/6-1-859x420.png 859w, https://www.osradar.com/wp-content/uploads/2019/12/6-1.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Owncloud login page</figcaption></figure>



<p>Then you&#8217;ll see this screen. This shows that everything is in order.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2019/12/7-1024x501.png" alt="7.- Owncloud on Ubuntu 18.04" class="wp-image-16334" srcset="https://www.osradar.com/wp-content/uploads/2019/12/7-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/7-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/7-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/7-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/12/7-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/12/7-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/7-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/7-859x420.png 859w, https://www.osradar.com/wp-content/uploads/2019/12/7.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>7.- Owncloud on Ubuntu 18.04</figcaption></figure>



<p>So, that is it.</p>



<h2>Conclusion</h2>



<p>Owncloud is quite useful to be able to have our own private cloud without depending on third parties. However, you have to know how to install it and thanks to this guide you know how to do it. All that&#8217;s left is for you to do it and get the most out of this tool.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-owncloud-ubuntu-1804/">How to install Owncloud on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-owncloud-ubuntu-1804/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Deploy owncloud using Docker compose</title>
		<link>https://www.osradar.com/deploy-owncloud-using-docker-compose/</link>
					<comments>https://www.osradar.com/deploy-owncloud-using-docker-compose/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 06 Dec 2019 00:01:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Docker compose]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Owncloud]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16069</guid>

					<description><![CDATA[<p>Hello. In this post, I will teach you how to deploy Owncloud using Docker compose. It will be brief but explained step by step. Briefly, I will tell you that Docker compose is more thought of production environments where compatibility should be as high as possible. This is precisely the great advantage of Docker images [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/deploy-owncloud-using-docker-compose/">Deploy owncloud using Docker compose</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Hello. In this post, I will teach you how to deploy Owncloud using Docker compose. It will be brief but explained step by step.</strong></p>
<p>Briefly, I will tell you that Docker compose is more thought of production environments where compatibility should be as high as possible. This is precisely the great advantage of Docker images that we will be able to use in any supported system thanks to the technology of containers. Then,<strong> these steps can be done from any Linux distribution that has installed </strong><a href="https://www.osradar.com/tag/docker/" target="_blank" rel="noreferrer noopener" aria-label="ocker  (opens in a new tab)"><strong>Docker </strong></a><strong>and Docker Compose.</strong></p>
<p><a href="https://owncloud.org/" target="_blank" rel="noopener noreferrer">Owncloud</a> is one of the best-known solutions to create our own private cloud as if it were a professional service. Of course, by this I do not mean that Owncloud is not professional, I mean that its behavior is similar to that of proprietary solutions such as <a href="https://www.osradar.com/install-odrive-on-ubuntu-18-04/" target="_blank" rel="noopener noreferrer">Google Drive</a> or <a href="https://www.osradar.com/sync-microsoft-onedrive-with-linux/" target="_blank" rel="noopener noreferrer">OneDrive</a>.</p>
<p>So let’s get to work.</p>
<h2>Install Docker and Docker Compose on Linux</h2>
<p>The first step is to have Docker installed in the system, obviously.</p>
<ul>
<li>If you are using Ubuntu: <a href="https://www.osradar.com/how-to-install-docker-on-ubuntu-18-04/" target="_blank" rel="noreferrer noopener">How to install Docker on Ubuntu 18.04?</a></li>
<li>For CentOS 8: <a href="https://www.osradar.com/install-docker-centos-8/" target="_blank" rel="noreferrer noopener">How to install Docker on CentOS 8?</a></li>
<li>For CentOS 7: <a href="https://www.osradar.com/how-to-install-docker-ce-on-centos-7/" target="_blank" rel="noreferrer noopener">How to install Docker CE on CentOS 7?</a></li>
<li>If you use Windows: <a href="https://www.osradar.com/how-to-install-docker-in-windows-10/" target="_blank" rel="noreferrer noopener">How to install Docker in Windows 10?</a></li>
<li>Or, if you are using Debian 10: <a href="https://www.osradar.com/install-docker-on-debian-10/" target="_blank" rel="noreferrer noopener">How to install Docker on Debian 10?</a></li>
</ul>
<p>And using your distribution’s package manager, you can install Docker Compose. For example:</p>
<pre class="wp-block-preformatted">:~$ sudo apt docker-compose</pre>
<p>For Debian, Ubuntu, and derivatives.</p>
<pre class="wp-block-preformatted">:~$ sudo dnf install docker-compose</pre>
<p>Or, for RHEL, CentOS and derivatives.</p>
<h2>Deploy Owncloud using Docker compose</h2>
<p>Well, the first step is to create a new folder where we will do the process.</p>
<pre>:~$ mkdir owncloud<br>:~$ cd owncloud</pre>
<p>Then, in that folder create a new file called docker-compose.yml that contains all the instructions for deployment. When you create it, add the following:</p>
<pre>:~$ sudo nano docker-compose.yml</pre>
<pre>version: '3.1'<br><br>services:<br><br>  owncloud:<br>    image: owncloud<br>    restart: always<br>    ports:<br>      - 1234:80<br>    volumes:<br>      - /home/angelo/owncloud_data:/var/www/html<br>      - /home/angelo/owncloud_data/apps:/var/www/html/apps<br>      - /home/angelo/owncloud_data/config:/var/www/html/config<br>      - /home/angelo/owncloud_data/data:/var/www/html/data<br><br>  db:<br>    image: mariadb<br>    restart: always<br>    environment:<br>      MYSQL_ROOT_PASSWORD: angelo123</pre>
<figure id="attachment_16140" aria-describedby="caption-attachment-16140" style="width: 903px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-16140" src="https://www.osradar.com/wp-content/uploads/2019/11/1-21.png" alt="1.- Deploy Owncloud using Docker compose" width="903" height="469" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-21.png 903w, https://www.osradar.com/wp-content/uploads/2019/11/1-21-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/1-21-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/1-21-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/1-21-809x420.png 809w" sizes="(max-width: 903px) 100vw, 903px" /><figcaption id="caption-attachment-16140" class="wp-caption-text">1.- Deploy Owncloud using Docker compose</figcaption></figure>
<p>I proceed to explain.</p>
<p>In this file, we will raise two services. The first is the Owncloud. The image is configured for Owncloud to run on port 80, but I exposed port 1234. You can set the number you want but don&#8217;t touch 80.</p>
<p>Then come the volumes. The first part is folders on our host system to make sure the data is persistent.<strong> These folders must be created before the services are deployed.</strong></p>
<p>After this, comes the second service. By default, the Owncloud image is configured to use SQLite. But in this case, we have decided to use MariaDB. All simple just set up an initial key and you&#8217;re done.</p>
<p>Let us create the volume folders.</p>
<pre>:~$ mkdir /home/angelo/owncloud_data<br>:~$ mkdir /home/angelo/owncloud_data/apps<br>:~$ mkdir /home/angelo/owncloud_data/config<br>:~$ mkdir /home/angelo/owncloud_data/data</pre>
<p>Then, run Docker Compose.</p>
<pre>:~$ sudo docker-compose up -d</pre>
<p>That&#8217;s enough. Now open your web browser and go to <code>http://your-server:1234</code> and you will see the following. Create an admin account.</p>
<figure id="attachment_16141" aria-describedby="caption-attachment-16141" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-16141" src="https://www.osradar.com/wp-content/uploads/2019/11/2-20.png" alt="2.- Owncloud running" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/2-20.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/2-20-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/2-20-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/2-20-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/2-20-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/2-20-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/2-20-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/2-20-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-16141" class="wp-caption-text">2.- Owncloud running</figcaption></figure>
<p>Next, configure the Database.</p>
<figure id="attachment_16142" aria-describedby="caption-attachment-16142" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-16142" src="https://www.osradar.com/wp-content/uploads/2019/11/3-19.png" alt="3.- Configuring the owncloud database" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/3-19.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/3-19-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/3-19-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/3-19-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/3-19-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/3-19-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/3-19-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/3-19-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-16142" class="wp-caption-text">3.- Configuring the owncloud database</figcaption></figure>
<p>Finally, you&#8217;ll see the login screen and you are done. You can now use Owncloud.</p>
<h2>Conclusion</h2>
<p>Owncloud is a really useful application. And to deploy it using Docker compose is something easy and within everyone&#8217;s reach.</p>
<p>For more information on this, see the <a href="https://hub.docker.com/_/owncloud" target="_blank" rel="noopener noreferrer">official documentation of the Owncloud Docker image</a>.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/deploy-owncloud-using-docker-compose/">Deploy owncloud using Docker compose</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/deploy-owncloud-using-docker-compose/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Installing Owncloud Server on Windows 10 step by step.</title>
		<link>https://www.osradar.com/installing-owncloud-server-on-windows-10-step-by-step/</link>
					<comments>https://www.osradar.com/installing-owncloud-server-on-windows-10-step-by-step/#comments</comments>
		
		<dc:creator><![CDATA[Roger Polanco]]></dc:creator>
		<pubDate>Sat, 10 Aug 2019 14:19:46 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Owncloud]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">http://www.googez.com/?p=646</guid>

					<description><![CDATA[<p>Hi. How are you? There are currently a lot of services on the market that offer cloud storage. Some of them are very popular, like Drive, OneDrive and others. However, something that has always been criticized for these applications, is the possible violation of personal data. Moreover, there are also programs for synchronizing files between [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/installing-owncloud-server-on-windows-10-step-by-step/">Installing Owncloud Server on Windows 10 step by step.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi. How are you? There are currently a lot of services on the market that offer cloud storage. Some of them are very popular, like <a rel="noreferrer noopener" aria-label="Drive (opens in a new tab)" href="https://drive.google.com" target="_blank">Drive</a>, <a rel="noreferrer noopener" aria-label="OneDrive  (opens in a new tab)" href="https://onedrive.live.com/about/es-ve/" target="_blank">OneDrive </a>and others. However, something that has always been criticized for these applications, is the possible violation of personal data. Moreover, there are also programs for synchronizing files between our computer and a server. Some of them are <a rel="noreferrer noopener" aria-label="Nextcloud  (opens in a new tab)" href="https://nextcloud.com" target="_blank">Nextcloud </a>and <a rel="noreferrer noopener" aria-label="Owncloud (opens in a new tab)" href="https://owncloud.org" target="_blank">Owncloud</a>, and just about this last one we are going to talk about in this tutorial. Let&#8217;s explain how to install this server in Windows 10 step by step.</p>



<p>The first thing we need to know is that the <em>owncloud</em> server is only available for Linux operating systems. For that reason, there are no installers for our favorite operating system. However, this does not mean that we cannot install it via <a rel="noreferrer noopener" aria-label="Xammp  (opens in a new tab)" href="http://www.googez.com/how-to-install-xampp-on-windows-10/" target="_blank">Xammp </a>or <a rel="noreferrer noopener" aria-label="Wampp (opens in a new tab)" href="http://www.googez.com/how-to-install-wampserver-on-windows-10/" target="_blank">Wampp</a>. Or using a virtual machine with <a rel="noreferrer noopener" aria-label="Hyper V. (opens in a new tab)" href="http://www.googez.com/how-to-enable-and-use-hyper-v-on-windows-10/" target="_blank">Hyper V.</a>  But this time we are going to install and configure it through the Windows subsystem for Linux (WSL) for better stability and performance. Specifically, the working environment to use will be Ubuntu 18.04 LTS, which we can download from the Windows store. So let&#8217;s go for it.</p>



<h2>Prerequisites.</h2>



<p style="text-align:left">For stability effects,  it is highly recommended to set the IP address as <a rel="noreferrer noopener" aria-label="static (opens in a new tab)" href="https://kb.netgear.com/27476/How-do-I-set-a-static-IP-address-in-Windows" target="_blank">static</a>.  In the same way, we have to enable <em>Windows Subsystem for Linux.</em> If you do not know how to do that, please visit our article about <a rel="noreferrer noopener" aria-label="it (opens in a new tab)" href="http://www.googez.com/how-to-enable-disable-windows-10-features/" target="_blank">it</a>. </p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own.jpg" alt="Enabling Windows Subsystem for Linux" class="wp-image-650"/><figcaption>Enabling Windows Subsystem for Linux</figcaption></figure>



<p>Once this is done, the system will ask to restart. Next, we go to the windows store and download Ubuntu 18.04 LTS</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own3-1024x728.jpg" alt="Downloading Ubuntu 18.04 LTS" class="wp-image-652"/><figcaption>Downloading Ubuntu 18.04 LTS</figcaption></figure>



<p>Once it has downloaded, we launch it and wait for the installation process to begin. We must assign a username and password. Now, let&#8217;s get to work!</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own2.jpg" alt="Configuring Ubuntu" class="wp-image-654"/><figcaption>Configuring Ubuntu</figcaption></figure>



<h2>Step 1. Install Apache.</h2>



<p>From this moment on, the whole installation will be done by means of commands. Don&#8217;t worry if you don&#8217;t feel comfortable, you just have to copy textually the commands that we will indicate. In order to install Apache you just type in Ubuntu:</p>



<pre class="wp-block-preformatted"> sudo apt-get install apache2  </pre>



<p>Enter your password and then yes, enter your password and then yes to start and confirm the installation. To ensure the effective functioning of Owncloud, we need to enable the following Apache modules.</p>



<pre class="wp-block-preformatted">sudo a2enmod rewrite
sudo a2enmod headers
sudo a2enmod env
sudo a2enmod dir
sudo a2enmod mime </pre>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/ownn5.jpg" alt="Adding additional modules for Apache" class="wp-image-655"/><figcaption>Adding additional modules for Apache</figcaption></figure>



<p> After adding the modules restart the Apache server using the command: </p>



<pre class="wp-block-preformatted"> sudo service apache2 restart </pre>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own6.jpg" alt="Restarting Apache server" class="wp-image-657"/><figcaption>Restarting Apache server</figcaption></figure>



<p>Once the service is restarted, a window with the firewall warning will appear. We need to allow access.</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own7.jpg" alt="Allow access to Apache" class="wp-image-658"/><figcaption>Allow access to Apache</figcaption></figure>



<p>Now let&#8217;s test the functioning of apache. In addition, go to the address bar of the browser and type <strong>http://localhost/</strong> or our IP address, in my case  <strong>http://192.168.1.58/ </strong></p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own8-1024x728.jpg" alt="Apache Default Page" class="wp-image-660"/><figcaption>Apache Default Page</figcaption></figure>



<h2>Step 2. Install MySql.</h2>



<p>Next, we will install the necessary software to create our database. To do this, type the following command</p>



<pre class="wp-block-preformatted">sudo apt-get install mysql-server mysql-client </pre>



<h2>Step 3. Create a MySql database for Owncloud.</h2>



<p>First, let&#8217;s stop and restart MySql.</p>



<pre class="wp-block-preformatted">sudo /etc/init.d/mysql stop 
sudo /etc/init.d/mysql start </pre>



<p>In like manner, we will create a MySql database and give it a name.</p>



<pre class="wp-block-preformatted"> sudo mysql </pre>



<p>We will create a database and give it the name we want, in my case I will use googez.</p>



<pre class="wp-block-preformatted"> CREATE DATABASE googez; </pre>



<p>At this point, we will create a username and password for our database. In this case, I will use <em>rogerjpm </em>as a user, and yo160882 as a password. Remember that you can use the values you want.</p>



<pre class="wp-block-preformatted"> GRANT ALL ON googez.* to 'rogerjpm'@'localhost' IDENTIFIED BY 'yo160882'; </pre>



<p>Immediately, assign flush privileges operations by typing the next command: </p>



<pre class="wp-block-preformatted"> FLUSH PRIVILEGES; </pre>



<p>Finally, exit the MySql by using the command:</p>



<pre class="wp-block-preformatted">exit</pre>



<h2>Step 4. Install PHP</h2>



<p>Please note that Owncloud is compatible with PHP 7.1.  Consequently, we are going to install this version, for that purpose, we will write the following commands:</p>



<pre class="wp-block-preformatted">sudo apt-get install software-properties-common 
sudo add-apt-repository ppa:ondrej/php 
sudo apt update 
sudo apt install php7.1 </pre>



<p> </p>



<h2>Step 5. Download and install Owncloud on Windows 10</h2>



<p>At this point, we must download and unzip the version of Owncloud that we are going to use. In this case 10.0.03.  With this in mind,  just run the commands below to download using the command line terminal. and extract Owncloud files into its root directory. Please note, if the <em>unzip </em>command is not installed, the system will ask you to install it.</p>



<pre class="wp-block-preformatted">cd /tmp &amp;&amp; wget https://download.owncloud.org/community/owncloud-10.0.3.zip 
unzip owncloud-10.0.3.zip 
sudo mv owncloud /var/www/html/owncloud/ </pre>



<p>Once this is done, we have to assign the correct permissions for owncloud to work properly.</p>



<pre class="wp-block-preformatted">sudo chown -R www-data:www-data /var/www/html/owncloud/ 
sudo chmod -R 755 /var/www/html/owncloud/ </pre>



<h2>Step 6. Configuring Apache by creating a file for Owncloud on Windows 10</h2>



<p>Now let&#8217;s create a file in Apache that will control the operation of Owncloud. Now let&#8217;s create a file in Apache that will control the operation of Owncloud. For practical purposes, we will name it owncloud.conf</p>



<pre class="wp-block-preformatted"> sudo nano /etc/apache2/sites-available/owncloud.conf </pre>



<p>Add the following lines to the newly created file, place it in the root directory, press Crtl +O to write the files and then CTRL+X to save and exit</p>



<pre class="wp-block-preformatted">Alias /owncloud "/var/www/owncloud/"

&lt;Directory /var/www/owncloud/&gt;
Options +FollowSymlinks AllowOverride All
&lt;IfModule mod_dav.c&gt; Dav off &lt;/IfModule&gt; 

SetEnv HOME /var/www/owncloud 
SetEnv HTTP_HOME /var/www/owncloud 

&lt;/Directory&gt;

 </pre>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own9-1024x545.jpg" alt="" class="wp-image-663"/></figure>



<p>Now, once we have all the services installed, we have to create a symbolic link between Apache and owncloud. To do this, we write:</p>



<pre class="wp-block-preformatted">ln -s /etc/apache2/sites-available/owncloud.conf /etc/apache2/sites-enabled/owncloud.conf </pre>



<h2>Step 7. Running Owncloud on Windows 10</h2>



<p>To start the owncloud server, we write in the browser http://localhost/owncloud. It will open the first configuration, and we must enter our username and password for the site. Also, we must enter the username and password for the database.</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own10-1024x578.jpg" alt="Owncloud first run" class="wp-image-887"/><figcaption> <em>Owncloud first run</em> </figcaption></figure>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own11-1024x578.jpg" alt="Setting server parameters" class="wp-image-888"/><figcaption>Setting server parameters</figcaption></figure>



<p>Once we have completed the work, we will see a board with the files, and various configurations. And now we&#8217;re ready to share files safely.</p>



<figure class="wp-block-image"><img src="http://www.googez.com/wp-content/uploads/2019/08/own8-1-1024x548.jpg" alt="Owncloud dashboard" class="wp-image-666"/><figcaption>Owncloud dashboard</figcaption></figure>



<p>So, now you know how to install Owncloud on Windows 10. Hope you like it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/installing-owncloud-server-on-windows-10-step-by-step/">Installing Owncloud Server on Windows 10 step by step.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/installing-owncloud-server-on-windows-10-step-by-step/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Pydio on CentOS 7?</title>
		<link>https://www.osradar.com/how-to-install-pydio-on-centos-7/</link>
					<comments>https://www.osradar.com/how-to-install-pydio-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 05 Mar 2019 15:03:07 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Nextcloud]]></category>
		<category><![CDATA[Owncloud]]></category>
		<category><![CDATA[Pydio]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11293</guid>

					<description><![CDATA[<p>Data is essential in a company. Luckily, there are open source tools that allow us to create our own data servers in the best Dropbox or Google Drive style. Among them we have Owncloud or Nextcloud, but there is an alternative to them that puts more focus on companies. With this in mind, today I [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-pydio-on-centos-7/">How to install Pydio on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Data is essential in a company. Luckily, there are open source tools that allow us to create our own data servers in the best Dropbox or Google Drive style. Among them we have Owncloud or Nextcloud, but there is an alternative to them that puts more focus on companies. With this in mind, today I will teach you how to install Pydio on CentOS 7.</p>
<p><a href="https://pydio.com/" target="_blank" rel="noopener noreferrer">Pydio</a> is an application that allows you to synchronize files between different devices. In general, we can say that it allows us to mount our own cloud. It is a valid and mature alternative to <a href="https://www.osradar.com/how-to-install-owncloud-in-centos-7/" target="_blank" rel="noopener noreferrer">Owncloud</a> and <a href="https://www.osradar.com/how-to-install-nextcloud-in-ubuntu-18-04/" target="_blank" rel="noopener noreferrer">Nextcloud</a>. Like them, it is open source and has a great community support.</p>
<p>So, let us start.</p>
<h1>1. Install Apache web server and PHP</h1>
<p>First, you need to install an http server such as Apache. It is also possible to use Nginx. However, choose Apache.</p>
<p>So, open a terminal or connect to your server and execute these commands:</p>
<pre>:~$ su
:~# yum install httpd</pre>
<p><figure id="attachment_11294" aria-describedby="caption-attachment-11294" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11294" src="https://www.osradar.com/wp-content/uploads/2019/03/1-2.png" alt="1.- Install httpd" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/1-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/1-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/1-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/1-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/1-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/1-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/1-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11294" class="wp-caption-text">1.- Install httpd</figcaption></figure></p>
<p>Then you need to install PHP. The problem here is that the version of PHP that comes with CentOS 7 is very old and needs to be updated through an external repository. To do this, follow <a href="https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/" target="_blank" rel="noopener noreferrer">our guide</a>.</p>
<p>In order for pydio to work optimally, it is necessary to modify some values in the PHP configuration.</p>
<pre>:~# yum install nano
:~# nano /etc/php.ini</pre>
<p>And set this configuration:</p>
<pre>max_execution_time = 300
post_max_size = 200M
upload_max_filesize = 200M
output_buffering = Off</pre>
<p>Using nano you can type CTRL + W and search for the each parameter.</p>
<p>Next, start and enable Apache.</p>
<pre>:~# systemctl enable httpd
:~# systemctl start httpd</pre>
<p>Finally, set the Firewall rule to allow Apache.</p>
<pre>:~# firewall-cmd --add-port=80/tcp --permanent
:~# firewall-cmd --reload</pre>
<p><figure id="attachment_11295" aria-describedby="caption-attachment-11295" style="width: 1070px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11295" src="https://www.osradar.com/wp-content/uploads/2019/03/2-2.png" alt="2.- Working with httpd service" width="1070" height="228" srcset="https://www.osradar.com/wp-content/uploads/2019/03/2-2.png 1070w, https://www.osradar.com/wp-content/uploads/2019/03/2-2-300x64.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/2-2-768x164.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/2-2-1024x218.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/2-2-696x148.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/2-2-1068x228.png 1068w" sizes="(max-width: 1070px) 100vw, 1070px" /><figcaption id="caption-attachment-11295" class="wp-caption-text">2.- Working with httpd service</figcaption></figure></p>
<h1>2. Install MariaDB</h1>
<p>Now you have to install MariaDB to store Pydio&#8217;s data. This is important because otherwise you will not be able to continue.</p>
<p>So let&#8217;s go for it.</p>
<pre>:~# yum install mariadb-server</pre>
<p><figure id="attachment_11296" aria-describedby="caption-attachment-11296" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11296" src="https://www.osradar.com/wp-content/uploads/2019/03/3-2.png" alt="3.- Install mariadb" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/3-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/3-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/3-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/3-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/3-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/3-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/3-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11296" class="wp-caption-text">3.- Install mariadb</figcaption></figure></p>
<p>After that, start and enable the MariaDB service.</p>
<pre>:~# systemctl enable mariadb
:~# systemctl start mariadb</pre>
<p><figure id="attachment_11297" aria-describedby="caption-attachment-11297" style="width: 1020px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11297" src="https://www.osradar.com/wp-content/uploads/2019/03/4-2.png" alt="4.- Enabling mariadb" width="1020" height="146" srcset="https://www.osradar.com/wp-content/uploads/2019/03/4-2.png 1020w, https://www.osradar.com/wp-content/uploads/2019/03/4-2-300x43.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/4-2-768x110.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/4-2-696x100.png 696w" sizes="(max-width: 1020px) 100vw, 1020px" /><figcaption id="caption-attachment-11297" class="wp-caption-text">4.- Enabling mariadb</figcaption></figure></p>
<p>Then, set a root password in order to user MariaDB.</p>
<pre>:~# mysql_secure_installation</pre>
<p><figure id="attachment_11298" aria-describedby="caption-attachment-11298" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11298" src="https://www.osradar.com/wp-content/uploads/2019/03/5-2.png" alt="5.- Mysql_secure_installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/5-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/5-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/5-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/5-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/5-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/5-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/5-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11298" class="wp-caption-text">5.- Mysql_secure_installation</figcaption></figure></p>
<p>As you can see in the image, after defining a password for the root user in MariaDB, the script will ask some configuration questions, so I have answered Y, N, Y, Y. Do it as you prefer.</p>
<p>Next, you need to create the new user and database for Pydio.</p>
<pre>:~# mysql -u root -p
myslq&gt; CREATE DATABASE pydiodb;
myslq&gt; GRANT ALL PRIVILEGES ON pydiodb.* TO 'pydiouser'@'localhost' IDENTIFIED BY 'pydiopss';
mysql&gt; FLUSH PRIVILEGES;
mysql&gt; exit;</pre>
<p><figure id="attachment_11299" aria-describedby="caption-attachment-11299" style="width: 889px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11299" src="https://www.osradar.com/wp-content/uploads/2019/03/6-1.png" alt="6.- Creating the database" width="889" height="414" srcset="https://www.osradar.com/wp-content/uploads/2019/03/6-1.png 889w, https://www.osradar.com/wp-content/uploads/2019/03/6-1-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/6-1-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/6-1-696x324.png 696w" sizes="(max-width: 889px) 100vw, 889px" /><figcaption id="caption-attachment-11299" class="wp-caption-text">6.- Creating the database</figcaption></figure></p>
<h1>3. Install Pydio on CentOS 7</h1>
<p>There is a great way to install Pydo and that is through its repository. With this we will be able to install it using yum, the CentOS 7 package manager.</p>
<p>First, add the repository with the following command:</p>
<pre>:~# rpm -Uvh http://dl.ajaxplorer.info/repos/pydio-release-1-1.noarch.rpm</pre>
<p><figure id="attachment_11300" aria-describedby="caption-attachment-11300" style="width: 856px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11300" src="https://www.osradar.com/wp-content/uploads/2019/03/7-1.png" alt="7.- Adding the pydio repository" width="856" height="176" srcset="https://www.osradar.com/wp-content/uploads/2019/03/7-1.png 856w, https://www.osradar.com/wp-content/uploads/2019/03/7-1-300x62.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/7-1-768x158.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/7-1-696x143.png 696w" sizes="(max-width: 856px) 100vw, 856px" /><figcaption id="caption-attachment-11300" class="wp-caption-text">7.- Adding the pydio repository</figcaption></figure></p>
<p>Next update the repositories cache. And install Pydio.</p>
<pre>:~# yum update
:~# yum install pydio</pre>
<p><figure id="attachment_11302" aria-describedby="caption-attachment-11302" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11302" src="https://www.osradar.com/wp-content/uploads/2019/03/9-1.png" alt="9.- Install Pydio on CentOS" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/9-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/9-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/9-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/9-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/9-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/9-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/9-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11302" class="wp-caption-text">9.- Install Pydio on CentOS</figcaption></figure></p>
<p>In order for Apache to run Pydio better, an extra configuration is required. So, use nano to modify the apache file for Pydio.</p>
<pre>:~# nano /etc/httpd/conf.d/pydio.conf</pre>
<p>Comment the default configuration and add the following:</p>
<pre>&lt;Directory /usr/share/pydio&gt;
    Options FollowSymlinks
    AllowOverride none
    Require all granted
&lt;/Directory&gt;</pre>
<p><figure id="attachment_11303" aria-describedby="caption-attachment-11303" style="width: 884px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11303" src="https://www.osradar.com/wp-content/uploads/2019/03/10-1.png" alt="10.- Apache configuration file for pydio" width="884" height="471" srcset="https://www.osradar.com/wp-content/uploads/2019/03/10-1.png 884w, https://www.osradar.com/wp-content/uploads/2019/03/10-1-300x160.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/10-1-768x409.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/10-1-696x371.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/10-1-788x420.png 788w" sizes="(max-width: 884px) 100vw, 884px" /><figcaption id="caption-attachment-11303" class="wp-caption-text">10.- Apache configuration file for pydio</figcaption></figure></p>
<p>Then, restart Apache to apply the changes.</p>
<pre>:~# systemctl restart httpd</pre>
<h1>4. Complete the installation using the web interface</h1>
<p>After doing all of the above, all you have to do is open your web browser and access your server. You can do it through the domain of the IP address.</p>
<p><figure id="attachment_11304" aria-describedby="caption-attachment-11304" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11304" src="https://www.osradar.com/wp-content/uploads/2019/03/11-1.png" alt="11.- Start the wizard" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/03/11-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/11-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/11-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/11-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/11-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/03/11-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/11-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/11-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11304" class="wp-caption-text">11.- Start the wizard</figcaption></figure></p>
<h1>Conclusion</h1>
<p>As we can notice, installing Pydio is an easy matter that can help us in the company&#8217;s data management. It arises as a mature alternative to tools known as Owncloud and Nextcloud.</p>
<p>Please share this post with your friends.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-pydio-on-centos-7/">How to install Pydio on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-pydio-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install ownCloud in CentOS 7?</title>
		<link>https://www.osradar.com/how-to-install-owncloud-in-centos-7/</link>
					<comments>https://www.osradar.com/how-to-install-owncloud-in-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 02 Jul 2018 08:15:32 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Owncloud]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[vps]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=4506</guid>

					<description><![CDATA[<p>It is becoming more and more common to read and hear about security breaches from companies that handle vital user information on the Internet, and this makes many people wonder whether it is so necessary to trust these giant companies. Another important issue is that these large companies do not take the issue of privacy [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-owncloud-in-centos-7/">How to install ownCloud in CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It is becoming more and more common to read and hear about security breaches from companies that handle vital user information on the Internet, and this makes many people wonder whether it is so necessary to trust these giant companies.</p>
<p>Another important issue is that these large companies do not take the issue of privacy seriously and their handling of user files and information is at least questionable.</p>
<p>Therefore, many users and small businesses prefer to invest in infrastructure that allows them to have their private cloud. At the software level, <a href="https://owncloud.org/"><strong>owncloud</strong></a> is emerging as the most important solution in this matter.</p>
<p><strong>OwnCloud</strong> is a software that allows us to create a private cloud with which you can synchronize files, calendar, contacts, notes and more using extensions. It&#8217;s free, open source and has an application for Android, iOS and desktop client for Linux, Windows and Mac OS X.</p>
<h2><strong>Installing OwnCloud on our CentOS 7 server</strong></h2>
<h3><strong>1.-Upgrading the system</strong></h3>
<p>Normally when starting an installation process for this type of application, we need to update the system. For that:</p>
<p><strong>            sudo -i</strong></p>
<p>Enter your password and you will be a root user</p>
<p><strong>            yum update</strong></p>
<p><figure id="attachment_4509" aria-describedby="caption-attachment-4509" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4509" src="https://www.osradar.com/wp-content/uploads/2018/06/1-21.png" alt="1.- Upgrading CentOS" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/1-21.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/1-21-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/1-21-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/1-21-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/1-21-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/1-21-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/1-21-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4509" class="wp-caption-text">1.- Upgrading CentOS</figcaption></figure></p>
<p>Once this is done, we can continue with the installation with the certainty of having all the security updates available.</p>
<h3><strong>2.-Installing Apache</strong></h3>
<p>In order to run it, a web server is required, in this case we will install apache.</p>
<p><strong>                yum install httpd</strong></p>
<p><figure id="attachment_4510" aria-describedby="caption-attachment-4510" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4510" src="https://www.osradar.com/wp-content/uploads/2018/06/2-21.png" alt="2- Installing apache" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/2-21.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/2-21-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/2-21-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/2-21-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/2-21-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/2-21-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/2-21-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4510" class="wp-caption-text">2- Installing apache</figcaption></figure></p>
<p>Now we must start the service and enable it to run when the system starts.</p>
<p><strong>            systemctl start httpd</strong></p>
<p>and:</p>
<p><strong>           systemctl enable httpd</strong></p>
<p><figure id="attachment_4511" aria-describedby="caption-attachment-4511" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4511" src="https://www.osradar.com/wp-content/uploads/2018/06/3-23.png" alt="3.- Starting and enabling apache" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/3-23.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/3-23-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/3-23-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/3-23-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/3-23-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/3-23-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/3-23-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4511" class="wp-caption-text">3.- Starting and enabling apache</figcaption></figure></p>
<p>For all this to work, we have to open the http ports in the firewall:</p>
<p><strong>             firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=http</strong></p>
<p>and:</p>
<p><strong>            firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=https</strong></p>
<p>Finally:</p>
<p><strong>           firewall-cmd &#8211;reload</strong></p>
<p><figure id="attachment_4514" aria-describedby="caption-attachment-4514" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4514" src="https://www.osradar.com/wp-content/uploads/2018/06/4-20.png" alt="4.- Opening ports at firewall" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/4-20.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/4-20-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/4-20-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/4-20-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/4-20-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/4-20-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/4-20-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4514" class="wp-caption-text">4.- Opening ports at firewall</figcaption></figure></p>
<p>When accessing from our favorite web browser, to the server ip, we should see the apache test page, indicating that the process has been done correctly.</p>
<p><strong>              http://IP_SERVER</strong></p>
<p><figure id="attachment_4515" aria-describedby="caption-attachment-4515" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4515" src="https://www.osradar.com/wp-content/uploads/2018/06/5-21.png" alt="5.- Testing apache" width="1366" height="634" srcset="https://www.osradar.com/wp-content/uploads/2018/06/5-21.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/5-21-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/5-21-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/5-21-1024x475.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/5-21-696x323.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/5-21-1068x496.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/5-21-905x420.png 905w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4515" class="wp-caption-text">5.- Testing apache</figcaption></figure></p>
<h3><strong>3.-It is now up to MariaDB</strong></h3>
<p>Owncloud requires a DBMS and the one chosen in this case is MariaDB. We proceed to install it:</p>
<p><strong>              yum install mariadb-server mariadb</strong></p>
<p><figure id="attachment_4516" aria-describedby="caption-attachment-4516" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4516" src="https://www.osradar.com/wp-content/uploads/2018/06/6-21.png" alt="6.- Installing mariadb" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/6-21.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/6-21-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/6-21-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/6-21-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/6-21-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/6-21-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/6-21-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4516" class="wp-caption-text">6.- Installing mariadb</figcaption></figure></p>
<p>As with apache, you need to activate and enable the service.</p>
<p><strong>             systemctl start mariadb</strong></p>
<p>and:</p>
<p><strong>            systemctl enable mariadb</strong></p>
<p><figure id="attachment_4517" aria-describedby="caption-attachment-4517" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4517" src="https://www.osradar.com/wp-content/uploads/2018/06/7-19.png" alt="7.- Starting and enabling mariadb service" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/7-19.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/7-19-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/7-19-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/7-19-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/7-19-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/7-19-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/7-19-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4517" class="wp-caption-text">7.- Starting and enabling mariadb service</figcaption></figure></p>
<p>Next we&#8217;ll use the configuration script to set root password and more.</p>
<p><strong>               mysql_secure_installation</strong></p>
<p><figure id="attachment_4518" aria-describedby="caption-attachment-4518" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4518" src="https://www.osradar.com/wp-content/uploads/2018/06/8-18.png" alt="8.-mysql_secure_installation" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/8-18.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/8-18-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/8-18-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/8-18-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/8-18-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/8-18-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/8-18-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4518" class="wp-caption-text">8.-mysql_secure_installation</figcaption></figure></p>
<p>To the questions we will answer: Y,n,y,y,y</p>
<p><figure id="attachment_4519" aria-describedby="caption-attachment-4519" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4519" src="https://www.osradar.com/wp-content/uploads/2018/06/9-15.png" alt="9.- mysql_secure_installation" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/9-15.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/9-15-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/9-15-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/9-15-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/9-15-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/9-15-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/9-15-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4519" class="wp-caption-text">9.- mysql_secure_installation</figcaption></figure></p>
<p>The next thing is to create the database that will use owncloud, for this we access the MariaDB console.</p>
<p><strong>            mysql -u root -p</strong></p>
<p>And once inside, we execute the sentence:</p>
<p><strong>             CREATE DATABASE owncloud;</strong></p>
<p><figure id="attachment_4520" aria-describedby="caption-attachment-4520" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4520" src="https://www.osradar.com/wp-content/uploads/2018/06/10-15.png" alt="10.- Creating the database" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/10-15.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/10-15-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/10-15-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/10-15-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/10-15-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/10-15-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/10-15-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4520" class="wp-caption-text">10.- Creating the database</figcaption></figure></p>
<p>Then we&#8217;ll create the user that will have permissions on that database.</p>
<p><strong>              GRANT ALL PRIVILEGES ON owncloud.* TO &#8216;ownclouduser&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;owncloudpss&#8217;;</strong></p>
<p>Don&#8217;t forget to change your username and password. Now we refresh the permissions and exit the mariadb console.</p>
<p><strong>              FLUSH PRIVILEGES;</strong></p>
<p><strong>              exit;</strong></p>
<p><figure id="attachment_4521" aria-describedby="caption-attachment-4521" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4521" src="https://www.osradar.com/wp-content/uploads/2018/06/12-13.png" alt="12.- Refreshing privileges" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/12-13.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/12-13-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/12-13-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/12-13-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/12-13-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/12-13-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/12-13-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4521" class="wp-caption-text">12.- Refreshing privileges</figcaption></figure></p>
<h3><strong>4.-Adding owncloud repository</strong></h3>
<p>Before adding the owncloud repository, we must activate the EPEL repository and install some dependencies:</p>
<p><strong>             yum install wget</strong></p>
<p>Next:</p>
<p><strong>             wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm</strong></p>
<p><figure id="attachment_4522" aria-describedby="caption-attachment-4522" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4522" src="https://www.osradar.com/wp-content/uploads/2018/06/13-9.png" alt="13.- Adding EPEL repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/13-9.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/13-9-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/13-9-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/13-9-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/13-9-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/13-9-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/13-9-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4522" class="wp-caption-text">13.- Adding EPEL repository</figcaption></figure></p>
<p>And we proceed to install the downloaded package:</p>
<p><strong>             rpm -Uvh epel-release-latest-7.noarch.rpm</strong></p>
<p>Now, we checked that the repository was added correctly.</p>
<p><strong>            yum repolist</strong></p>
<p><figure id="attachment_4523" aria-describedby="caption-attachment-4523" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4523" src="https://www.osradar.com/wp-content/uploads/2018/06/14-10.png" alt="14.- Repolist" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/14-10.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/14-10-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/14-10-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/14-10-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/14-10-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/14-10-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/14-10-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4523" class="wp-caption-text">14.- Repolist</figcaption></figure></p>
<p>As we can see it has been added correctly.</p>
<p>With EPEL added we can install some OwnCloud dependencies:</p>
<p><strong>            yum &#8211;enablerepo=epel -y install php php-pear-MDB2-Driver-mysqli php-pear-Net-Curl</strong></p>
<p><figure id="attachment_4524" aria-describedby="caption-attachment-4524" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4524" src="https://www.osradar.com/wp-content/uploads/2018/06/15-10.png" alt="15.- Installing dependecies" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/15-10.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/15-10-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/15-10-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/15-10-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/15-10-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/15-10-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/15-10-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4524" class="wp-caption-text">15.- Installing dependecies</figcaption></figure></p>
<p>As we can see, these dependencies include php.</p>
<p>Now we proceed to add the Owncloud repository:</p>
<p><strong> wget http://download.owncloud.org/download/repositories/stable/CentOS_7/ce:stable.repo -P /etc/yum.repos.d</strong></p>
<p><figure id="attachment_4525" aria-describedby="caption-attachment-4525" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4525" src="https://www.osradar.com/wp-content/uploads/2018/06/16-10.png" alt="16.- Adding owncloud repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/16-10.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/16-10-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/16-10-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/16-10-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/16-10-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/16-10-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/16-10-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4525" class="wp-caption-text">16.- Adding owncloud repository</figcaption></figure></p>
<p>And we proceed to install it:</p>
<p><strong>           yum -y install owncloud          </strong></p>
<p><figure id="attachment_4526" aria-describedby="caption-attachment-4526" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4526" src="https://www.osradar.com/wp-content/uploads/2018/06/17-8.png" alt="17.- Installing owncloud package" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/17-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/17-8-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/17-8-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/17-8-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/17-8-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/17-8-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/17-8-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4526" class="wp-caption-text">17.- Installing owncloud package</figcaption></figure></p>
<p>Finally, we restart Apache.</p>
<p><strong>            systemctl restart httpd</strong></p>
<p>If we have SELINUX Enabler we must run these commands to give owncloud permissions.</p>
<p><strong>             semanage fcontext -a -t httpd_sys_rw_content_t /var/www/html/owncloud/apps</strong></p>
<p><strong>             semanage fcontext -a -t httpd_sys_rw_content_t /var/www/html/owncloud/config</strong></p>
<p><strong>             restorecon /var/www/html/owncloud/apps</strong></p>
<p><strong>             restorecon /var/www/html/owncloud/config</strong></p>
<p><figure id="attachment_4527" aria-describedby="caption-attachment-4527" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4527" src="https://www.osradar.com/wp-content/uploads/2018/06/18-8.png" alt="18.- SELINUX permission" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/18-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/18-8-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/18-8-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/18-8-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/18-8-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/18-8-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/18-8-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4527" class="wp-caption-text">18.- SELINUX permission</figcaption></figure></p>
<p>At this point, if we try to access the web interface, we will encounter this error:</p>
<p><figure id="attachment_4528" aria-describedby="caption-attachment-4528" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4528" src="https://www.osradar.com/wp-content/uploads/2018/06/19-8.png" alt="19.- Error" width="1366" height="634" srcset="https://www.osradar.com/wp-content/uploads/2018/06/19-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/19-8-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/19-8-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/19-8-1024x475.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/19-8-696x323.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/19-8-1068x496.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/19-8-905x420.png 905w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4528" class="wp-caption-text">19.- Error</figcaption></figure></p>
<p>It tells us the bug that we need to upgrade php to a higher version but not 7.3.</p>
<h3><strong>5.-Upgrading php</strong></h3>
<p>As it was said, we need to update the version of php that comes in CentOS. First we add the REMI repository:</p>
<p><strong>              yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm</strong></p>
<p><figure id="attachment_4529" aria-describedby="caption-attachment-4529" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4529" src="https://www.osradar.com/wp-content/uploads/2018/06/20-7.png" alt="20.- Adding REMI repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/20-7.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/20-7-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/20-7-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/20-7-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/20-7-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/20-7-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/20-7-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4529" class="wp-caption-text">20.- Adding REMI repository</figcaption></figure></p>
<p>We must also install the package yum-utils</p>
<p><strong>               yum install yum-utils</strong></p>
<p><figure id="attachment_4530" aria-describedby="caption-attachment-4530" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4530" src="https://www.osradar.com/wp-content/uploads/2018/06/21-8.png" alt="21.- Installing yum-utils" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/21-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/21-8-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/21-8-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/21-8-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/21-8-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/21-8-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/21-8-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4530" class="wp-caption-text">21.- Installing yum-utils</figcaption></figure></p>
<p>Now we enable the repository and update the system:</p>
<p><strong>            yum-config-manager &#8211;enable remi-php72</strong></p>
<p>and:</p>
<p><strong>            yum update</strong></p>
<p><figure id="attachment_4531" aria-describedby="caption-attachment-4531" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4531" src="https://www.osradar.com/wp-content/uploads/2018/06/22-7.png" alt="22.- Upgrading system" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/06/22-7.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/22-7-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/22-7-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/22-7-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/22-7-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/22-7-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/22-7-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-4531" class="wp-caption-text">22.- Upgrading system</figcaption></figure></p>
<p>We install the necessary php modules for owncloud:</p>
<p><strong>              yum install php-gd php-zip php-mbstring php-intl</strong></p>
<p>As we can see, php is updated with the command. Then, we restart Apache.</p>
<p><strong>              systemctl restart httpd</strong></p>
<h3><strong>6.-Completing the installation through the web interface</strong></h3>
<p>At this point we can complete the configuration from the web browser:</p>
<p><strong>             http://IP_SERVER/owncloud</strong></p>
<p>&nbsp;</p>
<p><figure id="attachment_4532" aria-describedby="caption-attachment-4532" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4532" src="https://www.osradar.com/wp-content/uploads/2018/06/23-5.png" alt="23.-Welcome page owncloud" width="1366" height="634" srcset="https://www.osradar.com/wp-content/uploads/2018/06/23-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/23-5-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/23-5-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/23-5-1024x475.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/23-5-696x323.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/23-5-1068x496.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/23-5-905x420.png 905w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4532" class="wp-caption-text">23.-Welcome page owncloud</figcaption></figure></p>
<p>And we introduce the parameters of mariadb that we have done before. In addition to creating the administrator account.</p>
<p>Once the process is complete, you will be asked for your password to enter the application.</p>
<p><figure id="attachment_4533" aria-describedby="caption-attachment-4533" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4533" src="https://www.osradar.com/wp-content/uploads/2018/06/24-5.png" alt="24.- Logging screen" width="1366" height="634" srcset="https://www.osradar.com/wp-content/uploads/2018/06/24-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/24-5-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/24-5-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/24-5-1024x475.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/24-5-696x323.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/24-5-1068x496.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/24-5-905x420.png 905w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4533" class="wp-caption-text">24.- Logging screen</figcaption></figure></p>
<p>We enter the username and password and the application is displayed as such.</p>
<p><figure id="attachment_4534" aria-describedby="caption-attachment-4534" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-4534" src="https://www.osradar.com/wp-content/uploads/2018/06/25-2.png" alt="25.- Owncloud" width="1366" height="634" srcset="https://www.osradar.com/wp-content/uploads/2018/06/25-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/25-2-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/25-2-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/25-2-1024x475.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/25-2-696x323.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/25-2-1068x496.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/25-2-905x420.png 905w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-4534" class="wp-caption-text">25.- Owncloud</figcaption></figure></p>
<p>And owncloud is already installed and we can start to take advantage of it.</p>
<p>Owncloud is important for many small and medium businesses that do not want to have their files entrusted to third parties with the advantage of being the full owner of the privacy of the server that contains them.</p>
<p>Don&#8217;t forget to share this article through social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-owncloud-in-centos-7/">How to install ownCloud in CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-owncloud-in-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
