Montar un cacti en 2 cliks

29 mayo 2008 – 16:02 pm

te aseguras que en tu repositorio yum tengas, además de lo típico, algo así:

root@localhost ~]# cat /vz/template/centos/5/i386/config/yum.conf
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

# Name: RPMforge RPM Repository for Red Hat Enterprise 5 – dag
# URL: http://rpmforge.net/
[RHEL5-rpmforge]
name = Red Hat Enterprise 5 – RPMforge.net – dag
#baseurl = http://apt.sw.be/redhat/el5/en/i386/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
#gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 0

Luego te montas la maquina con algo del estilo:

vzctl create –ostemplate centos-5-i386-minimal –config split5
vzctl set –onboot yes –save
vzctl set –ipadd a.b.c.d –save
vzctl set –nameserver a.b.c.d –save
vzctl set –hostname cacti.pepep –save
vzctl start

Y con esto, el último paso es:

vzyum install cacti php-eaccelerator mysql-server crontabs joe tar gzip vixie-cron

Compartelo/share-it:
  • Print
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • LinkedIn
  • PDF
  • RSS
  • Twitter
  1. 2 Responses to “Montar un cacti en 2 cliks”

  2. en virtuozzo:

    vzpkg install -p mysql-server crontabs joe tar gzip vixie-cron
    vzpkg install -p 147 freetype gmp libart_lgpl php php-cli php-common php-mysql php-pdo php-snmp

    By David Toribio on mar 31, 2009

  3. Hi

    no te faltaría el propio paquete del CACTI en el Virtuozzo? O en Virtuozzo te bajas el CACTI y lo instalas por RPM o fuente?

    Saludos

    By Ruben Ortiz on may 4, 2009

Post a Comment