How to Install Osclass – Open Source Classifieds Script

Osclass is Open Source Classified Script. It helps you to create your own site with real estate ads, job listings, car classifieds, rentals, or just about anything you can imagine. You can also start a website like olx.com, crigslist.org.

It is built using MySQL and PHP. There is no need to write a single line of code. It is fully configurable and has good themes and plugins. Script and basic Themes, Plugins are free to use, but if you need advanced features and customization, you need to purchase those from the official marketplace.

If you quickly want to check it, there is a live demo available on the site. Click on Demo Link and just select which option you want to see. Available options are General, Jobs, real estate and cars.

Osclass Features

Below are some of the features of this script. Refer this link for details.

  • Payment options
  • Worldwide locations
  • Watermark
  • Alerts
  • Custom Fields
  • Static pages
  • Add categories and subcategories
  • Add your banners
  • Google Maps integrated
  • Publish video ads
  • Choose currency
  • Responsive for mobiles and tablets

 

In this article, I will show you how to install it on a local desktop (Windows). This will help you learn and play with it before moving to production on Web Host.

Pre-Requisite

This tutorial assumes basic working knowledge of Windows Operating system.

Software/Tools

  • Microsoft Windows 8.1/10 32/64 Bit Operating System
  • XAMPP v3.2.2 – Free Apache, MySQL and PHP Distribution
  • Osclass v3.7.4

 

Note: We are using XAMPP, you can use any other Apache distribution like WAMP.

Download Osclass

Click this link to download Osclass. There are 2 options on this page. You can directly host on A2 web hosting(left side) or Do it yourself( Right Side). We are going to choose to Do it a Yourself option.

download osclass

It is a free and open source. You can donate some amount to support it before downloading. It is not mandatory. Just move the slider to $ 0 and click Download Button. It should download at your local desktop within seconds.

At the time of writing this article, version is Osclass v3.7.4. Below are minimum requirements.

  • PHP version: 5.6 or newer
  • MySQL database (or access to create one)
  • MySQLi module for PHP
  • GD module for PHP

 

There should not be any problem if you have latest XAMPP stack installed on your Windows Machine.

Installation

Below is the step by step instructions.

Start Apache and MySQL Service

Apache and MySQL services should be running. This is pre-requisite before starting the installation. Go to XAMP control panel and start respective services. Make sure PID(s) and Port(s) are populated and module name background turns green.

Create MySQL Database and User

Open PHPMyAdmin and Create MYSQL Database osclass and user osclass. Make sure you provide all necessary privilege to the user on the database, else you may get this error osclass database server is not available.

Begin Installation

Create a folder classifieds in C:\xampp\htdocs\ and extract downloaded file to there.  You should find below file structure under C:\xampp\htdocs\classifieds\ folder.

  • oc-admin
  • oc-content
  • oc-include
  • CHANGELOG.txt
  • config-sample.php
  • favicon.ico
  • index.php
  • licenses.txt
  • oc-load.php

 

Open a web browser and enter URL http://localhost/classifieds/index.php. This starts the installation. If you get an error “There doesn’t seem to be config.php file. Osclass isn’t installed. Need more help?” , then enter URL http://localhost/classifieds/oc-includes/osclass/install.php. The installer does a quick requirement check. Click on Run the Install.

osclass install requirement check and welcome

On next screen enter database information. Enter Host, Database Name, Username, Password and Table Prefix. Table prefix by default is oc_, but if you have multiple installations in the same database, change it to something else.

We already created a database, but if you miss that step. You can create it here. Just check Create DB option and enter Database Admin username and password.

osclass enter database information

Enter Admin User, Contact Information and Location and click next. This is website admin user and not the database one.

osclass enter target information

Within seconds, it gets installed on your desktop and you get the confirmation message. Click finish and go to administration panel button.

osclass installation completed

Enter Admin User Name and password in next screen. Post authentication you will and on Admin page. Use this page to configure Listings, Appearance, and Plugins, etc

osclass admin dashboard

Click on Classifieds Site Demo link of upper left corner to open you site. Here you go, this is your ad listing site with default setup.

osclass default site

Go ahead and play with Osclass. Let me know if you face any issue and need help.

Related Post