Configure the Ecshop environment under Ubuntu and use JMeter for stress testing

Source: Internet
Author: User

First, build lamp environment

Install the XAMPP software that integrates MySQL, PHP, and Apache in the following process:

In Ubuntu comes with firefox browser open URL:

http://sourceforge.net/projects/xampp/files/xampp%20linux/1.8.3/ Xampp-linux-x64-1.8.3-2-installer.run/download

Download the xampp and move the download package to the home directory when the download is complete;

To change XAMPP permissions:

sudo chmod +x Download the name of the package

Switch to root mode and run the download package:

sudo su. /download Package Name

Wait for the installation to complete.

Use

Sduo  /opt/lampp/lampp Start

If it starts normally, the installation is successful.

Second, installation Ecshop

1. Download the Ecshop installation package (XAMPP comes with PHP 5.5 or more, Ecshop requires more than 3.0, otherwise there will be problems),

ecshop3.0:http://www.ecmoban.com/topic/ecshopheji/index.html, click to download.

2. Copy the Ecshop to the home directory under Linux and use the

Unzip the name of the download package

For decompression.

3. Copy the upload folder in the extract package to the/opt/lampp/htdocs directory, and operate it directly under the graphical interface, if it cannot be copied,

Need to change the/opt/lampp folder permissions, use (Open command mode on the desktop)

777 /OPT/LAMPP

To change the permissions for the upload folder:

777 /opt/lampp/htdocs/upload

4. Launch the Apache service:

Sudo/opt/lampp/lampp start

5. Installing Ecshop

In Firefox browser open localhost/upload, the installation interface can be installed, and then follow the steps to install, you can refer to the following: http://www.imooc.com/learn/278 in section 4-2, installation.

6. When the installation is complete, open the Localhost/upload to display the product interface.

7. Accessing the Ecshop main interface outside the virtual machine

Enter under Linux

Ifconfig

View the native network address, assuming 172.0.0.123, the browser input under Windows: 172.0.0.123/upload, can be accessed;

If not normal access, may be due to the virtual machine setup problems, you can resolve the Baidu itself.

Third, installation JMeter

1. Download the JMeter installation package at the official website at the address: http://jmeter.apache.org/

2. Follow the tutorials below to install:

http://jingyan.baidu.com/article/14bd256e7e707cbb6d2612cf.html

3. Use JMeter to refer to:

http://www.imooc.com/learn/278

Section fifth of the content

Configure the Ecshop environment under Ubuntu and use JMeter for stress testing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.