Linux DataEase data visualization analysis tool local deployment and remote access

Preface

DataEase is an open source data visualization analysis tool that helps users quickly analyze data and gain insight into business trends, thereby achieving business improvement and optimization. It is an open source data visualization analysis tool that helps users quickly analyze data and gain insight into business trends, thereby achieving business improvement and optimization.

After building it locally, we can use cpolar intranet penetration to achieve remote public network address to access the web ui interface of DataEase. This makes it convenient for us to open DataEase on any device at any time to view data analysis!

1. Install DataEase

It is also more convenient to build and install DataEase on Linux. Follow the Github method and use the official method, one-click installation command, one-click installation:

curl -sSL https://dataease.oss-cn-hangzhou.aliyuncs.com/quick_start.sh | bash

After the installation is completed, you can access it through the prompts. The service port defaults to 80, and the default user name and initial password are provided.

image-20230830142733693

2. Local access test

We have successfully built the DataEase service above. Now we can test the access locally. In the external browser, enter the Linux LAN IP address + port 80, or in the Linux internal graphical interface browser, enter the local IP + port 80 for access. The second method is used here. Method, access on the Linux graphical interface, enter: http://localhost:80, you can see the DataEase login interface, the local access test is OK, now we install the cpolar intranet penetration tool to achieve remote access

image-20230830151633037

3. Install cpolar intranet penetration software

Above we installed and started the DataEase service in local Linux, and local access was ok. Next we installed the cpolar intranet penetration tool in Linux. Through the http public network address of cpolar, we can easily access the jump server remotely without the need for Register your own domain name and purchase a cloud server. Here are the steps to install cpolar

cpolar official website address: https://www.cpolar.com

  • Use one-click script installation command
curl -L https://www.cpolar.com/static/downloads/install-release-cpolar.sh | sudo bash
  • Add services to the system
sudo systemctl enable cpolar
  • Start cpolar service
sudo systemctl start cpolar

After cpolar is installed successfully, access the 9200 port of Linux on the external browser: [http://LAN ip:9200], log in using the cpolar account, and after logging in, you can see the cpolar web configuration interface, and configure it in the web interface That’s it

20230130105810

4. Configure DataEase public network access address

Click Tunnel Management - Create Tunnel on the left dashboard to create a port 80 tunnel for our http access method above!

  • Tunnel name: The name can be customized. Be careful not to duplicate the existing tunnel name.
  • Protocol: Select http
  • Local address: 80 (default port)
  • Domain name type: Choose a random domain name for free
  • Region: Select China vip

Click创建

image-20230830152318715

After the tunnel is successfully created, click the status on the left - online tunnel list to view the generated public network access address. There are two access methods, one is http and https. If https cannot be accessed, change it to http access.

image-20230830152352783

5. Remote access to Data Ease via public network

We use the above http public network address to access the browser of any device, and we can successfully see our Data Ease service login management interface. Such a public network address that can be accessed remotely has been created. To access a new address, you may need to re- Log in.

image-20230830152647507

6. Fixed Data Ease public network address

Since the tunnel created using cpolar above uses a random public network address, it will change randomly within 24 hours, which is not conducive to long-term remote access. Therefore, we can configure a second-level subdomain name for it. This address is a fixed address and will not change randomly [ps: cpolar.cn has been filed]

Note that you need to upgrade the cpolar package to a basic package or above, and the bandwidth corresponding to each package is different. [cpolar.cn has been registered]

Log in to the cpolar official website, click Reserve on the left, select to reserve the second-level subdomain name, set a second-level subdomain name, click Reserve, and copy the reserved second-level subdomain name after the reservation is successful. Level subdomain name

image-20230830155402448

After the reservation is successful, copy the name of the second-level subdomain name that was successfully reserved.

image-20230830155429262

Return to the cpolar web UI management interface, click Tunnel Management - Tunnel List on the left dashboard, find the Data Ease tunnel to be configured, and click Edit on the right

image-20230830155702699

Modify the tunnel information and configure the successfully reserved second-level subdomain name into the tunnel.

  • Domain name type: Select a second-level subdomain name
  • Sub Domain: Fill in the successfully reserved second-level subdomain name

Click更新(Note, click once to update, no need to submit again)

image-20230830155743476

After the update is completed, open the online tunnel list. At this time, you can see that the public network address has changed and the address name has become a fixed second-level subdomain name.

image-20230830155828340

Finally, we use a fixed public network address to access the Data Ease service. You can see that the login interface appears, indicating that the access is successful. In this way, a fixed and permanent public network address is set.

image-20230830160028372

Guess you like

Origin blog.csdn.net/qq_72916130/article/details/134787413