昨天睡晚了,早晨起床那叫个困啊……在床上又滚了一个小时,凑够了7小时才起床。
今天尝试搭建新机房公共服务,遇到的问题记录到这里,以便查阅。
内容包含:机房公共服务的部署
机房的公共服务包含DNS、NTP、以及SoftwareLibrary等一系列服务,那么先从SoftwareLibrary开始。
SoftwareLibrary是一个Nginx服务器,供机房内部机器调用,减少从公共源下载时等待的时间。安装时,遇到了一些错误信息:
./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre=<path> option.
安装pcre devel解决问题
yum -y install pcre-devel
继续执行,接着报错:
./configure: error: the HTTP gzip module requires the zlib library. You can either disable the module by using --without-http_gzip_module option, or install the zlib library into the system, or build the zlib library statically from the source with nginx by using --with-zlib=<path> option.
安装zlib-devel解决:
yum install -y zlib-devel
NTP服务和DNS服务搭了一下,发现比较简单,公司有现成的脚本,暂略过,等在下次接手的时候再补充。
转载请注明:逗比根据地 » 实习日记 2020-03-04