TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main
1. Change to the oracle virtualbox directory where you can run VBoxManage command | |
cd "C:\Program Files\Oracle\VirtualBox" | |
2. Clone the .vmdk file to a new .vdi file | |
VBoxManage clonehd "C:\Users\Somebody\VirtualBox VMs\Windows7\windows7.vmdk" "C:\Users\Somebody\VirtualBox VMs\Windows7\windows7.vdi" --format vdi | |
3. Run the next command to expand the cloned vdi disk. For instance, to expand to 50GB, do: | |
VBoxManage modifyhd "C:\Users\Somebody\VirtualBox VMs\Windows7\windows7.vdi" --resize 51200 | |
4. In case you want convert to the .vmdk format, clone the new .vdi disk to .vmdk |
download=http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz | |
wget $download -O wkhtmltox.tar.xz | |
tar xf wkhtmltox.tar.xz | |
sudo mv wkhtmltox/bin/* /usr/local/bin/ | |
rm -Rf wkhtmltox* |
TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main