Download PHP:
http://nz2.php.net/get/php-5.2.5.tar.gz/from/a/mirror
Before run
./configure --with-apxs2=/usr/sbin/apxs --with-mysql
to install PHP be sure that following packages are installed
yum install httpd-devel
yum install libxml2-devel
yum install mysql-devel
Friday, February 29, 2008
Tuesday, February 5, 2008
To increase a disk size for a VM
To increase a disk size for a VM:
- In XenCenter "Storage" tab add a space
- In the VM console create a physical volume: pvcreate /dev/xvdb
- Extend a Volume Group for the physical volume: vgextend VolGroup00 /dev/xvdb
- Extend a logical volume for the size of new disk: lvextend -L +39G /dev/VolGroup00/LogVol00
- Switch to single user mode: init 1
- Extend file system to the whole logical volume: resize2fs /dev/VolGroup00/LovVol00
Subscribe to:
Posts (Atom)