Login credentials of Ubuntu Cloud server image


Question I am trying to build a cloud infrastructure using VM's In the Openstack manuals, it is mentioned that the images in this link contain, Openstack pre-installed. I downloaded the trusty-server-cloudimg-amd64-disk1.img file and I loaded it using KVM. I instantiated a Virtual Machine using this image but I am not able to login (using the console) or ssh into it. I do not know the default username and password of that OS.…
Read more ⟶

Cannot connect to the Docker daemon. Is the docker daemon running on this host?


Question I have installed docker on ubuntu 14.04, it told me installed successfully. Then I entered sudo docker version, it returned Client: Version: 1.9.1 API version: 1.21 Go version: go1.4.2 Git commit: a34a1d5 Built: Fri Nov 20 13:12:04 UTC 2015 OS/Arch: linux/amd64 Cannot connect to the Docker daemon. Is the docker daemon running on this host? I entered sudo service docker status, I got docker start/running, process 8063 I tried sudo docker images and sudo docker info, I got the same reply:…
Read more ⟶

MongoDB Failing to Start - ***aborting after fassert() failure


Question I am new to Ubuntu (Linux tbh). I encountered problem with starting MongoDB service. I want to created web app using Ruby on Rails and MongoDB but mongo seems to fail to start. I followed this MongoDB installation on Ubuntu all of installation went without problems until I got to sudo service mongod start mongod.log 2016-01-01T10:58:15.545+0000 I CONTROL ***** SERVER RESTARTED ***** 2016-01-01T10:58:15.548+0000 I CONTROL [initandlisten] MongoDB starting : pid=3868 port=27017 dbpath=/var/lib/mongodb 64-bit host=damian-CX61-0NC-CX61-0ND-CX61-0NF-CX61-0NE 2016-01-01T10:58:15.…
Read more ⟶

Open files in existing Gvim in multiple (new) tabs


Question I have put some aliases in my .bashrc to open a group of project files in gvim, each in their own tab: gvim -p <list of file names using absolute paths> This is all well and good, except there are several groups of files I might want to move between at any given time (my current project uses Ruby on Rails, so that explains that). What would be really awesome is if I could append the new tabs to an existing instance of gvim.…
Read more ⟶

How to install libusb in Ubuntu


Question I have a C program that have #include part in the header. I have download libusb-1.0.0 to my computer. If I simply copy libusb-1.0.0 folder to the folder where my C program is, it will not work. Therefore, I think I have to somehow install libuse-1.-.- to the folder where my C program is. However, I do not how to install it. Could anybody please help me. Thanks! Answer Usually to use the library you need to install the dev version.…
Read more ⟶

How can I stay tab-free in Geany on Ubuntu?


Question How can I stay tab free in Geany on Ubuntu? When I am coding in Python, tabs have always annoyed me. And the TAB is invisible. So strange. When I open my code by gedit, those TABs are visible. Answer You are looking for 'soft tabs' http://www.geany.org/manual/dev/index.html#editor-indentation-preferences Edit > Preferences > Editor > Indentation > Type > Spaces After changing the setting, close and reopen the file. To apply the tab settings to every document in the current session, also click: Project->Apply Default.…
Read more ⟶

PHP XML Extension: Not installed


Question So i'm currently installing mybb and went through a very long tutorial on how to do it. The problem is when I get to the requirements check this shows up How does one go about fixing this? I read that I may need to do sudo apt-get install php-xml I have done this and everything went ok but still doesn't change it to installed. FYI: I have only been using this OS for a few days so please go nice on me :) Answer You're close…
Read more ⟶