Home CMS Tutorial ECShop Detailed explanation of ECSHOP installation and use

Detailed explanation of ECSHOP installation and use

Mar 12, 2021 am 10:30 AM
ecshop

Linux/CentOS 7 environment installation ECShop 3.6

Detailed explanation of ECSHOP installation and use

1. Check whether the Apache HTTP Server has been installed on the system. That is, httpd
If the following content is returned, it means it has been installed

[root@localhost ~]# httpd -version
Server version: Apache/2.4.6 (CentOS)
Server built:   Aug  8 2019 11:41:18
Copy after login

If it is not installed, execute the following command to install and start the service

[root@localhost ~]# yum install httpd -y
Copy after login

Recommended (free): ecshop

2. Check whether PHP and plug-ins have been installed on the system.
If the following content is returned, PHP has been installed.

[root@localhost ~]# php -v
PHP 5.4.16 (cli) (built: Nov  1 2019 16:04:20)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Copy after login
[root@localhost ~]# rpm -qa | grep php-gd
php-gd-5.4.16-46.1.el7_7.x86_64
[root@localhost ~]# rpm -qa|grep php-mysql
php-mysql-5.4.16-46.1.el7_7.x86_64
Copy after login

If not, execute the following command to install it.

[root@localhost ~]# yum install php php-gd php-mysql -y
Copy after login

3. Check whether MySQL or MariaDB has been installed on the system
If the following content is returned, MariaDB has been installed

[root@localhost ~]# rpm -qa|grep mariadb
mariadb-libs-5.5.64-1.el7.x86_64
mariadb-5.5.64-1.el7.x86_64
mariadb-server-5.5.64-1.el7.x86_64
Copy after login

If not, execute the following command to install and configure, and follow the prompts Enter the new password of the root user

[root@localhost ~]# yum install mariadb-server -y
[root@localhost ~]# systemctl start mariadb
[root@localhost ~]# systemctl enable mariadb
[root@localhost ~]# systemctl status mariadb
[root@localhost ~]# mysql_secure_installation
Copy after login

4. Modify the PHP configuration file to set the time zone
Search for timezone, remove the comment character # before date.timezone, and set the value to PRC

[root@localhost ~]# vim /etc/php.ini
date.timezone = PRC
Copy after login

5. Download and decompress the ECShop 3.6 source code

[root@localhost ~]# wget http://zj.mycodes.net/201708/ECShop_3.6.0_UTF8_release.zip
[root@localhost ~]# unzip ECShop_3.6.0_UTF8_release.zip
[root@localhost ~]# mv ECShop_3.6.0_UTF8_release/source/* /var/www/html/
Copy after login

6. Set the source code directory to be writable

[root@localhost ~]# mv ECShop_3.6.0_UTF8_release/source/* /var/www/html/
[root@localhost ~]# cd /var/www/html
[root@localhost ~]# ls
appserver  ecshop
[root@localhost ~]# chmod 777 -R appserver ecshop
Copy after login

7. Turn off selinux
Modify the selinux configuration file and change the value of SELINUX to disabled

[root@localhost conf]# vim /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted
[root@localhost conf]# setenforce 0
setenforce: SELinux is disabled
Copy after login

8. Start the Apache service, query the service status and set the startup service

[root@localhost ~]# systemctl start httpd
[root@localhost ~]# systemctl enable httpd
[root@localhost ~]# systemctl status httpd
Copy after login

9. The firewall allows port 80 of the Apache service

[root@localhost conf]# firewall-cmd --add-port=80/tcp --zone=public --permanent
success
[root@localhost conf]# firewall-cmd --reload
success
Copy after login

10. Browser installation ECShop
Assume that the server's IP address is 192.168.8.128, and enter
http://192.168.85.128/ecshop/install/index.php

## in the browser address bar.

#Always reported forbidden, manually change all directory permissions under www, html, and ecshop to editable mode. . .

##Follow the installation wizard steps, agree to the agreement, and check the environment

ECShop Installation Agreement

If there is any failure, continue to manually modify the permissions

ECShop Installation Check Environment

When configuring the system, enter the database root user password, database name ecshop, enter the administrator account and password, check to install the test data, and click Install Now

MySQL needs to change the password and create the database, otherwise it will prompt that the account or password failed

Solution:

mysql -u root -p
 ALTER USER USER() IDENTIFIED BY 'Biran1991!2#'
 create database ecshop;
 show databases;
 systemctl restart mysqld.service
Copy after login

