Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 876

Warning: Invalid argument supplied for foreach() in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 877

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 881

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 876

Warning: Invalid argument supplied for foreach() in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 877

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 881

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902
Difference between revisions of "VM" - Sit

Difference between revisions of "VM"

From Sit
Jump to: navigation, search
(2. Expanding the drive in Ubuntu)
(Expanding disk)
Line 145: Line 145:
  
 
===Expanding disk===
 
===Expanding disk===
{{cleanup}}
+
This is a step by step guide that works with partitions, so be very careful, and keep in mind that though this is a guide and it's been tested, it's not guaranteed that it'll work on your system, (make a backup of your VM just to be safe).
Here a guide on how to expand the LVM drive, on the 60GB disk, will come
+
  
====1. Expanding the logical disk in VM====
+
This guide will only show how to expand the original 60GB disk where the SiT website + attachments are stored.
 +
 
 +
In this example I'll upgrade the drive to 80GB. I've typed in 80GB in the VM player editing the Hard Disk 2, see how [VM#Expanding_the_logical_disk_in_VM|below]
 +
 
 +
====Expanding the logical disk in VM====
 
First you need to make the logical disk larger through the VM, this is done like this (guide from VMWare Player).
 
First you need to make the logical disk larger through the VM, this is done like this (guide from VMWare Player).
 
* Start VMware Player
 
* Start VMware Player
Line 154: Line 157:
 
* Left click ''Hard Disk 2'' and you'll see some options to the right side of the window.
 
* Left click ''Hard Disk 2'' and you'll see some options to the right side of the window.
 
* Click the button ''Utilities'' and click ''Expand...''
 
* Click the button ''Utilities'' and click ''Expand...''
* Enter the new size and click ''Expand''
+
* Enter the new size and click ''Expand'' (I've written 80GB for this example)
 
* Click ''OK'' and start the SiT VM
 
* Click ''OK'' and start the SiT VM
  
====2. Expanding the drive in Ubuntu====
+
====Expanding the drive in Ubuntu====
 
First of all, ''Make sure that you've backed up all the data from /var/www''
 
First of all, ''Make sure that you've backed up all the data from /var/www''
 
This is a step by step guide that works with partitions, so be very careful, and keep in mind that though this is a guide and it's been tested, it's not guaranteed that it'll work on your system, (make a backup of your VM just to be safe).
 
 
This guide will only show how to expand the original 60GB disk where the SiT website + attachments are stored.
 
 
In this example I'll upgrade the drive to 80GB. I've typed in 80GB in the VM player editing the Hard Disk 2, see how above.
 
  
 
Start by checking that the OS actually sees the new size.
 
Start by checking that the OS actually sees the new size.

Revision as of 12:17, 19 February 2011

Personal tools
project