<?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>Open Classifieds Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/open-classifieds/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 24 Jun 2019 16:08:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How to install Open Classifieds on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-open-classifieds-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-open-classifieds-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 27 Jun 2019 01:07:05 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[classifieds]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[Open Classifieds]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12498</guid>

					<description><![CDATA[<p>On many occasions, it is necessary to have a classified platform. Ideal if we have an SME and need the publication of some commercial requirements that essence is classified. in the light of this, Linux each time has many applications oriented to commercial productivity. In other words, there is an application that does this to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-open-classifieds-on-ubuntu-18-04/">How to install Open Classifieds 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>On many occasions, it is necessary to have a classified platform. Ideal if we have an SME and need the publication of some commercial requirements that essence is classified. in the light of this, Linux each time has many applications oriented to commercial productivity. In other words, there is an application that does this to you without much effort on our server. In this post, I will show you how to install Open Classifieds on Ubuntu 18.04.</p>
<p><a href="https://yclas.com/" rel="noopener noreferrer">Open Classifieds</a> is the form name of Yclas. It is an application written using PHP language and requires a database manager that allows you to deploy a classified website for our company. One of the great advantages of Open Classifieds is that it is quite light and fast but this does not take away its power. Today the application is a reference in its area. On the other hand, it is open source which makes it possible for us to examine your source code for potential vulnerabilities.</p>
<p>So, let us install Open Classifieds on Ubuntu.</p>
<h2>Install Open Classifieds on Ubuntu 18.04</h2>
<p>We will now begin the installation process. For this, we require <a href="https://www.osradar.com/tag/apache/" rel="noopener noreferrer">Apache</a> web server, <a href="https://www.osradar.com/tag/mariadb/" rel="noopener noreferrer">MariaDB</a> and <a href="https://www.osradar.com/tag/php/" rel="noopener noreferrer">PHP</a>. Then, we will download the Open Classifieds installer.</p>
<h3>1.- Install Apache2 and PHP 7.2</h3>
<p>Open Classifieds requires a web server to run. It is logical if we take into account that it is a web application. At the same time, we will have to install PHP for its running. We can do this with the following command:</p>
<pre>:~$ sudo apt install apache2 php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mysql php7.2-gmp php7.2-curl php7.2-intl php7.2-mbstring php7.2-xmlrpc php7.2-gd php7.2-soap php7.2-xml php7.2-cli php7.2-zip</pre>
<figure id="attachment_12500" aria-describedby="caption-attachment-12500" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12500" src="https://www.osradar.com/wp-content/uploads/2019/06/1-15.png" alt="1.- Install Apache and PHP on Ubuntu 18.04" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/1-15.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/1-15-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/1-15-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/1-15-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/1-15-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/1-15-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/1-15-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12500" class="wp-caption-text">1.- Install Apache and PHP on Ubuntu 18.04</figcaption></figure>
<p>At the end of the installation, it is necessary to modify some PHP configuration parameters. This to ensure that the application runs correctly.</p>
<pre>:~$ sudo nano /etc/php/7.2/apache2/php.ini</pre>
<p>In this file, you change the following parameters.</p>
<pre>file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 360</pre>
<p>Note: You can use CTRL + W to find the lines quickly.</p>
<p>Next, press CTRL + O to save the changes and CTRL + X to close it.</p>
<p>Then, it is time to test PHP. To do it, create a new file on <code>/var/www/html/</code> called <code>test.php</code> and add the following.</p>
<pre>:~$ sudo nano /var/www/html/test.php
&lt;?php
phpinfo();
?&gt;</pre>
<figure id="attachment_12501" aria-describedby="caption-attachment-12501" style="width: 808px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12501" src="https://www.osradar.com/wp-content/uploads/2019/06/2-12.png" alt="2.- PHP info" width="808" height="144" srcset="https://www.osradar.com/wp-content/uploads/2019/06/2-12.png 808w, https://www.osradar.com/wp-content/uploads/2019/06/2-12-300x53.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/2-12-768x137.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/2-12-696x124.png 696w" sizes="(max-width: 808px) 100vw, 808px" /><figcaption id="caption-attachment-12501" class="wp-caption-text">2.- PHP info</figcaption></figure>
<p>Finally, open the file using the web browser. http://your-server/test.php</p>
<figure id="attachment_12502" aria-describedby="caption-attachment-12502" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12502" src="https://www.osradar.com/wp-content/uploads/2019/06/3-9.png" alt="3.- PHP working on Ubuntu 18.04" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/3-9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/3-9-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/3-9-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/3-9-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/3-9-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/3-9-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/3-9-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/3-9-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12502" class="wp-caption-text">3.- PHP working on Ubuntu 18.04</figcaption></figure>
<p>So, PHP is working.</p>
<h3>2.- Install MariaDB</h3>
<p>MariaDB is a MySQL fork. Practically 100% compatible but with better community support and by Linux distributions today.</p>
<pre>:~$ sudo apt install mariadb-server</pre>
<figure id="attachment_12503" aria-describedby="caption-attachment-12503" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12503" src="https://www.osradar.com/wp-content/uploads/2019/06/4-7.png" alt="4.- Install MariaBD on Ubuntu 18.04" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/4-7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/4-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/4-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/4-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/4-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/4-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/4-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12503" class="wp-caption-text">4.- Install MariaDB on Ubuntu 18.04</figcaption></figure>
<p>Next, set the root password for MariaDB.</p>
<pre>:~$ sudo mysql_secure_installation</pre>
<p>However, not only the root password can be defined, but also other settings as you can see in the image.</p>
<figure id="attachment_12504" aria-describedby="caption-attachment-12504" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12504" src="https://www.osradar.com/wp-content/uploads/2019/06/5-5.png" alt="5.- Using mysql_secure_installation script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/5-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/5-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/5-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/5-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/5-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/5-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/5-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12504" class="wp-caption-text">5.- Using mysql_secure_installation script</figcaption></figure>
<p>Now you have to create the user and the database dedicated to Open Classifieds. To do this we must enter the MariaDB console.</p>
<pre>:~$ sudo mysql -u root -p
&gt; CREATE DATABASE openclassifieds;
&gt; GRANT ALL PRIVILEGES ON openclassifieds.* TO 'openuser'@'localhost' IDENTIFIED BY 'openpss';
&gt; FLUSH PRIVILEGES;
exit;</pre>
<figure id="attachment_12505" aria-describedby="caption-attachment-12505" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12505" src="https://www.osradar.com/wp-content/uploads/2019/06/6-4.png" alt="6.- Creating the user and database for Open Classifieds" width="1365" height="419" srcset="https://www.osradar.com/wp-content/uploads/2019/06/6-4.png 1365w, https://www.osradar.com/wp-content/uploads/2019/06/6-4-300x92.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/6-4-768x236.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/6-4-1024x314.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/6-4-696x214.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/6-4-1068x328.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12505" class="wp-caption-text">6.- Creating the user and database for Open Classifieds</figcaption></figure>
<p>Now, we can install Open Classifieds.</p>
<h3>3.- Install Open Classifieds (I)</h3>
<p>Now, we can install the free version of the application. These features are enough for most users.</p>
<pre>:~$ cd /tmp/
:~$ wget https://github.com/yclas/yclas/archive/master.zip</pre>
<p>&nbsp;</p>
<figure id="attachment_12506" aria-describedby="caption-attachment-12506" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12506" src="https://www.osradar.com/wp-content/uploads/2019/06/7-3.png" alt="7.- Download and install Open Classifieds on Ubuntu 18.04" width="1365" height="376" srcset="https://www.osradar.com/wp-content/uploads/2019/06/7-3.png 1365w, https://www.osradar.com/wp-content/uploads/2019/06/7-3-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/7-3-768x212.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/7-3-1024x282.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/7-3-696x192.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/7-3-1068x294.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12506" class="wp-caption-text">7.- Download and install Open Classifieds on Ubuntu 18.04</figcaption></figure>
<p>Then, decompress it. And move it to the Apache folder.</p>
<p>&nbsp;</p>
<pre>:~$ sudo apt install unzip -y
:~$ unzip master.zip
:~$ sudo mv yclas-master /var/www/html/yclas</pre>
<p>After that, you have to set the right permissions to the application.</p>
<pre>:~$ sudo chown -R www-data:www-data /var/www/html/yclas/
:~$ sudo chmod -R 755 /var/www/html/yclas/</pre>
<p>Now, we need to create a new virtual host for Open Classifieds.</p>
<pre>:~$ sudo nano /etc/apache2/sites-available/yclas.conf</pre>
<p>And add the following:</p>
<pre>&lt;VirtualHost&gt;
ServerAdmin admin@your-domain.com
DocumentRoot /var/www/html/yclas
ServerName your-domain.com
ServerAlias www.your-domain.com
     &lt;Directory /var/www/html/yclas/&gt;
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     &lt;/Directory&gt;

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined
&lt;/VirtualHost&gt;</pre>
<figure id="attachment_12507" aria-describedby="caption-attachment-12507" style="width: 893px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12507" src="https://www.osradar.com/wp-content/uploads/2019/06/8-3.png" alt="8.- Creating a new virtualhost" width="893" height="348" srcset="https://www.osradar.com/wp-content/uploads/2019/06/8-3.png 893w, https://www.osradar.com/wp-content/uploads/2019/06/8-3-300x117.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/8-3-768x299.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/8-3-696x271.png 696w" sizes="(max-width: 893px) 100vw, 893px" /><figcaption id="caption-attachment-12507" class="wp-caption-text">8.- Creating a new virtualhost</figcaption></figure>
<p>Do not forget to replace &#8220;your-domain&#8221; with yours. Then, save the changes and close the file.</p>
<p>After that, enable the new virtualhost, the Apache rewrite module and restart the Apache service.</p>
<pre>:~$ sudo a2ensite yclas
:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2</pre>
<p>Now, complete the installation using the web interface.</p>
<h3>4.- Install Open Classified using the web interface (II)</h3>
<p>Open your web browser and go to your server to complete the installation. First, the installer will check for the requirements.</p>
<figure id="attachment_12508" aria-describedby="caption-attachment-12508" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12508" src="https://www.osradar.com/wp-content/uploads/2019/06/9-2.png" alt="9.- Install Open Classified on Ubuntu 18.04" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/9-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/9-2-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/9-2-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/9-2-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/9-2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/9-2-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/9-2-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/9-2-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12508" class="wp-caption-text">9.- Install Open Classified on Ubuntu 18.04</figcaption></figure>
<p>Then, type the MariaDB credentials.</p>
<figure id="attachment_12509" aria-describedby="caption-attachment-12509" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12509" src="https://www.osradar.com/wp-content/uploads/2019/06/10-1.png" alt="10.- Type your MariaDB credentials" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/10-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/10-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/10-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/10-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/10-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/10-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/10-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/10-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12509" class="wp-caption-text">10.- Type your MariaDB credentials</figcaption></figure>
<p>Now, configure the site.</p>
<figure id="attachment_12510" aria-describedby="caption-attachment-12510" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12510" src="https://www.osradar.com/wp-content/uploads/2019/06/11-1.png" alt="11.- Configuring the new site" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/11-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/11-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/11-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/11-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/11-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/11-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/11-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/11-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12510" class="wp-caption-text">11.- Configuring the new site</figcaption></figure>
<p>At the end of the installation, you will be able to visit the site and log in.</p>
<figure id="attachment_12511" aria-describedby="caption-attachment-12511" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12511" src="https://www.osradar.com/wp-content/uploads/2019/06/12-1.png" alt="12.- Installation complete" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/12-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/12-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/12-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/12-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/12-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/12-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/12-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/12-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12511" class="wp-caption-text">12.- Installation complete</figcaption></figure>
<p>So, you can check your new site.</p>
<figure id="attachment_12512" aria-describedby="caption-attachment-12512" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12512" src="https://www.osradar.com/wp-content/uploads/2019/06/13-1.png" alt="13.- Open Classifieds is correctly installed" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/13-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/13-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/13-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/13-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/13-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/13-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/13-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/13-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12512" class="wp-caption-text">13.- Open Classifieds is correctly installed</figcaption></figure>
<p>So, enjoy it.</p>
<h2>Conclusion</h2>
<p>Open Classifieds is a great tool aimed at providing solutions to companies of many sizes. However, the installation is not complicated at all and we can take advantage of the application to deploy our classified page quickly and easily.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-open-classifieds-on-ubuntu-18-04/">How to install Open Classifieds 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-open-classifieds-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
