Thursday, 8 August 2013

Openstack install

So I'm trying to install Openstack on a few virtual machines at home.

Trying to use/ learn and experiment with Openstack to see how it compares, if it does with some of the other options out there.
So I'm using Ubuntu LTS 12.04 and got the network configured and just spent too much time trying to install the basic starting config, the Chef install.

I kept getting errors

++ DISTRIB_RELEASE=12.04
++ DISTRIB_CODENAME=precise
++ DISTRIB_DESCRIPTION='Ubuntu 12.04.2 LTS'
+ OS_TYPE=ubuntu
+ OS_VER=12.04
++ uname -p
+ '[' x86_64 '!=' x86_64 ']'
+ CHEF_SERVER_VERSION=11.0.4-1
+ [[ ubuntu = \u\b\u\n\t\u ]]
+ apt-get update -y --force-yes
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Didn't matter if I tried sudo, su or just paste the command.

Well I learnt something new, the Root account is locked on a default. Well maybe locked is too strong a word. The help pages state;
 Enabling the Root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent Root login, the best alternative is to simulate a Root login shell using the following command...


and the command to enable it is
sudo -i
I get in as the Root user and the install goes ahead OK

root@ubuntu:~# curl -s -L https://raw.github.com/rcbops/support-tools/master/chef-install/install-chef-server.sh | bash
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ '[' -e /etc/lsb-release ']'
+ source /etc/lsb-release
++ DISTRIB_ID=Ubuntu
++ DISTRIB_RELEASE=12.04
++ DISTRIB_CODENAME=precise
++ DISTRIB_DESCRIPTION='Ubuntu 12.04.2 LTS'
+ OS_TYPE=ubuntu
+ OS_VER=12.04
++ uname -p
+ '[' x86_64 '!=' x86_64 ']'
+ CHEF_SERVER_VERSION=11.0.4-1
+ [[ ubuntu = \u\b\u\n\t\u ]]
+ apt-get update -y --force-yes
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://us.archive.ubuntu.com precise Release.
......

Hope this helps someone.


Friday, 12 October 2012

The next odd decision

I changed jobs over a year ago and since then have done >…< this much exercise.
Done some stretching, and other bits but bugger all else. So to fix it for the last few weeks I've been getting bike, kit and my brain sorted to cycle to work.
One way trip, 3.6 Km
Hills to work 0.1 Km
Hills to house 3.5Km

I got a slagging from a work colleague that I knew the exact distance. Well when you coast down to work.....you need to know the pain home.

Anyway, 2 days down and all is well. I even get thinking time as opposed to listen to pointless radio rambling.
Have to drive tomorrow, as I need a suit for the far side if the city. I'm disappointed, but my butt is happy.

Next time Linux distro ( so far, Red Hat, Centos and Ubuntu), Windows 2008 and higher and really bad IP communication.

Wednesday, 11 April 2012

Add a "Tile" to Windows 8 Server


To add a program to the "Start" List


Hit Windows key



Right click on the background and and hit All Apps







Select the program “App” you want, in this case Command Prompt and “Pin to Start”






Now Command Prompt is available in the “Start Menu”




 And I can drag it to the location I want!



















Woooooo Hoooo