<?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>learning Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/learning/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 16 May 2019 14:08:59 +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>Install Shopware CE on Debian 9</title>
		<link>https://www.osradar.com/install-shopware-ce-on-debian-9/</link>
					<comments>https://www.osradar.com/install-shopware-ce-on-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 17 May 2019 23:12:21 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[shopware]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12127</guid>

					<description><![CDATA[<p>In this post, I will show you how to install Shopware CE on Debian 9. Starting from a base system installed that does not have the LAMP server installed. So it will be a detailed guide until the installation is a success. Shopware is a business-oriented application. With it you will be able to deploy [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-shopware-ce-on-debian-9/">Install Shopware CE on Debian 9</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this post, I will show you how to install Shopware CE on Debian 9. Starting from a base system installed that does not have the LAMP server installed. So it will be a detailed guide until the installation is a success.</p>
<p><a href="https://en.shopware.com/" target="_blank" rel="noopener noreferrer">Shopware</a> is a business-oriented application. With it you will be able to deploy an e-commerce platform professionally and above all quickly. It is used by many of the best known brands in the world. However, it is not entirely free, but has a community version that we can use for our small business or just to test.</p>
<p>In the same sense, Shopware is a web application, so having a LAMP server installed is an indispensable requirement.</p>
<p>So let&#8217;s install Shopware CE on <a href="https://www.osradar.com/tag/debian/" target="_blank" rel="noopener noreferrer">Debian</a> 9.</p>
<h2>Install Shopware CE on Debian &#8211; LAMP</h2>
<h3>1.- Install Apache and PHP</h3>
<p>The first step is to install <a href="https://www.osradar.com/tag/apache/" target="_blank" rel="noopener noreferrer">Apache</a> and <a href="https://www.osradar.com/tag/php/" target="_blank" rel="noopener noreferrer">PHP</a>. With them, we will have the most basic to be able to execute the application correctly.</p>
<p>So open a terminal or connect to your server. Then, start the installation with Apache.</p>
<pre>:~$ su
:~# apt install apache2</pre>
<figure id="attachment_12131" aria-describedby="caption-attachment-12131" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12131" src="https://www.osradar.com/wp-content/uploads/2019/05/1-8.png" alt="1.- Install Apache web server" width="1365" height="290" srcset="https://www.osradar.com/wp-content/uploads/2019/05/1-8.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/1-8-300x64.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/1-8-768x163.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/1-8-1024x218.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/1-8-696x148.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/1-8-1068x227.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12131" class="wp-caption-text">1.- Install Apache web server</figcaption></figure>
<p>Then, open your web browser en go to http://Your-server/. You will see this.</p>
<figure id="attachment_12132" aria-describedby="caption-attachment-12132" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12132" src="https://www.osradar.com/wp-content/uploads/2019/05/2-8.png" alt="2.- Apache default page" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/2-8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/2-8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/2-8-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/2-8-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/2-8-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/2-8-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/2-8-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/2-8-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12132" class="wp-caption-text">2.- Apache default page</figcaption></figure>
<p>Now, install PHP from the Debian repository.</p>
<pre>:~# apt install php7.0 php7.0-cli php7.0-common php7.0-mysql php7.0-curl php7.0-json php7.0-zip php7.0-gd php7.0-xml php7.0-mbstring php7.0-opcache</pre>
<figure id="attachment_12133" aria-describedby="caption-attachment-12133" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12133" src="https://www.osradar.com/wp-content/uploads/2019/05/3-7.png" alt="3.- Install PHP" width="1365" height="323" srcset="https://www.osradar.com/wp-content/uploads/2019/05/3-7.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/3-7-300x71.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/3-7-768x182.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/3-7-1024x242.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/3-7-696x165.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/3-7-1068x253.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12133" class="wp-caption-text">3.- Install PHP</figcaption></figure>
<p>Then make sure that PHP is being interpreted correctly. Create a file in <code>/var/www/html/</code> called <code>test.php</code> and add the following:</p>
<pre>:~# nano /var/www/html/test.php
&lt;?php
phpinfo();
?&gt;</pre>
<figure id="attachment_12134" aria-describedby="caption-attachment-12134" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12134" src="https://www.osradar.com/wp-content/uploads/2019/05/4-7.png" alt="4.- test PHP" width="840" height="155" srcset="https://www.osradar.com/wp-content/uploads/2019/05/4-7.png 840w, https://www.osradar.com/wp-content/uploads/2019/05/4-7-300x55.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/4-7-768x142.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/4-7-696x128.png 696w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-12134" class="wp-caption-text">4.- test PHP</figcaption></figure>
<p>Next, restart the Apache service.</p>
<pre>:~# systemctl restart apache2</pre>
<p>After that, open it using the web browser. You will see this.</p>
<figure id="attachment_12135" aria-describedby="caption-attachment-12135" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12135" src="https://www.osradar.com/wp-content/uploads/2019/05/5-2.png" alt="5.- PHP info" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/5-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/5-2-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/5-2-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/5-2-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/5-2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/5-2-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/5-2-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/5-2-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12135" class="wp-caption-text">5.- PHP info</figcaption></figure>
<p>So, Apache and PHP are working properly.</p>
<h3>2) Install and configure MariaDB</h3>
<p>We already have the basics done, but Shopware also requires a database manager. In this case, I will use <a href="https://www.osradar.com/tag/mariadb/" target="_blank" rel="noopener noreferrer">MariaDB</a> for this tutorial. It is free, MySQL compatible and easy to install.</p>
<pre>:~# apt install mariadb-server</pre>
<figure id="attachment_12136" aria-describedby="caption-attachment-12136" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12136" src="https://www.osradar.com/wp-content/uploads/2019/05/6-1.png" alt="6.- Install MariaDB server" width="1365" height="408" srcset="https://www.osradar.com/wp-content/uploads/2019/05/6-1.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/6-1-300x90.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/6-1-768x230.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/6-1-1024x306.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/6-1-696x208.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/6-1-1068x319.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12136" class="wp-caption-text">6.- Install MariaDB server</figcaption></figure>
<p>Then, set a root password using the <code>mysql_secure_installation</code> script.</p>
<pre>:~# mysql_secure_installation</pre>
<p>Then, you will be asked the following configuration questions. You can answer as you like, but it is advisable to read them well and make the decisions that best suit you.</p>
<pre>Remove anonymous users?: Y
Disallow root login remotely?: N
Remove test database and access to it?: Y
Reload privilege tables now? : Y</pre>
<figure id="attachment_12137" aria-describedby="caption-attachment-12137" style="width: 1125px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12137" src="https://www.osradar.com/wp-content/uploads/2019/05/7-1.png" alt="7.- Configuring MariaDB" width="1125" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/05/7-1.png 1125w, https://www.osradar.com/wp-content/uploads/2019/05/7-1-300x179.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/7-1-768x458.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/7-1-1024x611.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/7-1-696x415.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/7-1-1068x637.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/7-1-704x420.png 704w" sizes="(max-width: 1125px) 100vw, 1125px" /><figcaption id="caption-attachment-12137" class="wp-caption-text">7.- Configuring MariaDB</figcaption></figure>
<p>Now it is necessary to create a database dedicated to Shopware. In addition to a new MariaDB user. so type the following commands:</p>
<pre>:~# mysql -u root -p
CREATE DATABASE shopwaredb;
GRANT ALL PRIVILEGES ON shopwaredb.* TO 'shopwareuser'@'localhost' IDENTIFIED BY 'shoppss';
FLUSH PRIVILEGES;
exit;</pre>
<figure id="attachment_12138" aria-describedby="caption-attachment-12138" style="width: 1126px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12138" src="https://www.osradar.com/wp-content/uploads/2019/05/8.png" alt="8.- Creating the new user for Shopware" width="1126" height="415" srcset="https://www.osradar.com/wp-content/uploads/2019/05/8.png 1126w, https://www.osradar.com/wp-content/uploads/2019/05/8-300x111.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/8-768x283.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/8-1024x377.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/8-696x257.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/8-1068x394.png 1068w" sizes="(max-width: 1126px) 100vw, 1126px" /><figcaption id="caption-attachment-12138" class="wp-caption-text">8.- Creating the new user for Shopware</figcaption></figure>
<p>So, you can install Shopware.</p>
<h3>3) Install Shopware CE on Debian 9</h3>
<p>Now, we can download Shopware and install it.</p>
<pre>:~# cd /tmp/
:~# wget https://releases.shopware.com/install_5.5.7_f785facc70e39f2ca4292e78739457417f19fbcf.zip?_ga=2.110917381.1678735926.1552879434-1860898197.1552787146 -O shopware.zip</pre>
<figure id="attachment_12139" aria-describedby="caption-attachment-12139" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12139" src="https://www.osradar.com/wp-content/uploads/2019/05/9.png" alt="9.- Download Shopware" width="1365" height="347" srcset="https://www.osradar.com/wp-content/uploads/2019/05/9.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/9-300x76.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/9-768x195.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/9-1024x260.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/9-696x177.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/9-1068x271.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12139" class="wp-caption-text">9.- Download Shopware</figcaption></figure>
<p>Next, unzip the file.</p>
<pre>:~# mkdir shopware
:~# cd shopware/
:~# unzip ../shopware.zip</pre>
<p><em><strong>Note: In case you do not have unzip installed, you can do it using apt install unzip.</strong></em></p>
<p>Next, move the folder to the Apache folder and set the permissions.</p>
<pre>:~# cd ..
:~# mv shopware/ /var/www/html/
:~# chown -R www-data:www-data /var/www/html/shopware/
:~# chmod -R 775 /var/www/html/shopware</pre>
<figure id="attachment_12140" aria-describedby="caption-attachment-12140" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12140" src="https://www.osradar.com/wp-content/uploads/2019/05/10.png" alt="10.- Install shopware ce on Debian" width="1365" height="164" srcset="https://www.osradar.com/wp-content/uploads/2019/05/10.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/10-300x36.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/10-768x92.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/10-1024x123.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/10-696x84.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/10-1068x128.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12140" class="wp-caption-text">10.- Install shopware ce on Debian</figcaption></figure>
<p>Now it is necessary to make a new virtualhost for shopware.</p>
<pre>:~# nano /etc/apache2/sites-available/shopware.conf</pre>
<p>And add the following:</p>
<pre>&lt;VirtualHost *:80&gt;
     DocumentRoot /var/www/html/shopware
     ServerName your-domain.com

    &lt;Directory /var/www/html/shopware/&gt;
        Options FollowSymlinks
        AllowOverride All
        Require all granted
     &lt;/Directory&gt;

     ErrorLog ${APACHE_LOG_DIR}/shopware_error.log
     CustomLog ${APACHE_LOG_DIR}/shopware_access.log combined

&lt;/VirtualHost&gt;</pre>
<figure id="attachment_12141" aria-describedby="caption-attachment-12141" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12141" src="https://www.osradar.com/wp-content/uploads/2019/05/11.png" alt="11.- New virtual host for Shopware" width="1365" height="324" srcset="https://www.osradar.com/wp-content/uploads/2019/05/11.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/11-300x71.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/11-768x182.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/11-1024x243.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/11-696x165.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/11-1068x254.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12141" class="wp-caption-text">11.- New virtual host for Shopware</figcaption></figure>
<p>Save the changes and close the file.</p>
<p>After that, enable the new site, the rewrite module and restart Apache.</p>
<pre>:~# a2ensite shopware.conf
:~# a2enmod rewrite
:~# systemctl reload apache2</pre>
<figure id="attachment_12142" aria-describedby="caption-attachment-12142" style="width: 1042px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12142" src="https://www.osradar.com/wp-content/uploads/2019/05/12.png" alt="12.- Setting the final configurations on Apache for Shopware" width="1042" height="235" srcset="https://www.osradar.com/wp-content/uploads/2019/05/12.png 1042w, https://www.osradar.com/wp-content/uploads/2019/05/12-300x68.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/12-768x173.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/12-1024x231.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/12-696x157.png 696w" sizes="(max-width: 1042px) 100vw, 1042px" /><figcaption id="caption-attachment-12142" class="wp-caption-text">12.- Setting the final configurations on Apache for Shopware</figcaption></figure>
<p>Now we can complete the installation</p>
<h3>Complete the installation</h3>
<p>Now, go to your web browser and access your server http://your-server.</p>
<figure id="attachment_12143" aria-describedby="caption-attachment-12143" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12143" src="https://www.osradar.com/wp-content/uploads/2019/05/13.png" alt="13.- Start the Installation" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/13.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/13-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/13-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/13-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/13-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/13-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/13-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/13-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12143" class="wp-caption-text">13.- Start the Installation</figcaption></figure>
<p>Next, the installer will check for the requisites.</p>
<figure id="attachment_12144" aria-describedby="caption-attachment-12144" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12144" src="https://www.osradar.com/wp-content/uploads/2019/05/14.png" alt="14.- Check for the requirements" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/14.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/14-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/14-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/14-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/14-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/14-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/14-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/14-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12144" class="wp-caption-text">14.- Check for the requirements</figcaption></figure>
<p>After that, accept the Terms of service.</p>
<figure id="attachment_12145" aria-describedby="caption-attachment-12145" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12145" src="https://www.osradar.com/wp-content/uploads/2019/05/15.png" alt="15.- Terms of service" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/15.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/15-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/15-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/15-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/15-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/15-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/15-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/15-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12145" class="wp-caption-text">15.- Terms of service</figcaption></figure>
<p>After that, configure the databases. Type the parameters of the database.</p>
<figure id="attachment_12146" aria-describedby="caption-attachment-12146" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="size-full wp-image-12146" src="https://www.osradar.com/wp-content/uploads/2019/05/16.png" alt="16.- Configure the databases" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/16.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/16-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/16-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/16-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/16-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/16-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/16-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/16-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12146" class="wp-caption-text">16.- Configure the databases</figcaption></figure>
<p>Then, start the installation.</p>
<figure id="attachment_12147" aria-describedby="caption-attachment-12147" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12147" src="https://www.osradar.com/wp-content/uploads/2019/05/17.png" alt="17.- Install Shopware ce on Debian" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/17.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/17-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/17-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/17-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/17-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/17-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/17-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/17-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12147" class="wp-caption-text">17.- Install Shopware ce on Debian</figcaption></figure>
<figure id="attachment_12148" aria-describedby="caption-attachment-12148" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12148" src="https://www.osradar.com/wp-content/uploads/2019/05/18.png" alt="18.- Installation Finished" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/18.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/18-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/18-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/18-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/18-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/18-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/18-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/18-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12148" class="wp-caption-text">18.- Installation Finished</figcaption></figure>
<p>Then, choose the license. In this case, it is the Community Edition.</p>
<figure id="attachment_12149" aria-describedby="caption-attachment-12149" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12149" src="https://www.osradar.com/wp-content/uploads/2019/05/19.png" alt="19.- Shopware license" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/19.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/19-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/19-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/19-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/19-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/19-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/19-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/19-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12149" class="wp-caption-text">19.- Shopware license</figcaption></figure>
<p>After that, set the shop settings.</p>
<figure id="attachment_12150" aria-describedby="caption-attachment-12150" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12150" src="https://www.osradar.com/wp-content/uploads/2019/05/20.png" alt="20.- Shop settings" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/20.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/20-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/20-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/20-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/20-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/20-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/20-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/20-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12150" class="wp-caption-text">20.- Shop settings</figcaption></figure>
<p>After that, you will see the following:</p>
<figure id="attachment_12151" aria-describedby="caption-attachment-12151" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12151" src="https://www.osradar.com/wp-content/uploads/2019/05/21.png" alt="21.- Everything is OK" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/21.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/21-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/21-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/21-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/21-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/21-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/21-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/21-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12151" class="wp-caption-text">21.- Everything is OK</figcaption></figure>
<p>So, you can log in now.</p>
<figure id="attachment_12152" aria-describedby="caption-attachment-12152" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12152" src="https://www.osradar.com/wp-content/uploads/2019/05/22.png" alt="22.- Log in" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/05/22.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/22-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/22-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/22-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/22-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/05/22-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/22-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/22-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12152" class="wp-caption-text">22.- Log in</figcaption></figure>
<p>So, enjoy it.</p>
<h2>Conclusion</h2>
<p>Shopware is a professional tool for companies looking to set up their e-commerce platform. That way, you can improve your revenue so it&#8217;s a very useful application.</p>
<p>Tell us, do you like Shopware? Have you used it? in your business use it? please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-shopware-ce-on-debian-9/">Install Shopware CE on Debian 9</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-shopware-ce-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install MyBB on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/how-to-install-mybb-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-mybb-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 26 Feb 2019 14:57:11 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[MyBB]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11112</guid>

					<description><![CDATA[<p>Using mechanisms to deploy forums can be very useful in the field of education. It can even be a great idea for a company. That is why, in this post, I will show you how to install MyBB on Ubuntu 18.04. MyBB is an open source application that is developed in PHP that supports multiple [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mybb-on-ubuntu-18-04/">How to install MyBB 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>Using mechanisms to deploy forums can be very useful in the field of education. It can even be a great idea for a company. That is why, in this post, I will show you how to install MyBB on Ubuntu 18.04.</p>
<p><a href="https://mybb.com/" rel="noopener">MyBB</a> is an open source application that is developed in PHP that supports multiple database handlers such as <a href="https://www.osradar.com/optimize-mysql-mariadb-on-linux/" rel="noopener">MySQL</a>, <a href="https://www.osradar.com/postgresql-opensuse-15/" rel="noopener">PostgreSQL</a>, and SQLite. Its main objective is to deploy forums and blog content. That is to say, it is a CMS with more advantages.</p>
<p>There are many features that make MyBB so special. For example, it is very extensible, thanks to its large community and plugins. Besides, the language will not be a problem because it supports more than 30. That is, it is a powerful tool but with good community support.</p>
<p>So, let us start.</p>
<h2>1.- Install Apache web server and PHP</h2>
<p>As you can imagine, MyBB requires a functional web server. So the first step is to install the Apache web server. Note that it is also possible to use <a href="https://www.osradar.com/install-nginx-from-the-source-code-ubuntu-18-04/" rel="noopener">Nginx</a>.</p>
<pre>:~$ sudo apt install apache2</pre>
<figure id="attachment_11113" aria-describedby="caption-attachment-11113" style="width: 1085px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11113" src="https://www.osradar.com/wp-content/uploads/2019/02/1-19.png" alt="1.- Install apache" width="1085" height="318" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-19.png 1085w, https://www.osradar.com/wp-content/uploads/2019/02/1-19-300x88.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-19-768x225.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-19-1024x300.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/1-19-696x204.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/1-19-1068x313.png 1068w" sizes="(max-width: 1085px) 100vw, 1085px" /><figcaption id="caption-attachment-11113" class="wp-caption-text">1.- Install apache</figcaption></figure>
<p>Ubuntu starts and enables the service automatically. Now, we have to install PHP. The basic requirements indicate that it supports PHP 5.2 onwards, but its developers recommend at least PHP 7.2. Let us install it.</p>
<pre>:~$ sudo apt install php php-xml php-mbstring libapache2-mod-php php-mysql php-mbstring php-gd php-zip php-json</pre>
<figure id="attachment_11114" aria-describedby="caption-attachment-11114" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11114" src="https://www.osradar.com/wp-content/uploads/2019/02/2-17.png" alt="2.- Install PHP" width="1365" height="363" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-17.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/2-17-300x80.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-17-768x204.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-17-1024x272.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/2-17-696x185.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/2-17-1068x284.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11114" class="wp-caption-text">2.- Install PHP</figcaption></figure>
<p>Finally, restart Apache.</p>
<pre>:~$ sudo systemctl restart apache2</pre>
<h2>2. Install MySQL</h2>
<p>It is not necessary to have an SQL database manager to enjoy MyBB. However, we will. So we will install MySQL.</p>
<pre>:~$ sudo apt install mysql-server</pre>
<figure id="attachment_11115" aria-describedby="caption-attachment-11115" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11115" src="https://www.osradar.com/wp-content/uploads/2019/02/3-17.png" alt="3.- Install MySQL" width="1365" height="390" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-17.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/3-17-300x86.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-17-768x219.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-17-1024x293.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/3-17-696x199.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/3-17-1068x305.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11115" class="wp-caption-text">3.- Install MySQL</figcaption></figure>
<p>After that, you need to define the root password and other settings. So run the <code>mysql_secure_installation</code> script.</p>
<pre>:~$ sudo mysql_secure_installation</pre>
<figure id="attachment_11116" aria-describedby="caption-attachment-11116" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11116" src="https://www.osradar.com/wp-content/uploads/2019/02/4-13.png" alt="4.- Using the mysql_secure_installation script" width="1365" height="767" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4-13.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/4-13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-13-1024x575.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/4-13-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/4-13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/4-13-747x420.png 747w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11116" class="wp-caption-text">4.- Using the mysql_secure_installation script</figcaption></figure>
<p>After defining a password for the root user, you will be asked other configuration questions. We recommend that you read them carefully and give your answers. We have answered like this, Y, N, Y, Y.</p>
<p>The, create the database and the new user for MyBB.</p>
<pre>:~$ sudo mysql -u root -p
CREATE DATABASE mybbdb;
GRANT ALL PRIVILEGES ON mybbdb.* TO 'mybbuser'@'localhost' IDENTIFIED BY 'mybbPSS123';
FLUSH PRIVILEGES;
exit;</pre>
<figure id="attachment_11117" aria-describedby="caption-attachment-11117" style="width: 924px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11117" src="https://www.osradar.com/wp-content/uploads/2019/02/5-15.png" alt="5.- creating the database and user for MyBB" width="924" height="479" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-15.png 924w, https://www.osradar.com/wp-content/uploads/2019/02/5-15-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-15-768x398.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-15-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-15-810x420.png 810w" sizes="(max-width: 924px) 100vw, 924px" /><figcaption id="caption-attachment-11117" class="wp-caption-text">5.- creating the database and user for MyBB</figcaption></figure>
<p>So, that is all with MySQL.</p>
<h2>3. Download and install MyBB</h2>
<p>Now we can download it from the project website. Currently, the last stable version is 1.8.19.</p>
<pre>:~$ cd /tmp/
:~$ wget https://resources.mybb.com/downloads/mybb_1819.zip</pre>
<figure id="attachment_11118" aria-describedby="caption-attachment-11118" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11118" src="https://www.osradar.com/wp-content/uploads/2019/02/6-14.png" alt="6.- Download MyBB" width="1365" height="320" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6-14.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/6-14-300x70.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-14-768x180.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/6-14-1024x240.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/6-14-696x163.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/6-14-1068x250.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11118" class="wp-caption-text">6.- Download MyBB</figcaption></figure>
<p>After that, decompress it on <code>/var/www/html</code>.</p>
<pre>:~$ unzip mybb_1819.zip -d mybb</pre>
<p>Then, move it to the Apache web root and set the proper permissions to the folder.</p>
<pre>:~$ sudo mv mybb /var/www/html/
:~$ sudo chown -R www-data:www-data /var/www/html/mybb/
:~$ sudo chmod -R 775 /var/www/html/mybb/</pre>
<figure id="attachment_11119" aria-describedby="caption-attachment-11119" style="width: 813px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11119" src="https://www.osradar.com/wp-content/uploads/2019/02/7-14.png" alt="7.- Setting the properly permission to the folder" width="813" height="146" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7-14.png 813w, https://www.osradar.com/wp-content/uploads/2019/02/7-14-300x54.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-14-768x138.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-14-696x125.png 696w" sizes="(max-width: 813px) 100vw, 813px" /><figcaption id="caption-attachment-11119" class="wp-caption-text">7.- Setting the proper permission to the folder</figcaption></figure>
<p>Finally, create a new <a href="https://www.osradar.com/how-to-configure-an-apache-virtual-host-on-debian-9/">virtualhost</a> for MyBB.</p>
<pre>:~$ sudo nano /etc/apache2/sites-available/mybb.conf</pre>
<p>And add the following.</p>
<pre>&lt;VirtualHost *:80&gt;
ServerAdmin admin@your-domain.com
DocumentRoot /var/www/html/mybb/Upload/
ServerName your-domain.com
ServerAlias www.your-domain.com

&lt;Directory /var/www/html/mybb/Upload/&gt;
      Options FollowSymLinks
      AllowOverride All
      Order allow,deny
      allow from all
&lt;/Directory&gt;
&lt;/VirtualHost&gt;</pre>
<figure id="attachment_11123" aria-describedby="caption-attachment-11123" style="width: 868px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11123 size-full" src="https://www.osradar.com/wp-content/uploads/2019/02/8-3223.png" alt="8.- Creating the new virtualhost" width="868" height="368" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8-3223.png 868w, https://www.osradar.com/wp-content/uploads/2019/02/8-3223-300x127.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-3223-768x326.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-3223-696x295.png 696w" sizes="(max-width: 868px) 100vw, 868px" /><figcaption id="caption-attachment-11123" class="wp-caption-text">8.- Creating the new virtualhost</figcaption></figure>
<p>Enable the new configuration and the rewrite module. Next, restart apache.</p>
<pre>:~$ sudo a2ensite mybb.conf
:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2</pre>
<figure id="attachment_11121" aria-describedby="caption-attachment-11121" style="width: 980px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11121" src="https://www.osradar.com/wp-content/uploads/2019/02/9-12.png" alt="9.- Enabling the virtualhost" width="980" height="197" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9-12.png 980w, https://www.osradar.com/wp-content/uploads/2019/02/9-12-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-12-768x154.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-12-696x140.png 696w" sizes="(max-width: 980px) 100vw, 980px" /><figcaption id="caption-attachment-11121" class="wp-caption-text">9.- Enabling the virtualhost</figcaption></figure>
<h2>4. Complete the installation on the web browser</h2>
<p>Finally, open your web browser and access your server to complete the installation. First, the welcome screen. Click on the next button.</p>
<figure id="attachment_11124" aria-describedby="caption-attachment-11124" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="wp-image-11124 size-full" src="https://www.osradar.com/wp-content/uploads/2019/02/10-13.png" alt="10.- Install MyBB on ubuntu" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10-13.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/10-13-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/10-13-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/10-13-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/10-13-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/10-13-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/10-13-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/10-13-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11124" class="wp-caption-text">10.- Install MyBB on ubuntu</figcaption></figure>
<p>Now, you have to accept the license. Click on the next button.</p>
<figure id="attachment_11125" aria-describedby="caption-attachment-11125" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11125" src="https://www.osradar.com/wp-content/uploads/2019/02/11-9.png" alt="11.- License agreement" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/11-9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/11-9-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/11-9-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/11-9-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/11-9-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/11-9-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/11-9-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/11-9-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11125" class="wp-caption-text">11.- License agreement</figcaption></figure>
<p>Then, the installer will check for the requirements.</p>
<figure id="attachment_11126" aria-describedby="caption-attachment-11126" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11126" src="https://www.osradar.com/wp-content/uploads/2019/02/12-8.png" alt="12.- Requirements check" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/12-8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/12-8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/12-8-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/12-8-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/12-8-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/12-8-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/12-8-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/12-8-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11126" class="wp-caption-text">12.- Requirements check</figcaption></figure>
<p>Next, you have to configure the database. Just type the credentials.</p>
<figure id="attachment_11127" aria-describedby="caption-attachment-11127" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11127" src="https://www.osradar.com/wp-content/uploads/2019/02/13-6.png" alt="13. Database configuration" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/13-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/13-6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/13-6-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/13-6-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/13-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/13-6-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/13-6-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/13-6-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11127" class="wp-caption-text">13. Database configuration</figcaption></figure>
<p>In the next screen, you will see the database tables creation. Scroll down and click on the next button if everything went OK.</p>
<figure id="attachment_11128" aria-describedby="caption-attachment-11128" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11128" src="https://www.osradar.com/wp-content/uploads/2019/02/14-6.png" alt="14.- Tables creations" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/14-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/14-6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/14-6-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/14-6-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/14-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/14-6-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/14-6-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/14-6-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11128" class="wp-caption-text">14.- Tables creations</figcaption></figure>
<p>Next, the installer will populate the tables.</p>
<figure id="attachment_11130" aria-describedby="caption-attachment-11130" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11130" src="https://www.osradar.com/wp-content/uploads/2019/02/15-6.png" alt="15.- Table population" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/15-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/15-6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/15-6-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/15-6-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/15-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/15-6-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/15-6-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/15-6-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11130" class="wp-caption-text">15.- Table population</figcaption></figure>
<p>After that, the installer will installer the default theme.</p>
<figure id="attachment_11131" aria-describedby="caption-attachment-11131" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11131" src="https://www.osradar.com/wp-content/uploads/2019/02/16-3.png" alt="16.- Insallting the default theme" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/16-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/16-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/16-3-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/16-3-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/16-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/16-3-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/16-3-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/16-3-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11131" class="wp-caption-text">16.- Insallting the default theme</figcaption></figure>
<p>Next, the board configuration. Type your data.</p>
<figure id="attachment_11132" aria-describedby="caption-attachment-11132" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11132" src="https://www.osradar.com/wp-content/uploads/2019/02/17-3.png" alt="17.- Board configuration" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/17-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/17-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/17-3-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/17-3-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/17-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/17-3-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/17-3-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/17-3-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11132" class="wp-caption-text">17.- Board configuration</figcaption></figure>
<p>After that, you have to create the admin account.</p>
<figure id="attachment_11133" aria-describedby="caption-attachment-11133" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11133" src="https://www.osradar.com/wp-content/uploads/2019/02/18-1.png" alt="Create administrator account" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/18-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/18-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/18-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/18-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/18-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/18-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/18-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/18-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11133" class="wp-caption-text">18.- Create an administrator account</figcaption></figure>
<p>Finally, you will see a message that MyBB is installed.</p>
<figure id="attachment_11134" aria-describedby="caption-attachment-11134" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11134" src="https://www.osradar.com/wp-content/uploads/2019/02/19-1.png" alt="19.- Finish the setup" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/19-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/19-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/19-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/19-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/19-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/19-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/19-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/19-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11134" class="wp-caption-text">19.- Finish the setup</figcaption></figure>
<p>Next, you can log in to acces to the Admin control panel.</p>
<figure id="attachment_11135" aria-describedby="caption-attachment-11135" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11135" src="https://www.osradar.com/wp-content/uploads/2019/02/20-1.png" alt="20.- MyBB log in screen" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/20-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/20-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/20-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/20-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/20-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/20-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/20-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/20-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11135" class="wp-caption-text">20.- MyBB log in screen</figcaption></figure>
<p>And finally, you will see the control panel.</p>
<figure id="attachment_11136" aria-describedby="caption-attachment-11136" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11136" src="https://www.osradar.com/wp-content/uploads/2019/02/21-1.png" alt="21.- MyBB control panel" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/21-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/21-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/21-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/21-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/21-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/21-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/21-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/21-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11136" class="wp-caption-text">21.- MyBB control panel</figcaption></figure>
<p>And that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>MyBB is a great application to deploy forums. It is open source and very well supported by the community.</p>
<p>To install MyBB on Ubuntu 18.04 does not require great technical knowledge because it is simple to do.</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-mybb-on-ubuntu-18-04/">How to install MyBB 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/how-to-install-mybb-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install MyWebSQL on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-mywebsql-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-mywebsql-on-ubuntu-18-04/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 08 Feb 2019 11:15:12 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10599</guid>

					<description><![CDATA[<p>Setting up a data server with MySQL or MariaDB is quite a simple task and we have done it many times in this blog. However, when we are on the client side, managing, editing and viewing the data stored in MySQL or MariaDB can be a cumbersome task. Fortunately, there are tools that can help [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mywebsql-on-ubuntu-18-04/">Install MyWebSQL 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>Setting up a data server with MySQL or MariaDB is quite a simple task and we have done it many times in this blog. However, when we are on the client side, managing, editing and viewing the data stored in <a href="https://www.osradar.com/making-a-mysql-database-backup-with-mysqldump/" rel="noopener">MySQL</a> or <a href="https://www.osradar.com/how-to-install-apache-mariadb-php7-lamp-on-opensuse-leap-15/" rel="noopener">MariaDB</a> can be a cumbersome task. Fortunately, there are tools that can help us with that task. So, why today I will show you how to install MyWebSQL on <a href="https://www.osradar.com/how-to-install-and-configure-orientdb-on-ubuntu-18-04/" rel="noopener">Ubuntu</a> 18.04.</p>
<p><a href="http://mywebsql.net/" rel="noopener">MyWebSQL</a> is an open source tool to manage data stored in MySQL or MariaDB. However, it is not only limited to them but is compatible with <a href="https://www.osradar.com/postgresql-opensuse-15/" rel="noopener">PostgreSQL</a> and SQLite. Therefore, we are in the presence of an essential tool on the client side.</p>
<p>So, let us install MyWebSQL on Ubuntu 18.04.</p>
<h2>1. Install Apache web server and PHP</h2>
<p>First, it is necessary to install a web server. Therefore, I will install <a href="https://www.osradar.com/how-to-install-apache-gui-on-debian-9/" rel="noopener">the Apache</a> Web server. It is simple, free and it is available in the official Ubuntu repositories, so everything will be faster.</p>
<pre class="">:~$ sudo apt install apache2</pre>
<figure id="attachment_10602" aria-describedby="caption-attachment-10602" style="width: 1320px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10602" src="https://www.osradar.com/wp-content/uploads/2019/02/1-5.png" alt="1.- Install Apache" width="1320" height="457" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-5.png 1320w, https://www.osradar.com/wp-content/uploads/2019/02/1-5-300x104.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-5-768x266.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-5-1024x355.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/1-5-696x241.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/1-5-1068x370.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/1-5-1213x420.png 1213w" sizes="(max-width: 1320px) 100vw, 1320px" /><figcaption id="caption-attachment-10602" class="wp-caption-text">1.- Install Apache</figcaption></figure>
<p>Once the installation has finished, the service will start automatically. However, if you want Apache to run at system startup, run the following command:</p>
<pre class="">:~$ sudo systemctl enable apache2</pre>
<p>After that, you need to install PHP, some of their modules and other necessary packages.</p>
<pre class="">:~$ sudo apt install php libapache2-mod-php php php-common php-mbstring php-gd php-intl php-curl php-xml php-mysql php-pgsql php-mysql php-bcmath unzip wget</pre>
<figure id="attachment_10603" aria-describedby="caption-attachment-10603" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10603" src="https://www.osradar.com/wp-content/uploads/2019/02/2-5.png" alt="2. Install PHP and some of their modules" width="1365" height="463" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-5.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/2-5-300x102.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-5-768x261.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-5-1024x347.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/2-5-696x236.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/2-5-1068x362.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/2-5-1238x420.png 1238w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10603" class="wp-caption-text">2. Install PHP and some of their modules</figcaption></figure>
<p>Verify the installed PHP version with the following command.</p>
<pre class="">:~$ php -v</pre>
<figure id="attachment_10604" aria-describedby="caption-attachment-10604" style="width: 787px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10604" src="https://www.osradar.com/wp-content/uploads/2019/02/3-5.png" alt="3.- PHP version" width="787" height="169" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-5.png 787w, https://www.osradar.com/wp-content/uploads/2019/02/3-5-300x64.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-5-768x165.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-5-696x149.png 696w" sizes="(max-width: 787px) 100vw, 787px" /><figcaption id="caption-attachment-10604" class="wp-caption-text">3.- PHP version</figcaption></figure>
<p>Then, it is a good idea to test the Apache and PHP installation. To do it, create a new file called test.php on the /var/www/html/ folder.</p>
<pre class="">:~$ sudo nano /var/www/html/test.php</pre>
<p>Now, add the following:</p>
<pre class="">&lt;?php
phpinfo();
?&gt;</pre>
<figure id="attachment_10605" aria-describedby="caption-attachment-10605" style="width: 896px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10605" src="https://www.osradar.com/wp-content/uploads/2019/02/4-4.png" alt="4.- Creating a new file to test PHP" width="896" height="232" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4-4.png 896w, https://www.osradar.com/wp-content/uploads/2019/02/4-4-300x78.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-4-768x199.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-4-696x180.png 696w" sizes="(max-width: 896px) 100vw, 896px" /><figcaption id="caption-attachment-10605" class="wp-caption-text">4.- Creating a new file to test PHP</figcaption></figure>
<p>Press CTRL + O to save the changes and CTRL + X to close the editor.</p>
<p>After that, restart the Apache web server service.</p>
<pre class="">:~$ sudo systemctl restart apache2</pre>
<p>Finally, open your web browser and go to http://SERVER_IP/test.php.</p>
<figure id="attachment_10606" aria-describedby="caption-attachment-10606" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10606" src="https://www.osradar.com/wp-content/uploads/2019/02/5-5.png" alt="5.- PHP info" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/5-5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-5-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-5-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/5-5-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/5-5-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-5-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/5-5-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10606" class="wp-caption-text">5.- PHP info</figcaption></figure>
<p>If the PHP information is shown in the browser as in the previous image. Then everything is fine.</p>
<h2>2.- Install a Database manager</h2>
<p>As I said before, MyWebSQL is compatible with several database handlers. In this section, you can install the one you want. However, for this example, I will use MySQL which is perfectly compatible with MyWebSQL so let&#8217;s go for it.</p>
<pre class="">:~$ sudo apt install mysql-server</pre>
<figure id="attachment_10617" aria-describedby="caption-attachment-10617" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-10617 size-full" src="https://www.osradar.com/wp-content/uploads/2019/02/1222.png" alt="6.- Install MariaDB" width="1365" height="456" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1222.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/1222-300x100.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1222-768x257.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1222-1024x342.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/1222-696x233.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/1222-1068x357.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/1222-1257x420.png 1257w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10617" class="wp-caption-text">6.- Install MariaDB</figcaption></figure>
<p>Now, it is time to set a new <a href="https://www.osradar.com/reset-the-mysql-mariadb-root-password/" rel="noopener">root</a> password for MySQL. You can do it using the <code>mysql_secure_installation</code> script.</p>
<pre class="">:~$ sudo mysql_secure_installation</pre>
<figure id="attachment_10618" aria-describedby="caption-attachment-10618" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-10618 size-full" src="https://www.osradar.com/wp-content/uploads/2019/02/13333.png" alt="7.- Using mysql_secure_installation" width="1365" height="680" srcset="https://www.osradar.com/wp-content/uploads/2019/02/13333.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/13333-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/13333-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/13333-1024x510.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/13333-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/02/13333-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/13333-1068x532.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/13333-843x420.png 843w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10618" class="wp-caption-text">7.- Using mysql_secure_installation</figcaption></figure>
<p>Now, answer the question like the following way:</p>
<pre class="">Change root password? Y
Remove anonymous users? Y
Disallow root login remotely? Y
Remove test database and access to it?  Y
Reload privilege tables now?  Y</pre>
<p>So, that is all for MySQL.</p>
<p>Next, create a new user for MyWebSQL. You can use the user and password you want.</p>
<pre class="">:~$ sudo mysql -u root -p
USE mysql;
GRANT ALL PRIVILEGES ON *.* TO 'angelo'@'localhost' IDENTIFIED BY 'Angelo12.,';
FLUSH PRIVILEGES;
exit;</pre>
<h2>3. Install MyWebSQL on Ubuntu 18.04</h2>
<p>now it&#8217;s time has come to install MyWebSQL, first, you need to download it. For now, the last stable version of the program is 3.7. So, run this command:</p>
<pre class="">:~$ wget https://newcontinuum.dl.sourceforge.net/project/mywebsql/stable/mywebsql-3.7.zip</pre>
<figure id="attachment_10609" aria-describedby="caption-attachment-10609" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10609" src="https://www.osradar.com/wp-content/uploads/2019/02/8-5.png" alt="8.- Download and install Mywebsql on Ubuntu" width="1365" height="275" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8-5.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/8-5-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-5-768x155.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-5-1024x206.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/8-5-696x140.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/8-5-1068x215.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10609" class="wp-caption-text">8.- Download and install Mywebsql on Ubuntu</figcaption></figure>
<p>Next, decompress it on the Apache root folder.</p>
<pre class="">:~$ sudo unzip mywebsql-3.7.zip -d /var/www/html</pre>
<figure id="attachment_10610" aria-describedby="caption-attachment-10610" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10610" src="https://www.osradar.com/wp-content/uploads/2019/02/9-5.png" alt="9.- Decompress the folder" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/9-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/9-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/9-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/9-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10610" class="wp-caption-text">9.- Decompress the folder</figcaption></figure>
<p>After that, set the correct permissions.</p>
<pre class="">:~$ sudo chown -R www-data:www-data /var/www/html/mywebsql/
:~$ sudo chmod -R 775 /var/www/html/mywebsql/</pre>
<figure id="attachment_10611" aria-describedby="caption-attachment-10611" style="width: 859px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10611" src="https://www.osradar.com/wp-content/uploads/2019/02/10-5.png" alt="10.- Set the correct permissions" width="859" height="123" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10-5.png 859w, https://www.osradar.com/wp-content/uploads/2019/02/10-5-300x43.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/10-5-768x110.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/10-5-696x100.png 696w" sizes="(max-width: 859px) 100vw, 859px" /><figcaption id="caption-attachment-10611" class="wp-caption-text">10.- Set the correct permissions</figcaption></figure>
<p>Now, complete the installation from the web interface. Open the web browser and go to <code>http://SERVER_IP/mywebsql/install.php</code></p>
<figure id="attachment_10619" aria-describedby="caption-attachment-10619" style="width: 732px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10619" src="https://www.osradar.com/wp-content/uploads/2019/02/11-2.png" alt="11.- Installation" width="732" height="674" srcset="https://www.osradar.com/wp-content/uploads/2019/02/11-2.png 732w, https://www.osradar.com/wp-content/uploads/2019/02/11-2-300x276.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/11-2-696x641.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/11-2-456x420.png 456w" sizes="(max-width: 732px) 100vw, 732px" /><figcaption id="caption-attachment-10619" class="wp-caption-text">11.- Installation</figcaption></figure>
<p>After that, access to the MariaDB instance using the right credentials.</p>
<figure id="attachment_10620" aria-describedby="caption-attachment-10620" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10620" src="https://www.osradar.com/wp-content/uploads/2019/02/14-3.png" alt="Log in" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/14-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/14-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/14-3-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/14-3-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/14-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/14-3-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/14-3-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/14-3-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10620" class="wp-caption-text">Log in</figcaption></figure>
<p>Then, you will see the main screen of the application.</p>
<figure id="attachment_10621" aria-describedby="caption-attachment-10621" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10621" src="https://www.osradar.com/wp-content/uploads/2019/02/15-3.png" alt="MyWebSQL" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/15-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/15-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/15-3-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/15-3-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/15-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/15-3-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/15-3-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/15-3-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10621" class="wp-caption-text">MyWebSQL</figcaption></figure>
<p>So, that is it.</p>
<h2>Conclusion</h2>
<p>MyWebSQL is a great help tool for data management using MySQL, MariaDB, PostgreSQL or SQLite. It&#8217;s a great alternative to PHPMyAdmin and honestly, I like it better.</p>
<p>You can also read our post about <a href="https://www.osradar.com/install-mywebsql-on-centos-7/" rel="noopener">installing MyWebSQL on CentOS 7.</a></p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mywebsql-on-ubuntu-18-04/">Install MyWebSQL 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-mywebsql-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Moodle on CentOS 7?</title>
		<link>https://www.osradar.com/install-moodle-centos-7/</link>
					<comments>https://www.osradar.com/install-moodle-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 10 Dec 2018 02:33:20 +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[learning]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8144</guid>

					<description><![CDATA[<p>Thanks to the internet and computers in general, education is now better. In addition, it allows arriving in a faster way and of better quality. So, if you are a teacher or run an education center, then this post on how to install Moodle on CentOS 7 is ideal for you. Moodle is a learning [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-moodle-centos-7/">How to Install Moodle 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>Thanks to the internet and computers in general, education is now better. In addition, it allows arriving in a faster way and of better quality. So, if you are a teacher or run an education center, then this post on how to install Moodle on CentOS 7 is ideal for you.</p>
<p><a href="https://moodle.org/" rel="noopener">Moodle</a> is a learning management system (LMS). It is quite popular in the world and is the main online learning tool for many educational institutions. It is written in PHP and supports several web servers such as Apache and Ngnix.</p>
<p>One of its main advantages is that it is open source and has a very active user and developer community that allows you to keep track of the development and its news.</p>
<p>So, let&#8217;s install Moodle on <a href="https://www.osradar.com/centos-7-1810-available/" rel="noopener">CentOS 7</a>.</p>
<h1>0. Prerequisites</h1>
<p>Before starting you should do a few things so that there are no problems during the installation. First, install some necessary packages:</p>
<pre class="">:~# yum install nano wget yum-utils</pre>
<p>Next, disable SELinux:</p>
<pre class="">:~# nano /etc/selinux/config</pre>
<p>And change SELinux to disable:</p>
<figure id="attachment_8166" aria-describedby="caption-attachment-8166" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8166" src="https://www.osradar.com/wp-content/uploads/2018/12/18-111.png" alt="0.- Disabling SELINUX" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/18-111.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/18-111-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/18-111-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/18-111-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/18-111-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/18-111-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8166" class="wp-caption-text">0.- Disabling SELinux</figcaption></figure>
<p>Finally, reboot the system.</p>
<h1>1. Upgrade the system</h1>
<p>First, you need to update the system. It is really simple to do and with this you guarantee to have the system with the security patches installed and working.</p>
<pre class="">:~$ su
:~# yum update</pre>
<figure id="attachment_8145" aria-describedby="caption-attachment-8145" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8145" src="https://www.osradar.com/wp-content/uploads/2018/12/1-6.png" alt="1.- Upgrade the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/1-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/1-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/1-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/1-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/1-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/1-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8145" class="wp-caption-text">1.- Upgrade the system</figcaption></figure>
<p>Now, you can go on.</p>
<h1>2. Install Apache Web server</h1>
<p>As I said before, Moodle is compatible with several web servers, however, I will use Apache&#8217;s <code>httpd</code>. It&#8217;s a pretty well known server and it&#8217;s really easy to use.</p>
<p>To install it run this command.</p>
<pre class="">:~# yum install httpd</pre>
<figure id="attachment_8146" aria-describedby="caption-attachment-8146" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8146" src="https://www.osradar.com/wp-content/uploads/2018/12/2-6.png" alt="2.- Installing Apache web server" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/2-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/2-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/2-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/2-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/2-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/2-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8146" class="wp-caption-text">2.- Installing Apache web server</figcaption></figure>
<p>Now, enable and start the service.</p>
<pre class="">:~# systemctl enable httpd
:~# systemctl start httpd</pre>
<figure id="attachment_8147" aria-describedby="caption-attachment-8147" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8147" src="https://www.osradar.com/wp-content/uploads/2018/12/3-6.png" alt="3.- Enabling Apache web server service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/3-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/3-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/3-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/3-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/3-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/3-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8147" class="wp-caption-text">3.- Enabling Apache web server service</figcaption></figure>
<p>Add the rule for the firewall.</p>
<pre class="">:~# firewall-cmd --zone=public --add-service=http</pre>
<p>And that&#8217;s all for Apache.</p>
<h1>2. Install PHP</h1>
<p>PHP is a programming language for web applications. Moodle is written in this fantastic language so you have to install it.</p>
<p>We only have one detail, the version that comes in the official CentOS 7 repositories is very old and Moodle requires something newer. So I will use an external repository to install <a href="https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/" rel="noopener">PHP</a> 7.1.</p>
<pre class="">:~# yum install epel-release
:~# rpm -Uhv https://rpms.remirepo.net/enterprise/remi-release-7.rpm
:~# yum-config-manager --enable remi-php71</pre>
<figure id="attachment_8148" aria-describedby="caption-attachment-8148" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8148" src="https://www.osradar.com/wp-content/uploads/2018/12/4-6.png" alt="4.- Adding an external repository to install PHP 7.1" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/4-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/4-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/4-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/4-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/4-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/4-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8148" class="wp-caption-text">4.- Adding an external repository to install PHP 7.1</figcaption></figure>
<figure id="attachment_8149" aria-describedby="caption-attachment-8149" style="width: 950px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8149" src="https://www.osradar.com/wp-content/uploads/2018/12/5-6.png" alt="5.- Adding the external repository" width="950" height="112" srcset="https://www.osradar.com/wp-content/uploads/2018/12/5-6.png 950w, https://www.osradar.com/wp-content/uploads/2018/12/5-6-300x35.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/5-6-768x91.png 768w" sizes="(max-width: 950px) 100vw, 950px" /><figcaption id="caption-attachment-8149" class="wp-caption-text">5.- Adding the external repository</figcaption></figure>
<p>Then, install PHP 7.1</p>
<pre class="">:~# yum install php php-common php-intl php-zip php-soap php-xmlrpc php-opcache php-mbstring php-gd php-curl php-mysql php-xml</pre>
<figure id="attachment_8150" aria-describedby="caption-attachment-8150" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8150" src="https://www.osradar.com/wp-content/uploads/2018/12/6-6.png" alt="6.- Install PHP 7.1" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/6-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/6-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/6-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/6-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/6-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/6-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8150" class="wp-caption-text">6.- Install PHP 7.1</figcaption></figure>
<p>So, restart Apache.</p>
<pre class="">:~# systemctl restart httpd</pre>
<p>PHP is correctly installed.</p>
<h1>3. Install and configure MariaDB</h1>
<p>The next step is to install and configure <a href="https://www.osradar.com/password-hashing-mysql-mariadb/" rel="noopener">MariaDB</a>. Moodle requires a database manager. In this case I will use MariaDB, an open source and easy to install MySQL fork.</p>
<pre class="">:~# yum install mariadb mariadb-server</pre>
<figure id="attachment_8151" aria-describedby="caption-attachment-8151" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8151" src="https://www.osradar.com/wp-content/uploads/2018/12/7-6.png" alt="7.- Installing MariaDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/7-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/7-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/7-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/7-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/7-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/7-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8151" class="wp-caption-text">7.- Installing MariaDB</figcaption></figure>
<p>Now, you need to enable and start the service.</p>
<pre class="">:~# systemctl enable mariadb
:~# systemctl start mariadb</pre>
<figure id="attachment_8152" aria-describedby="caption-attachment-8152" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8152" src="https://www.osradar.com/wp-content/uploads/2018/12/8-6.png" alt="8.- Working with MariaDB service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/8-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/8-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/8-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/8-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/8-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/8-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8152" class="wp-caption-text">8.- Working with MariaDB service</figcaption></figure>
<p>Then, it is necessary to define the root password for MariaDB. This is easy to do thanks to the <code>mysql_secure_installation</code> script.</p>
<pre class="">:~# mysql_secure_installation</pre>
<figure id="attachment_8153" aria-describedby="caption-attachment-8153" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8153" src="https://www.osradar.com/wp-content/uploads/2018/12/9-5.png" alt="9.- using mysql_secure_installation script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/9-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/9-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/9-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/9-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/9-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/9-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8153" class="wp-caption-text">9.- using mysql_secure_installation script</figcaption></figure>
<p>In this section, you will be asked other questions concerning the configuration of MariaDB. These are the questions and so I have answered. So, you can do it as you wish. They are basic configurations.</p>
<pre class="">Set root password? [Y/n] Y
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] N
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y</pre>
<p>So, the next step is to create the Moodle database.</p>
<pre class="">:~# mysql -u root -p
CREATE DATABASE moodledb;
GRANT ALL PRIVILEGES ON moodledb.* TO 'moodleuser'@'localhost' IDENTIFIED BY 'moodlepss';
FLUSH PRIVILEGES;
exit;</pre>
<figure id="attachment_8154" aria-describedby="caption-attachment-8154" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8154" src="https://www.osradar.com/wp-content/uploads/2018/12/10-5.png" alt="10.- Creating the database and user for Moodle" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/10-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/10-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/10-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/10-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/10-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/10-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8154" class="wp-caption-text">10.- Creating the database and user for Moodle</figcaption></figure>
<p>Finally, you need to edit the file <code>/etc/my.cnf.d/server.cnf</code> and add the following.</p>
<pre class="">:~# yum install nano
:~# nano /etc/my.cnf.d/server.cnf</pre>
<pre>[client]
default-character-set = utf8mb4

[mysqld]
innodb_file_format = Barracuda
innodb_file_per_table = 1
innodb_large_prefix
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
skip-character-set-client-handshake

[mysql]
default-character-set = utf8mb4
</pre>
<figure id="attachment_8155" aria-describedby="caption-attachment-8155" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8155" src="https://www.osradar.com/wp-content/uploads/2018/12/11-6.png" alt="11.- Editing a MariaDB configuration file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/11-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/11-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/11-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/11-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/11-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/11-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8155" class="wp-caption-text">11.- Editing a MariaDB configuration file</figcaption></figure>
<p>For these changes to take effect, restart MariaDB.</p>
<pre class="">:~# systemctl restart mariadb</pre>
<h1>4.- Install Moodle</h1>
<p>It&#8217;s finally time to install Moodle. First, you have to download it.</p>
<pre class="">:~# cd /tmp/
:~# wget https://download.moodle.org/download.php/direct/stable35/moodle-latest-35.tgz -O moodle-latest.tgz</pre>
<figure id="attachment_8156" aria-describedby="caption-attachment-8156" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8156" src="https://www.osradar.com/wp-content/uploads/2018/12/12-3.png" alt="12.- Download and install Moodle" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/12-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/12-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/12-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/12-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/12-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/12-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8156" class="wp-caption-text">12.- Download and install Moodle</figcaption></figure>
<p>Then, decompress it.</p>
<pre class="">:~# tar -xvzf moodle-latest.tgz</pre>
<p>Next, move the created folder to <code>/var/www/html</code>.</p>
<pre class="">:~# mv moodle /var/www/html/</pre>
<p>Now it is necessary to change the owner of the folder. This to avoid permission problems.</p>
<pre class="">:~# chown -R apache:apache /var/www/html/</pre>
<figure id="attachment_8157" aria-describedby="caption-attachment-8157" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8157" src="https://www.osradar.com/wp-content/uploads/2018/12/13-3.png" alt="13.- Changing the owner of the folder" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/13-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/13-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/13-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/13-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/13-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/13-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8157" class="wp-caption-text">13.- Changing the owner of the folder</figcaption></figure>
<h1>5. Create a virtual host for Moodle</h1>
<p>You need to create a virtual host for Moodle. It&#8217;s simple. Run this command and add the following.</p>
<pre class="">:~# nano /etc/httpd/conf.d/moodle.conf</pre>
<figure id="attachment_8160" aria-describedby="caption-attachment-8160" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8160" src="https://www.osradar.com/wp-content/uploads/2018/12/16-1.png" alt="16.- Creating a virtual host for mooodle" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/16-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/16-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/16-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/16-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/16-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/16-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8160" class="wp-caption-text">14.- Creating a virtual host for moodle</figcaption></figure>
<p>Then, restart Apache.</p>
<pre class="">:~# systemctl restart httpd</pre>
<h1>6. Complete the Moodle installation from CLI</h1>
<p>Now is the time to complete the installation from CLI. To do this, run:</p>
<pre class=""> :~# /usr/bin/php /var/www/html/moodle/admin/cli/install.php</pre>
<figure id="attachment_8161" aria-describedby="caption-attachment-8161" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8161" src="https://www.osradar.com/wp-content/uploads/2018/12/14-4.png" alt="15.- Completing the Moodle installation from CLI" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/14-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/14-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/14-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/14-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/14-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/14-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8161" class="wp-caption-text">15.- Completing the Moodle installation from CLI</figcaption></figure>
<p>During the execution of the script, you will first be asked for the language for the installation. The rest are database parameters and paths. See the images for reference.</p>
<figure id="attachment_8164" aria-describedby="caption-attachment-8164" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8164" src="https://www.osradar.com/wp-content/uploads/2018/12/15-1111.png" alt="15.- Completing the installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/15-1111.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/15-1111-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/15-1111-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/15-1111-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/15-1111-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/15-1111-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8164" class="wp-caption-text">16.- Completing the installation</figcaption></figure>
<p><em>Note: It is not mysqli. It is mariadb option on database driver.</em></p>
<p>You have also to set the admin account.</p>
<figure id="attachment_8163" aria-describedby="caption-attachment-8163" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8163" src="https://www.osradar.com/wp-content/uploads/2018/12/16-1111.png" alt="16.- Completing the installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/16-1111.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/16-1111-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/16-1111-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/16-1111-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/16-1111-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/16-1111-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8163" class="wp-caption-text">17.- Completing the installation</figcaption></figure>
<p>Finally, you will see this.</p>
<figure id="attachment_8169" aria-describedby="caption-attachment-8169" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-8169 size-full" src="https://www.osradar.com/wp-content/uploads/2018/12/2-11111.png" alt="18.- Installation finished" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/2-11111.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/2-11111-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/2-11111-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/2-11111-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/2-11111-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/2-11111-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8169" class="wp-caption-text">18.- Installation finished</figcaption></figure>
<p>If you make a mistake, you can continue. In the end, you delete the /var/www/html/moodle/config.php file and run the installer again.</p>
<p>Next, give permission to the config file.</p>
<pre class="">:~# chmod o+r /var/www/html/moodle/config.php</pre>
<p>And restart apache.</p>
<pre class="">:~# systemctl restart httpd</pre>
<p>Now, go to your moodle directory on your web browser.</p>
<p>Next, log in. Go to <code>http://your-domain/login</code>.</p>
<figure id="attachment_8171" aria-describedby="caption-attachment-8171" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8171" src="https://www.osradar.com/wp-content/uploads/2018/12/21-122.png" alt="21.- Moodle Log in page" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/12/21-122.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/21-122-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/21-122-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/21-122-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/21-122-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/12/21-122-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/21-122-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8171" class="wp-caption-text">19.- Moodle Login page</figcaption></figure>
<p>And finally, you will see this.</p>
<figure id="attachment_8172" aria-describedby="caption-attachment-8172" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8172" src="https://www.osradar.com/wp-content/uploads/2018/12/22.png" alt="20.- Admin page" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/12/22.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/22-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/22-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/22-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/22-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/12/22-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/22-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8172" class="wp-caption-text">20.- Admin page</figcaption></figure>
<p>And that&#8217;s it.</p>
<h1>Conclusion</h1>
<p>Now that you know how to install Moodle you can start creating your own learning platforms.</p>
<p>One piece of advice I give you is to read through each step carefully.</p>
<p>Please share this article on your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-moodle-centos-7/">How to Install Moodle 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-moodle-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
