.Net Core Linux系统的环境配置

deprecated 1. install libunwind

wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz
tar xvzf libunwind-1.1.tar.gz
cd libunwind-1.1
./configure
make
make install
因为默认的libunwind安装在/usr/local/lib目录下,需要将这个目录添加到系统动态库缓存中。

echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local_lib.conf
/sbin/ldconfig

deprecated 2. install libicu
wget https://github.com/icu-project/icu4c/archive/release-57-1.tar.gz
tar xvzf release-57-1.tar.gz
cd icu4c-release-57-1
cd source
./configure
make
make install
echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local_lib.conf
/sbin/ldconfig


3. Another way to install:
yum install libunwind
yum install libicu
https://www.microsoft.com/net/core#centos

4. 设置绑定ip, 端口
http://stackoverflow.com/questions/34212765/how-do-i-get-the-kestrel-web-server-to-listen-to-non-localhost-requests

5. firewall setting
启用http://www.liquidweb.com/kb/how-to-start-and-enable-firewalld-on-centos-7/
firewall-cmd --zone=public --add-port=2888/tcp --permanent
firewall-cmd --reload

posted @ 2016-06-22 14:39  Neal lin  阅读(563)  评论(0)    收藏  举报