安装相关依赖
操作步骤
- 使用PuTTY工具,以root用户登录服务器。
- 执行以下命令使用yum安装相关依赖。
yum install automake autoconf libX11-devel zlib-devel libxml2-devel libxslt-devel libXft-devel tcl-devel tk-devel xorg-x11-xauth xorg-x11-server-utils xorg-x11-server-Xnest libXtst
- 执行以下命令开启可视化参数。
sed -i "s/X11Forwarding no/X11Forwarding yes/g" /etc/ssh/sshd_config
- 执行以下命令重启sshd服务。
systemctl restart sshd.service
父主题: 配置编译环境