写在前面
最近VScode增加远程开发功能,网上很多的教程基本都是标准的安装方法。而我的开发环境是CentOS6.5,大部分安装教程无法正常与开发机进行ssh连接。最后查到了原来VSCode远程开发建议CentOS7以上版本,而对于CentOS6需要升级glibc和libstdc++。这里就针对CentOS6.5写一个简单的教程,期望能够对你有所帮助。
升级 glibc
下载相关库
首先需要下载glibc和libstdc++,你可以复制粘贴下面的代码自行下载,也可以点击这里下载我打包好的库。
下载连接:
https://u20673206.ctfile.com/fs/20673206-384816860
wget -q http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpm
wget -q http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-common-2.17-55.el6.x86_64.rpm
wget -q http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-devel-2.17-55.el6.x86_64.rpm
wget -q http://copr-be