一、Exagear安装
安装转码工具4.0.0版本

下载地址:https://www.hikunpeng.com/developer/devkit/download/exagear
tar -zxvf ExaGear_4.0.0.tar.gz
cd ExaGear_Server_for_Centos7/ release
sudo dnf localinstall exagear-core-x32a64-3046-1.aarch64.rpm
sudo dnf localinstall exagear-guest-for-centos-7-x86_64-2793-1.noarch.rpm
sudo dnf localinstall exagear-utils-3046-1.noarch.rpm
sudo dnf localinstall exagear-core-x64a64-3046-1.aarch64.rpm
sudo dnf localinstall exagear-integration-3046-1.noarch.rpm
启动exagear
exagear
arch

exagear安装成功
二、Wine环境搭建
查看操作系统

安装图形界面
sudo dnf update
sudo dnf install ukui
在确认正常安装后,如果希望以图形界面的方式启动,请在命令行运行以下代码,并重启(reboot)。
systemctl set-default graphical.target
参考链接:https://www.ncnynl.com/archives/202312/6083.html
4、安装wine环境
cd /etc/yum.repos.d
mkdir back
mv CentOS-* back
vi /etc/yum.repos.d/Centos7.repo
将Centos7.repo内容替换为下面加粗字体内容
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base - mirrors.huaweicloud.com
baseurl=https://mirrors.huaweicloud.com/centos/$releasever/os/$basearch/
#mirrorlist=https://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=https://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates - mirrors.huaweicloud.com
baseurl=https://mirrors.huaweicloud.com/centos/$releasever/updates/$basearch/
#mirrorlist=https://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=https://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - mirrors.huaweicloud.com
baseurl=https://mirrors.huaweicloud.com/centos/$releasever/extras/$basearch/
#mirrorlist=https://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=https://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - mirrors.huaweicloud.com
baseurl=https://mirrors.huaweicloud.com/centos/$releasever/centosplus/$basearch/
#mirrorlist=https://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=https://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
安装需要的包文件
yum groupinstall 'Development Tools'
yum install libX11-devel freetype-devel zlib-devel libxcb-devel
sudo yum install epel-release
安装wine
yum install wine
wine --version

三、验证
5、用putty.exe验证wine
putty.exe下载
https://the.earth.li/~sgtatham/putty/0.82/w64/putty.exe
将putty.exe下载下来放到服务器上
执行wine64 putty.exe
出现弹窗

输入服务器IP地址,点击open

出现putty弹窗
输入用户和登陆密码

putty登陆成功

一、Exagear安装
安装转码工具4.0.0版本
下载地址:https://www.hikunpeng.com/developer/devkit/download/exagear
tar -zxvf ExaGear_4.0.0.tar.gz
cd ExaGear_Server_for_Centos7/ release
sudo dnf localinstall exagear-core-x32a64-3046-1.aarch64.rpm
sudo dnf localinstall exagear-guest-for-centos-7-x86_64-2793-1.noarch.rpm
sudo dnf localinstall exagear-utils-3046-1.noarch.rpm
sudo dnf localinstall exagear-core-x64a64-3046-1.aarch64.rpm
sudo dnf localinstall exagear-integration-3046-1.noarch.rpm
启动exagear
exagear
arch
exagear安装成功
二、Wine环境搭建
查看操作系统
安装图形界面
sudo dnf update
sudo dnf install ukui
在确认正常安装后,如果希望以图形界面的方式启动,请在命令行运行以下代码,并重启(reboot)。
systemctl set-default graphical.target
参考链接:https://www.ncnynl.com/archives/202312/6083.html
4、安装wine环境
cd /etc/yum.repos.d
mkdir back
mv CentOS-* back
vi /etc/yum.repos.d/Centos7.repo
将Centos7.repo内容替换为下面加粗字体内容
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base - mirrors.huaweicloud.com
baseurl=https://mirrors.huaweicloud.com/centos/$releasever/os/$basearch/
#mirrorlist=https://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=https://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates - mirrors.huaweicloud.com
baseurl=https://mirrors.huaweicloud.com/centos/$releasever/updates/$basearch/
#mirrorlist=https://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=https://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - mirrors.huaweicloud.com
baseurl=https://mirrors.huaweicloud.com/centos/$releasever/extras/$basearch/
#mirrorlist=https://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=https://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - mirrors.huaweicloud.com
baseurl=https://mirrors.huaweicloud.com/centos/$releasever/centosplus/$basearch/
#mirrorlist=https://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=https://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
安装需要的包文件
yum groupinstall 'Development Tools'
yum install libX11-devel freetype-devel zlib-devel libxcb-devel
sudo yum install epel-release
安装wine
yum install wine
wine --version
三、验证
5、用putty.exe验证wine
putty.exe下载
https://the.earth.li/~sgtatham/putty/0.82/w64/putty.exe
将putty.exe下载下来放到服务器上
执行wine64 putty.exe
出现弹窗
输入服务器IP地址,点击open
出现putty弹窗
输入用户和登陆密码
putty登陆成功