Installing A-FOT
Download A-FOT code and modify compilation parameters to meet the automatic FDO requirements.
Procedure
- Go to the home directory.
1cd /home
- Download A-FOT code from Gitcode.
1git clone https://gitcode.com/openeuler/A-FOT.git
- If the server cannot connect to the Internet to download the A-FOT code, see (Optional) Configuring a Network Proxy.
- If "SSL certificate problem: self signed certificate in certificate chain" is displayed when the A-FOT code is being downloaded, you can disable SSL verification to resolve this issue.
1git config --global http.sslVerify false
- You can also use the Yum repository to install A-FOT. In this method, the default installation path is /usr/bin/.
1yum install A-FOT
(Optional) Configuring a Network Proxy
To download the A-FOT code, you need to connect to the Internet. If the environment cannot access the Internet, configure a network proxy. If the environment can access the Internet, skip this section.
- Open the /etc/profile file.
1vim /etc/profile - Press i to enter the insert mode and add the following content to the /etc/profile file. Set information, such as the username, password, proxy IP address, and proxy port, based on your requirements.
1 2 3
export http_proxy="http://Username:Password@Proxy_IP_address:Proxy_port" export https_proxy=$http_proxy export no_proxy=127.0.0.1,.huawei.com,localhost,local,.local
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the proxy take effect.
1source /etc/profile
Parent topic: Installing the GCC FDO Component