且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Jenkins/Hudson CI linux RH安装的最低要求

更新时间:2023-11-14 12:49:34

我一直在维护Jenkins/Sonar/Nexus,并指出了最低配置(Debian 5):

I've been maintaining a Jenkins / Sonar / Nexus and I pointed out a minimal configuration (Debian 5):

  • CPU:不适用(至少再见普通的老式CPU;))
  • RAM:1GB(我希望2GB)
  • HDD:取决于需要.对于我来说,一个8模块的J2EE Maven项目+ db脚本(6500行代码)代表不到50 MB.我将Jenkins配置为存储10个版本(500 MB)

但是,如果詹金斯当时必须管理多个项目,则必须考虑以下几点:

However, if Jenkins has to manage several projects at the time, you have to consider few things:

  • 使用您选择的Jenkins配置方式将Jenkins数据保留在系统的单独目录中(默认安装会将这些数据放在/usr中)
  • 在此目录上安装专用的HDD分区,并提供一种管理磁盘空间的方法(虚拟驱动器,分区大小调整工具...)
  • 监督活动以防止留下空间并避免生气的老板:)(例如,Nagios)
  • keep Jenkins data in a separate directory of the system (default install may put those in /usr) with the Jenkins config way of your choice
  • mount a dedicated HDD partition on this directory and let you a way to manage space on disk (virtual drive, partition resizing tool...)
  • supervising activity to prevent space left and avoid an angry boss :) (Nagios for example)

考虑备份,服务器上的其他应用程序以及重要的事情-Jenkins资源取决于JVM的容量.

Think about backup, other application on server, and a important thing - Jenkins resources depends on JVM capacity.