English | 简体中文
A-Tune-UI is a web project that relies on A-Tune. It supports openEuler-20.09 or later.
Some packages required for the UI, such as nodejs and npm, can only be found in openeuler-everything.iso.
Before the installation, add openeuler-everything to your Yum repo:
x86_64/aarch64). The page address is the Yum repo URL.
This script will clone node-sass from Gitee by default. Users can change the URL of the node-sass package by themselves.
sh install.sh [git_url] # For example, you can use the GitHub URL to clone code. # sh install.sh https://github.com/sass/node-sass.git
If the installation fails, install it manually.
yum install -y npm nodejs gcc-c++ make patch
git clone -b v5 --recursive https://github.com/sass/node-sass.git cd node-sass git am arm-support.patch npm i node scripts/build -f
mv node-sass A-Tune-UI/node_modules
If your web page does not open in the local host, change your web IP address as follows:
hostname -I # To get host IP
Open the package.json file and replace localhost with your host IP address in line 10.
npm run start
This command will return the URL of the web page.
Note: This project is in the development phase. If you encounter any problem during installation or running, locate the problem by referring to section 4 "FAQs" in the A-Tune-UI Operation Guide. If the problem persists, submit an issue in the code repository.
Before installation, make sure Docker and wget tools have already been installed: (You do not need to get all code. Just get the Dockerfile.)
yum install -y docker wget wget https://gitee.com/openeuler/A-Tune-UI/Dockerfile
docker build --network=host -t atune-ui:latest .
docker run -p <local_ip>:<local_port>:8080 -e ENG_HOST=<engine-host> -e ENG_PORT=<engine-port> atune-ui
Note: If A-Tune is not running, you can still get the web page but there is no data on your page.
A-Tune project: https://gitee.com/openeuler/A-Tune
A-Tune-Collector project: https://gitee.com/openeuler/A-Tune-Collector