June 2014 Archives
Wed Jun 18 19:04:58 ICT 2014
Partition a disk with GPT
I need to write down the steps to partition a disk with gpart.
This is not compatible with MBR and Windows partitions.
- Create the GPT partition scheme:
gpart create -s GPT da2
- Create a boot partition:
gpart add -t freebsd-boot -s 512k da2
- Create the root partition:
gpart add -t freebsd-ufs -s 4g da2
- Create the swap partition:
gpart add -t freebsd-swap -s 4g da2
- Create the usr partition:
gpart add -t freebsd-ufs -s 20g da2
- Create the var partition:
gpart add -t freebsd-ufs -s 4g da2
- Create other partition(s) (omit the -s to use the
remaining of the disk):
gpart add -t freebsd-ufs da2
- Make the disk bootable:
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da2
Thu Jun 5 15:20:02 ICT 2014
VMware vSphere Client on Windows XP
Starting with ESXi 5.5, the VMware vSphere Client cannot run on Windows XP due to some incompatibilities on the cipher used.
You need to modify the rhttpproxy service to reduce the implied security by allowing the host to communicate using weak cipher suites:- Connect to the host via SSH.
- Navigate to the directory /etc/vmware/rhttpproxy/
- Backup the config.xml file. Do not skip this step.
- Edit config.xml and add the
<cipherList>ALL</cipherList> parameter between
the <ssl>...</ssl> section of the
configuration file. Use the model below as an example:
<config> ... <vmacore> ... <ssl> <doVersionCheck> false </doVersionCheck> <useCompression>true</useCompression> <libraryPath>/lib/</libraryPath> <handshakeTimeoutMs>120000</handshakeTimeoutMs> <cipherList>ALL</cipherList> </ssl> ... </vmacore> ... </config>
- Save and close the config.xml file
- Reset the rhttpproxy service for the change to take
effect by running the command:
/etc/init.d/rhttpproxy restart