How to install Tomato – 1.1.8 on CentOS – 7
To install Tomato 1.1.8 on CentOS 7
Tomato Cart is one of the most powerful free shopping cart tools. It is an open source e-commerce solution and the back-end is an impressive desktop-like ExtJS-powered interface and user experience. Tomato Cart truly is free, user-friendly, open source shopping cart software. It contains features such as customization, integration with payment, works with any hosting company and can choose own domain name
Prerequisites
Install LAMP(Apache, mariadb, php7)
In mariadb (create database and user and give privileges to that user )
For php installation
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php70w php70w-opcache
Php modules
yum install php70w-bz2 php70w-calendar php70w-Core php70w-ctype php70w-curl php70w-date php70w-dom php70w-exif php70w-fileinfo php70w-filter php70w-ftp php70w-gd php70w-gettext php70w-gmp
php70w-hash php70w-iconv php70w-imap php70w-intl php70w-json php70w-ldap php70w-libxml php70w-mbstring php70w-mcrypt php70w-mysqli php70w-openssl php70w-pcntl php70w-pcre php70w-PDO php70w-pdo_mysql
php70w-pdo_sqlite php70w-Phar php70w-posix php70w-readline php70w-recode php70w-Reflection php70w-session php70w-shmop php70w-SimpleXML php70w-soap php70w-sockets php70w-SPL php70w-sqlite3 php70w-standard
php70w-sysvmsg php70w-sysvsem php70w-sysvshm php70w-tidy php70w-tokenizer php70w-wddx php70w-xml php70w-xmlreader php70w-xmlrpc php70w-xmlwriter php70w-xsl php70w-Zend php70w-OPcache php70w-zip php70w-zlib
Download a package using the following wget command
[root@linuxhelp1 Downloads]# wget https://sourceforge.net/projects/tomatocart/files/latest/download --no-check-certificate
--2018-04-16 03:08:38-- https://sourceforge.net/projects/tomatocart/files/latest/download
Resolving sourceforge.net (sourceforge.net)... 216.105.38.13
Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected.
Location: https://downloads.sourceforge.net/project/tomatocart/TomatoCart-1.1.8.6.1.zip?r=& ts=1524811384& use_mirror=excellmedia [following]
.
.
CN=Let' s Encrypt Authority X3’ :
Issued certificate not yet valid.
HTTP request sent, awaiting response... 200 OK
Length: 15426242 (15M) [application/octet-stream]
Saving to: ‘ download’
100%[============================================================> ] 15,426,242 178KB/s in 98s
2018-04-16 03:10:29 (154 KB/s) - ‘ download’ saved [15426242/15426242]
The downloaded package is a ZIP file, so unzip the file using the following command
[root@linuxhelp1 Downloads]# unzip download
Archive: download
d22e3b3fb38ba24d84b7db57ee138e01322ef438
creating: TomatoCart-v1-released-v1.1.8.6.1/
inflating: TomatoCart-v1-released-v1.1.8.6.1/.htaccess
inflating: TomatoCart-v1-released-v1.1.8.6.1/INSTALL.TXT
inflating: TomatoCart-v1-released-v1.1.8.6.1/LICENSE.txt
inflating: TomatoCart-v1-released-v1.1.8.6.1/README.md
.
.
inflating: TomatoCart-v1-released-v1.1.8.6.1/templates/glass_gray/modules/jsons/popup_cart.php
inflating: TomatoCart-v1-released-v1.1.8.6.1/templates/glass_gray/data-stylesheet.css
inflating: TomatoCart-v1-released-v1.1.8.6.1/templates/glass_gray/template.php
creating: TomatoCart-v1-released-v1.1.8.6.1/templates/system/
creating: TomatoCart-v1-released-v1.1.8.6.1/templates/system/images/
inflating: TomatoCart-v1-released-v1.1.8.6.1/templates/system/images/tomatocart.ico
inflating: TomatoCart-v1-released-v1.1.8.6.1/templates/system/offline.php
inflating: TomatoCart-v1-released-v1.1.8.6.1/templates/system/data-stylesheet.css
After unzipping move the file into the following path
[root@linuxhelp1 Downloads]# mv TomatoCart-v1-released-v1.1.8.6.1 /var/www/TomatoCart
Switch to the directory
[root@linuxhelp1 Downloads]# cd /var/www/
Change ownership and permission for the file
[root@linuxhelp1 www]# chown -R apache.apache TomatoCart
[root@linuxhelp1 www]# chown -R 775 TomatoCart
Create a new virtual host configuration for accessing the Tomato cart application
[root@linuxhelp1 www]# vim /etc/httpd/conf.d/tomato.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/TomatoCart/
< Directory /var/www/TomatoCart/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
After configuring the virtual host restart the apache service
[root@linuxhelp1 www]# systemctl restart httpd
Open a Browser and type the following URL of http://local IP (or) domain name
Accept the License agreement for using the Tomato cart application
verify the pre-installation check
Configure the database setup as follows
Configure the web server setup
Configure the Online store settings as shown here
Once all the configuration are saved you can finish and access the admin tool from here
The following image shows the home page of Tomatocart application
If you want to open an Administration page of Tomatocart application, please choose the Administration page and log in using Administration user credential
I’ve write some, but i cannot find it in the site.
1. Log into your admin panel.
2. Go to Configuration > Configuration > Product Details.
3. Set Display Product Minimum Order Quantity to True.
display_errors = 1;
error_reporting = E_ALL;
log_errors = 1;