DELPHI搭建centos开发环境
<p>DELPHI搭建centos7开发环境</p><div><strong>关闭防火墙</strong></div>
<div>搭建开发环境,还是直接关闭LINUX防火墙,省事。</div>
<div>否则,使用到的网络端口号,都要在防火墙开放,麻烦。<br> systemctl disable firewalld.service</div>
<div><strong>关闭SELINUX</strong></div>
<div>vi /etc/selinux/<span class="hljs-built_in">config</span></div>
<div><span class="hljs-built_in">将SELINUX=enforcing改为SELINUX=disabled</span></div>
<div><span class="hljs-built_in">设置后需要重启才能生效</span></div>
<div> </div>
<div><strong>网络设置</strong></div>
<div>开启有线连接,并设置为“自动连接”</div>
<div>设置IPV4,固定IP和DNS。</div>
<div><img src="https://img2018.cnblogs.com/blog/368779/201907/368779-20190722143534414-1585014217.png"></div>
<div><strong>让虚拟机连上外网</strong></div>
<div><img src="https://img2018.cnblogs.com/blog/368779/201908/368779-20190801120932838-2124734979.png"></div>
<div> </div>
<div><strong>解决编译报:cannot find lxxx问题</strong><br>先要保证centos可以连外网<br>yum install zlib-devel</div>
<div>yum install gcc gcc-c++</div>
<div>yum install libcurl</div>
<div>yum install libcurl-devel</div>
<div>
<p>yum install mesa-libGL-devel mesa-libGLU-devel</p>
<p>yum install freeglut-devel</p>
</div>
<div> </div>
<div><strong>重新下载delphi编译linux64所需centos sdk</strong></div>
<div>tools-->options</div>
<div><img src="https://img2018.cnblogs.com/blog/368779/201907/368779-20190722143133479-736713496.png"></div>
<div><img src="https://img2018.cnblogs.com/blog/368779/201907/368779-20190722143228794-573563206.png"></div>
</div>
<div id="MySignature" role="contentinfo">
<p>本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/11225660.html</p><br><br>
来源:https://www.cnblogs.com/hnxxcxg/p/11225660.html
頁:
[1]