Virtuozzo Linux 4.X – action scripts

A partir de la 4.0, los scripts específicos por VPS se encontrarán en: /vz/private/CT_ID/scripts Pueden haber los siguientes tipos: global mount This script runs immediately after vzctl mounts the Container private area. The Container itself is not yet running and the script is running in the Host OS context. mount This script runs immediately after […]

Linux – borrar partición RAID con mdadm

logo de linux

Lo primero será detectar los discos Observamos los discos y diversas particiones. Paramos el RAID y lo borramos. Links http://www.cyberciti.biz/faq/linux-disk-format/ http://www.cyberciti.biz/faq/linux-how-to-delete-a-partition-with-fdisk-command/ http://www.review-ninja.com/2009/05/software-raid-raid-arrays-mdadm-on.html

Virtuozzo – recrear Container

In case you have downloaded Virtuozzo distributive already (example for 64-bit PVC 4.0) as file “virtuozzo-4.0.0-${build_version}-x86_64.sfx”, please extract it in the following way: # mkdir -p /vz/full_distr # bash /path/to/virtuozzo-4.0.0-${build_version}-x86_64.sfx -d /vz/full_distr –extract

CentOS 5 – repositorio de test para PHP 5.2

Guía para actualizar php 5.1.6 en CentOS 5.X a php 5.2, utilizando un repositorio oficial de CentOS. Añadir repositorio de desarrollo # vim /etc/yum.repos.d/CentOS-Testing.repo [c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing includepkgs=php* # yum update Links http://wiki.centos.org/HowTos/PHP_5.1_To_5.2