WHAT'S NEW?
Loading...

[bitnami] Ubuntu 14.04 VirtualBox Virtual Machine WordPress 4.4.2-1 (64-bit) enable ssh and install Midnight Commander

Bitnami virtual machine images contain a minimal Linux operating system and a fully configured Bitnami application stack, in my example i used a preconfigured virtual machine with WordPress 4.4.2-1 (64-bit). [Download here]

The default login information for WordPress cloud images is:

Username: user
Password: bitnami


  • Login with usename bitnami and password bitnami
  • Become root with the command sudo -i

Enabling SSH

The virtual machine by default comes with ssh turned off but you can easily enable it with the two following commands:

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

Installing Midnight Commander

Use the apt-get command to update downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages.
 
apt-get update

finally to install Midnight Commander use the command:
 
apt-get install mc

You can edit Wordpress files from this directory /opt/bitnami/apps/wordpress

Changing TTY keyboard layout

loadkeys es (Spanish, for example)
loadkeys pt (Portuguese, for example)
loadkeys br (Brazilian Portuguese, for example)

Changing Network Configuration

Opening the /etc/network/interfaces file will produce:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
Comment the previous 2 line with # and add your custom configuration with a static IP
iface eth0 inet static
    address 192.168.32.1 #the new static address
    netmask 255.255.255.0
    gateway 192.168.1.1 #your router
On Windows use IPCONFIG and you will get the values you need

Edit the /etc/network/interfaces file and when you are happy with your configuration restart the interface with the command below

ifdown eth0; ifup eth0
If you have the error message: Cannot find device "eth0" Failed to bring up eth0

The above error was solved by using the command: 

sudo rm -rf /etc/udev/rules.d/70-persistent-net.rules

sudo reboot

0 comments:

Post a Comment