THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Install VirtualBox from: https://www.virtualbox.org/wiki/Downloads or Vmware Player/workstation from : http://www.vmware.com/products/
- Download the Centos ISO From: http://centos.org/
- After you have installed VirtualBox or Vmware Create a New Host and Load the ISO. If you require further steps on how to install CENTOS Go here : http://www.tecmint.com/centos-6-3-step-by-step-installation-guide-with-screenshots/
- During the installation process Stop at the Filesystem Page. In this section instead of using LVM's you will have to create standard partitions for the application and data storage part. You can still use a LVM for the root dir.
A. Create two standard partitions one will have the application files and logs and the other will host the data.(Screenshots soon)
B. The other partition can be the LVM for the / and /home. (Later on you will need to change the location of the logs from /var/log to the standard partitions.) - Finish Installing the OS.
log-in to your vm and modify /etc/hosts so your can resolve hostnames for the VM's.
Code Block vim /etc/hosts and add the hostname and ip. You will need to modify this later on to add the extra nodes.
Turn iptables off during boot.
Code Block chkconfig iptables off
Turn selinux off.
Code Block vim /selinux/config and change 'SELINUX=enforcing' to 'disable'
- (Optional) Update CENTOS to the latest packages. I do this part due to security concerns. If you do not want to update the whole host then at least update openssl to the latest package. It can cause issues if using an older version.