centos 6.8操作系统安装arcgis server 10.4-后续篇

./Setup //执行安装  (运行安装脚本后会进行安装环境检测,会检查检查软件包和主机名,检测通过才可以开始安装。)
如果检查不通过,会提示和报错,并中断安装过程。
(1) 解决 hostname 问题
// 查看 hostname
$ hostname

// 果然不符合规则
// 修改hostname
$ hostnamectl set-hostname centos.arcgis

   (2) 解决 limits 问题

// 编辑 limits.conf 文件
$ vim /etc/security/limits.conf

/* 追加
ags soft nofile 65535(对用户同时打开的文件数量的限制)
ags hard nofile 65535
ags soft nproc 25059(对用户的进程的最大数量的限制)
ags hard nproc 25059
*/

// 根据提示:切换用户过去又切换回来,检查
/*
[root@VM_0_14_centos security]# su root
[root@VM_0_14_centos security]# su ags
[ags@VM_0_14_centos security]$ ulimit -Hn -Hu
open files                      (-n) 65535
max user processes              (-u) 25059
[ags@VM_0_14_centos security]$ ulimit -Sn -Su
open files                      (-n) 65535
max user processes              (-u) 25059
*/
  • 第一列表示用户和组(@开头)。第二列表示软限制还是硬限制,第三列表示限制的资源类型,第四列表示限制的最大值

  • hard和soft的区别: soft是一个警告值,而hard则是一个真正意义的阀值,超过就会报错,一般情况下都是设为同一个值。

 (3) 安装 软件

yum install fontconfig
原文地址:https://www.cnblogs.com/tiandi/p/11770446.html