REDHAT27-11-17
Open eShop is an open source software for eCommerce platforms. It is a platform developed to sell digital goods without commissions.
Open Source :- This HTML5 eCommerce software is fully customizable, and you have complete access to source code.
Free Digital Goods Store :- Within minutes and without a charge you can have a fully functional online store to sell music, eÂbooks, software, etc.
PayPal, Card and Bitcoin :- Get Paid directly via Paypal, Credit Card (Paymill,Stripe), Bank Transfer or Bitpay.
Support System :- Provide support to your clients from an easy interface, get notified of any new ticket opened and give awesome support!
Discounts & Reviews :- Give coupons, run discounts campaigns and get product reviews from your clients with this awesome eCommerce website builder.
Smart Demo :- Sell your software after giving an awesome experience with an interactive demo that is responsive and gives multiple display options.
Prerequisites :-
Getting Started – Create Database
Start the MySQL shell:
$ mysql -u root -p
Create a new user, named openeshop, and a new database, openeshop_db:
mysql> CREATE DATABASE openeshop_db;
Query OK, 1 row affected (0.00 sec)
mysql> CREATE USER 'openeshop'@'localhost' IDENTIFIED BY 'usr_strong_pwd';
Query OK, 0 rows affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON openeshop_db.* TO 'openeshop'@'localhost';
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> EXIT;
Bye
Site Links:- CCNA Online Training CCNP Online Training CCIE Online Training
Install Open eShop Lite :-
Download Open eShop Lite in the web root directory, which is /var/www/html. First, create a new directory with the following command:
#mkdir /var/www/html/openeshop
Move into this newly created directory:
# cd /var/www/html/openeshop
Download the Open eShop installation script, by executing the following wget command:
# wget https://raw.githubusercontent.com/open-classifieds/open-eshop/master/install-eshop.php
Change the owner of the downloaded file, install-eshop.php executing the following command:
# chown -R www-data:www-data install-eshop.php
Create an Apache Virtual Host File for Open eShop
Next step is to create a new virtual host file for Open eShop. We will name it openeshop.conf. Execute the command:
# $EDITOR /etc/apache2/sites-available/openeshop.conf
Paste in that file the following content:
ServerAdmin admin@example.com
DocumentRoot /var/www/html/openeshop
DirectoryIndex install-eshop.php
ServerName example.com
ServerAlias www.example.com
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
ErrorLog /var/log/apache2/example.com-error_log
CustomLog /var/log/apache2/example.com-access_log common
Save, exit and enable the new Virtual Host file:
# a2ensite openeshop
It should display the following text:
Enabling site openeshop.
To activate the new configuration, you need to run:
service apache2 reload
However, we will use systemctl to activate the new configuration by restarting the Apache service. Execute:
# systemctl restart apache2
Check the Apache status with:
# systemctl status apache2
apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
ââapache2-systemd.conf
Active: active (running)
So, the web server is correctly running.
Site Links:- Linux Commands Cheat Sheet
Finish Open eShop Installation
At this point, with a web browser go to the URL configured in the Virtual Host file (example.com in this tutorial, but, of course, change it with the required domain).
The install-eshop.php installer should display the following message:
OE Installation requirement: Before you proceed with your OE installation: Keep in mind OE uses the short tag "short cut" syntax.
Thus the short_open_tag directive must be enabled in your php.ini.
Easy Solution:
1. Open php.ini file and look for line short_open_tag = Off
2. Replace it with short_open_tag = On
3. Restart then your PHP server
4. Refresh this page to resume your OE installation
5. Enjoy OE ;)
On the server, open the php.ini file:
# $EDITOR /etc/php/7.0/apache2/php.ini
Change the line short_open_tag = Off with short_open_tag = On. It should be line 202. Save, exit and restart Apache:
# systemctl restart apache2
Reloading the page in the web browser should start the last step of the installation process, which depends on your ecommerce for digital goods.