1. 安装报错 make FORCE_UNSAFE_CONFIGURE=1

报错如下:

  1. configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)

解决方法
/etc/profile中添加:

  1. export FORCE_UNSAFE_CONFIGURE=1

然后编译配置文件使之生效

  1. source /etc/profile