Assigning a Static IP – Bitnami WordPress VMware VM

Firstly enable SSH on the VM by running the following commands.

$ sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf
$ sudo start ssh

Once SSH is enabled SCP to “/etc/networking/interfaces” and changing the following (You may have to run chmod and give the user bitnami rights in order to edit it.

auto lo eth0 
iface lo inet loopback 
iface eth0 inet static 
address (this is your static IP) 
netmask (again, this should match your network.) 
gateway (enter gateway/router address)
dns-search domain.local (Enter your domain if applicable)

Save the changes and either restart the VM or run the below command for the changes to take affect.

 "/etc/init.d/networking restart"