<?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>vps Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/vps/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 27 Jan 2019 00:40:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>Install CWP (Centos Web Panel) on CentOS 7</title>
		<link>https://www.osradar.com/install-cwp-centos-web-panel-on-centos-7/</link>
					<comments>https://www.osradar.com/install-cwp-centos-web-panel-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Sun, 27 Jan 2019 00:40:37 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[centos 7]]></category>
		<category><![CDATA[Linux server]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[web hosting]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=9763</guid>

					<description><![CDATA[<p>CentOS Web Panel (CWP) is a free web hosting control panel which allows easily manage multiple servers (both Dedicated and VPS) without the need to access server through SSH for every small task that you need to complete. You can host multiple domain free of cost in this web panel. It is very easy to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cwp-centos-web-panel-on-centos-7/">Install CWP (Centos Web Panel) 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>CentOS Web Panel (CWP) is a free web hosting control panel which allows easily manage multiple servers (both Dedicated and VPS) without the need to access server through SSH for every small task that you need to complete. You can host multiple domain free of cost in this web panel. It is very easy to configure and manage.</p>



<p>In this article you will learn how to install CWP on your CentOS server.</p>



<p><strong>CentOS Web Panel Features:</strong></p>



<ul><li>Apache Web Server.</li><li>PHP Selector.</li><li>MySQL/MariaDB + phpMyAdmin.</li><li>Email – Postfix and Dovecot, mailboxes, RoundCube web interface, SpamAssassin.</li><li>CSF (Config Server Firewall).</li><li>ClamAV Antivirus</li><li>Backup Manager.</li><li>3rd Party Aplications.</li><li>Easy user management interface.</li><li>Setup Server for Web Hosting.</li><li>DNS Server.</li><li>Live Monitoring.</li><li>File System Lock (means, no more website hacking due to locking of files from changes).</li><li>Server configuration AutoFixer.</li><li>cPanel Account Migration.</li><li>TeamSpeak 3 Manager (Voice streaming).</li><li>Shoutcast Manager (video streaming).</li></ul>



<p><strong>CENTOS WEB PANEL REQUIREMENTS</strong></p>



<ul><li>A Static IP address</li><li>Freshly installed operating system without any configuration changes.</li><li>Minimum RAM for 32-bit 512MB and 64-bit 1GB with 10GB of free space.</li></ul>



<h2>Step 1. Configure Hostname</h2>



<p>Note: hostname must be differnet from your main domain.(for example, if example.com is a domain on your server, use hostname.example.com as your fully qualified hostname).</p>



<p>You can use the following command for hostname setup eg. osradar.localhost.localdomain</p>



<pre class="wp-block-preformatted"># hostnamectl set-hostname osradar.localhost.localdomain</pre>



<pre class="wp-block-preformatted"># hostnamectl</pre>



<figure class="wp-block-image"><img loading="lazy" width="810" height="297" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/1-9.jpg" alt="" class="wp-image-9777" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-9.jpg 810w, https://www.osradar.com/wp-content/uploads/2019/01/1-9-300x110.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-9-768x282.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-9-696x255.jpg 696w" sizes="(max-width: 810px) 100vw, 810px" /></figure>



<p></p>



<h2>Step 2. Configure Server IP addresses</h2>



<p>Here you will make configuration in your network interface file and assign your IP address.</p>



<pre class="wp-block-preformatted"># vi /etc/sysconfig/network-scripts/ifcfg-ens33</pre>



<figure class="wp-block-image"><img loading="lazy" width="822" height="290" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/2-8.jpg" alt="" class="wp-image-9779" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-8.jpg 822w, https://www.osradar.com/wp-content/uploads/2019/01/2-8-300x106.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-8-768x271.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-8-696x246.jpg 696w" sizes="(max-width: 822px) 100vw, 822px" /></figure>



<p><br></p>



<h2>Step 3. Update the system</h2>



<p>Use following commands to install and update server necessary updates.</p>



<pre class="wp-block-preformatted"># yum -y install wget</pre>



<pre class="wp-block-preformatted"># yum -y update</pre>



<pre class="wp-block-preformatted"># reboot</pre>



<h2>Step 4. Installing CWP on CentOS 7</h2>



<p>Note: CWP installation can take more than 30 minutes, because it needs to compile apache and php from source.</p>



<pre class="wp-block-preformatted"># cd /usr/local/src</pre>



<pre class="wp-block-preformatted"># wget http://centos-webpanel.com/cwp-el7-latest</pre>



<pre class="wp-block-preformatted"># sh cwp-el7-latest</pre>



<figure class="wp-block-image"><img loading="lazy" width="899" height="410" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/3-8.jpg" alt="" class="wp-image-9780" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-8.jpg 899w, https://www.osradar.com/wp-content/uploads/2019/01/3-8-300x137.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-8-768x350.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/3-8-696x317.jpg 696w" sizes="(max-width: 899px) 100vw, 899px" /></figure>



<p></p>



<p>After installation a list of credentials will be appeared to access the panel. Make sure to copy or write down the login information. Once done, press “<strong>ENTER</strong>” for server reboot.</p>



<figure class="wp-block-image"><img loading="lazy" width="887" height="501" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/4-5.jpg" alt="" class="wp-image-9781" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-5.jpg 887w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-300x169.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-768x434.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-696x393.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-744x420.jpg 744w" sizes="(max-width: 887px) 100vw, 887px" /></figure>



<p></p>



<h2>Step 5. Login CWP Admin Control Panel</h2>



<p>Onece server reboot, login to your CWP on your web browser using the link provided by the installer on your server</p>



<p>http://SERVER-IP:2030/<br>Username: root<br>Password: your root password</p>



<figure class="wp-block-image"><img loading="lazy" width="850" height="560" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/5-7.jpg" alt="" class="wp-image-9782" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-7.jpg 850w, https://www.osradar.com/wp-content/uploads/2019/01/5-7-300x198.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-7-768x506.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-7-696x459.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/5-7-638x420.jpg 638w" sizes="(max-width: 850px) 100vw, 850px" /></figure>



<p>Type username and password to login.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="530" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/6-5-1024x530.jpg" alt="" class="wp-image-9783" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-5-1024x530.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-300x155.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-768x397.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-696x360.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-1068x553.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-811x420.jpg 811w, https://www.osradar.com/wp-content/uploads/2019/01/6-5.jpg 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>After logging in, it is recommended to make below configuration.</p>



<p><strong>Setup Nameservers</strong><br>DNS Functions &gt; Edit Nameserver IP<br><br><strong>Setup shared IP </strong>(must be your public IP address)<br>CWP settings &gt; Edit Settings &gt; write the shared IP(Normally main IP address already assigned)<br><br><strong>Setup at least one hosting package</strong><br>Go to package &gt;add package &gt; fill in the info and limits of the package<br><br><strong>Setup root email</strong><br>Go to CWP settings &gt; Edit Settings &gt; write the root email for the CWP</p>



<p>For more configuration instructions, please visit given link or comment bewlo.<br> <a href="http://wiki.centos-webpanel.com/">http://wiki.centos-webpanel.com/</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cwp-centos-web-panel-on-centos-7/">Install CWP (Centos Web Panel) 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/install-cwp-centos-web-panel-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>
