Sorry for the delay in the answer. Following your questions:
Bitnami documentation specifies the following command to assign a static IP (sudo ifconfig eth0 192.168.1.234 netmask 255.255.255.0 up ) In this case i have my own IP. The IP was assigned succesfully to the eth0 adapter but when i restart the VM this configuration is lost and have to run the command again, what am i missing ?
sudo ifconfig eth0... it's a temporal Ip address asingment, so when you restart the virtual machine you will loose the configuration.
To make it persistent you must modify the
/etc/network/interfaces and add the configuration of the interfaces you want to modify.
Assuming i don't restart the VM and keep the configuration of the static IP i can ping the following:
The VM itself, other devices in the same network, network's default gateway... but not the host machine (laptop) and not other devices of other networks, plus cannot access the internet. Again, what am i missing?
Have you configured the gateway for the virtual machine? it seems that you have the network configuration of vSphere is correctly configured but as you manually changed the configuration of the eth0 interface you haven't got a gateway configured. Could you try adding in the
/etc/network/interfaces the gateway of the eth0 interface?
Your configuration file should look like this:
iface eth0 inet static
As the documentation says por 22 SSH is open by default, and specifies once assigned the IP i can connect remotely, in this case Super Putty but get the following error: Connection timed out, i belive it has to do with the point above.
As you don't have your virtual machine connected to your gateway, you won't be able to make ssh into it because the gateway won't find that device in your network. So you must connect it first to the gateway.
You also can check what ports have you open by tiping:
And you should see the 22 port open.
We also will take a look at the guides to see if we can improve them.