Success

After the installation is completed, there is no need to activate the system. Enter the home page address in the browser to access http:/ /192.168.8.128/ecshop/index.php

The above is the detailed content of Detailed explanation of ECSHOP installation and use. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1653
14
PHP Tutorial
1251
29
C# Tutorial
1224
24
What are the methods for sorting ecshop articles? What are the methods for sorting ecshop articles? Jun 16, 2023 am 11:30 AM

How to sort ecshop articles: 1. Sort by publication time, you can control the order of articles in the list by modifying the publication time of the article; 2. Sort by clicks, you can achieve this sorting by installing the "Article Click Ranking" plug-in Function, this plug-in can count the number of clicks on articles; 3. Sort by the number of comments, you can implement this sorting function by installing the "Article Comment Ranking" plug-in, which can count the number of comments on articles; 4. Sort by relevance, This sorting function can be achieved by installing the "Search Ranking" plug-in.

What is the architecture of ecshop? What is the architecture of ecshop? Feb 23, 2023 am 09:32 AM

ecshop is a "B2C" architecture; ecshop is a B2C independent online store system, suitable for enterprises and individuals to quickly build personalized online stores; the system is a cross-platform open source program developed based on PHP language and MYSQL database architecture.

Ecshop product management advanced: learn how to add fields Ecshop product management advanced: learn how to add fields Mar 12, 2024 pm 02:06 PM

Ecshop Product Management Advanced: Learn how to add fields, you need specific code examples. When using Ecshop for product management, you often encounter situations where you need to add some custom fields to meet specific needs. By adding fields, more precise product management and better user experience can be achieved. This article will introduce how to add fields in Ecshop and provide specific code examples. First, we need to clarify the need to add fields. For example, we need to add a "production date" field to the product details page to

What are the characteristics of ecshop? What are the characteristics of ecshop? Feb 13, 2023 am 09:43 AM

Features: 1. Open source system with flexibility, customizability and high scalability; 2. Support independent secondary development; 3. Rich templates and plug-ins; 4. Strong industry adaptability; 5. Avoid being constrained by software vendors; 6. Stronger reliability and stability; 7. Mobile H5 framework upgrade, based on VUE comprehensive replacement, more flexible and open; 8. Multi-level rebate function, supporting QR codes, posters and other promotion methods, unlimited fission development of distributors ; 8. The visual interaction of the management terminal is completely renewed, the UI is simple and beautiful, and the operating experience is upgraded; 9. Supports PHP7.2, and the performance is doubled.

What program is ecshop? What program is ecshop? Feb 16, 2023 am 10:38 AM

ECShop is a B2C independent online store system. It is a cross-platform open source program developed based on PHP language and MYSQL database architecture. It is suitable for enterprises and individuals to quickly build personalized online stores. The characteristics of the ecshop mall system: 1. Support independent secondary development; 2. Rich templates and plug-ins; 3. Strong industry adaptability; 4. Avoid being constrained by software vendors; 5. Stronger reliability and stability.

What is the model of ecshop? What is the model of ecshop? Feb 22, 2023 am 09:37 AM

ecshop is a B2C model. ECShop is a B2C independent online store system, suitable for enterprises and individuals to quickly build personalized online stores. B2C refers to a model of e-commerce, and it is also a retail model that sells products and services directly to consumers; the payment method of B2C e-commerce is a combination of cash on delivery and online payment, and most companies choose logistics outsourcing for delivery. to save operating costs.

How to remove copyright at the bottom of ecshop How to remove copyright at the bottom of ecshop Aug 08, 2023 pm 02:42 PM

Method to remove the copyright at the bottom of ecshop: 1. Modify the template file, the specific location is: themes/your_theme directory, find the footer.html file in this directory, open it with a text editor, find the code segment containing the copyright information, delete it or Comment out. Just save the file and close it; 2. To use the plug-in, log in to the backend, click plug-in management, search for copyright and other related keywords at the bottom, select a suitable plug-in to install and enable it; 3. To purchase a theme, purchase it on the official website of ECShop etc.

How to cancel delivery method in ecshop How to cancel delivery method in ecshop Mar 03, 2023 am 09:56 AM

How to cancel the shipping method in ecshop: 1. Find and open the "flow.dwt" file, and then delete "<!--{if $total.real_goods_count neq 0}-->...<!-- {/if} - ->" code; 2. Change "checkOrderForm(frm)" in "js/shopping_flow.js" to "if (document.getElementById(...)".

See all articles