Monthly Archives: February 2011

RHEL and web-server

Another thing you will notice if you are used to debian is that RHEL has iptables enabled by default.

To alter it you use the ‘iptables’ command. It is quite complex and there are good guides out there.

If you just want to let http and ssh through you can run this:

iptables -I RH-Firewall-1-INPUT 3 -p tcp -m tcp –dport 80 –tcp-flags SYN,RST,ACK SYN -j ACCEPT
iptables -I RH-Firewall-1-INPUT 3 -p tcp -m tcp –dport 22 –tcp-flags SYN,RST,ACK SYN -j ACCEPT

You do not have to change anything in httpd (made by apache by the way) to enable it.
Just point your browser. The document root is by default: /var/www/html

Time Sync for Linux VMs in VMWare Workstation

You may have seen in my previous post about EyeOS that I tried many things to get time in sync on the virtual OS. It was drifting lots of time and after a few hours it was an hour behind. Google tells me this is quite common but I could not find anything that decidedly fixed it.

run ntpdate every hour. This is not advised, primarily because it will add a lot of extra load after a while to the public(free) time servers. Especially if I want to have several machines up to date. One thought then was to set up a local ntpd and let other guest OS sync time with that. But then I could not get that in sync so we were back to square one.

others mention using VMWare tools time sync.

My setup:

Intel Quad Core i7-920
8GB RAM Corsair XMS3 DDR3 1333MHz 8GB CL9
Gigabyte GA-EX58-UD3R
Windows 7 x64
Vmware Workstation 7.1.1

What works for me

For ubuntu 10.10 x64:

Make sure vmware tools is installed (type vmware and hit ‘tab’).
With a .txt editor open up “vmname.vmx” on your host OS.
Set tools.syncTime = “FALSE” to “TRUE”. Restart vm.

Now on this particular machine I’ve had ntpd installed, but it is now uninstalled.

For Red Hat Enterprise Linux  5 x64 – RHEL 5:

  • Install vmware-tools (without make/gcc installed).
  • Set tools.syncTime = “TRUE”
  • Set up ntpd with the below from ntp.conf
  • Restart ntpd by getting root shell with ‘su -‘ and then ‘/etc/init.d/ntpd restart’

I filled out the ntp-information during installation and then after wards I added the “tinker panic 0” which should let the ntpd make ‘big jumps’ and by commenting the fudge-line I chose not to use the local clock because this is drifting so much.
More than 24 hours after I installed the OS the driftfile is still 0.000.

ntp.conf:

tinker panic 0
restrict default kod nomodify notrap nopeer noquery

restrict 127.0.0.1
restrict -6 ::1

# Hosts on local network are less restricted.
#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

server 0.rhel.pool.ntp.org
server 1.rhel.pool.ntp.org
server 2.rhel.pool.ntp.org

# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
#fudge  127.127.1.0 stratum 10

driftfile /var/lib/ntp/drift
keys /etc/ntp/keys
restrict 0.rhel.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 1.rhel.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 2.rhel.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery

Science-Fiction and Fantasy Books in Helsinki

Where to find them?
Where are some good second hand shops, new book shops, any tips on buying from the Internet.

Number 1: the library.

The library system here in Finland is actually quite awesome. You can go to their website and search and reserve books (costs 50c this year, 2011) and stuff. Nice. They can also send stuff from one library to another. When you reserve a book you decide where you want to pick it up. Then you show up with your card and 50c and you’re good!

If you are new to Finland, you do not need a social security number to get a loan card. You can get a temporary card that’s cool for six months. When you do get a card, just drop in (I showed the papers I got from maistraati) and they’ll add it to your profile.

Second Hand

Kampintorin Antikvaarinen kirjakauppa oy – location. It is on Fredrikinkatu and next to the hobby store, quite close to the spåra stop on Kamppi.

The one mentioned above has lots of fantasy in English. One rack and the bottom 5-6 or so are double stacked with two layers of books so you have to pull out the first row to see what is behind :)

Book Crossing looks like a nice concept!

So you get a label, put it on a  book you want to give away and either send it to somebody who has it on their wish list or just drop it off somewhere =) I have not tried it though. If I ever get my hands on a bunch of books I don’t want I’ll try to remember it. Or if I get back in touch with my old books that I’ve given away ;)

New Books

Suomalainen Kirjakaupa and Arcadia book shop.

Also Akademibokhandeln has lots of good English fantasy, several book shelves actually.

CDON.com has a good selection and bookdepository do free postage to Finland.

Upgrade WordPress 3.x

Hi!

If your webhost is running in php safemode then you may run into some issues, for example you cannot do the upgrade of WP automagically via the admin interface and neither can you upgrade plugins manually, which is a hazzle.

To do the upgrade follow this guide:

http://codex.wordpress.org/Upgrading_WordPress_Extended

I went from 3.0.4 to 3.1
and from 3.1 to 3.1.3
and from 3.1.3 to 3.2

The way I do it is like this:

  1. Download your blog ( in my case /blog) to your local machine.
  2. Make a backup of your mysql database ( via phpmyadmin in my case ). Good idea is to delete spam comments before you do this, saves a few bytes.
  3. Download and extract the latest wordpress on your local machine.
  4. In the directory where you extracted the new wordpress files, remove the directories that you are supposed to keep (mentioned in red text in the guide/link above and in #6 below).
  5. Copy over the files from your blog that you are supposed to keep, get them from where you downloaded the new files to your local machine.
  6. In my case the things I needed to copy were: wp-config.php, the folders under wp-content – and their content,  .htaccess
  7. The rest did not apply to me, as I did not have the cache, wp-images, plugins/widget and not using special language or special robots.txt
  8. On your web-host, rename the folder of your blog (I have mine under /blog)
  9. Upload the new directory from your local machine (the new one where you have copied in the things you needed to keep).
  10. Surf to /wp-admin
  11. Click upgrade db
  12. Take this opportunity to update some plugins if you have that are out of date.
  13. I did not have to alter my permalinks, the setting was the same (%postname%) and the links are still working.
  14. Done!

If you do run into problems this way, check out the forums for some assistance.

There are things you can use to make this a lot faster.
For example maybe a lot of files aren’t different between the versions.
If you don’t do backup or maybe if you don’t upload the whole new directory that will save you lots of time.

Some ftp-clients (flashfxp for example) have what’s called a skip-list where you can specify that files with the exact same size should not be over-written but skipped.

– What I did last time was to just download 3.2. Extract the archive. Remove the wp-content. Upload and overwrite the files on the web host. Tada. Not so complicated at all :)

Fantasy Book Review – George R.R. Martin – A Game of Thrones

Warning, this article may contains spoilers (I am trying to be sublime about them though) and have written them in white text just to be on the safe side.

Terminology

According to Wikipedia these books are in these subgenres:

High Fantasy – lots of fantasy stuff going on – like magic and monster. Opposed to low fantasy that has less magical components and is set in familiar world.
Dark Fantasy – a bit of horror

Tips

If you are reading the same book, check in the back for the family trees! Not any real clues that kills the book and comes in handy.

Notes

000- Got the book in Academic Book shop near Aleksanderinkatu, Helsinki.
001- Haven’t even read the prologue yet. Goes right into it though with a guy named Gared who’s old ‘n’ sturdy. Will and some noble on a high horse travelling through a dark (and scary) forest.
002- Lots of introductions (short chapters with names of characters) in the beginning, primarily of young people – indicating that these probably will be people we will be following later on in the series.
003- I like this. Pretty fast paced now in the introductions, beginning of the story; it’s not like the first book of LOTR.
004- Some animals / species or plants are real, as in they exist in our world too. For example Aurochs. One example I found is not the name of a tree ‘here’, but maybe they are taken from the name of a place – like the tree specie Weirwood.
005- Other animals are of course the dire wolves that are introduced to the reader very early in the book. There is a nice page on wikipedia about them :)
006- People can die! Even “good” ones. At least that’s what I hope. But I guess in all fairness it probably won’t be malazan style but I will hope!
007- About half-way through now. Some characters are less introspective, or is that just how I feel it? Because they ‘must’ be hiding something?
008- Ahh, beautiful. I think I will most definitely be reading more. Good character building in this book. Not too much “boring” – I mean it did not feel like the first book in Lord of the Rings which was relatively devoid of action. This book is definitely not and doesn’t feel like a classical ‘first’ book. For example lots of references are being made to the war when the current king Robert took the throne with the help of Ned/Edward. But not too much specific, it sure sounds like a lot of good action/stories happened ‘back then’.
009- See 002- :)
010- Done with the book now! Man am I hooked!
011-  Deaths? Yes. Definitely deaths by high-profiled characters in the book. But not by ‘surprise’ as in the Malazan. Maybe I should stop comparing everything to the Malazan series..

Ending Notes

In terms of proportion action/politics I believe the book is in par with the Wheel of Time Series by Robert Jordan. Probably a bit more action. Now will this change? I sincerely hope so, good action is something I enjoy. As long as it’s not too repetitive. Maybe it’s easy for authors to get stuck in the ‘same’ kind of action – describing quite detailed how the actual swords play go. This I find boring. But every now and then it’s nice – especially if there’s something besides the-hero-wins happening.

Now the ‘heroes’.

There’s the usual ‘we believe in the good and we are awesome’ – represented by the Stark family.
There’s the ‘Dr. Evil’ crowd  – represented by the Lannister family.
There are two outsider threads: Jon Snow and the Dragon siblings Dany and Visy.

Jon is ‘good’ but he is a hidden gem for the Starks. Maybe he will go his own way and pwn the Wall/north. Maybe he will come in handy later to fix the rest of the continent after the dragons/others come back. I hope both :)

Now as George R.R. Martin takes like 3 years between each book I will read something in between, then I’ll get on to the next in the series.

RHEL 5 + Unity

See my previous post for how to install it.

A couple of days later and the time is still in synch.
When I logged on there was a pop-up saying there were some updates.
Put in root password and you get to see which are updates, the ones with a symbol next to them requires a reboot (kernel update in my case).

The VNC that was installed was a VNC client, not the server.
There aren’t that many packages by default – this is probably because all depositories are not enabled and that this is not Fedora.

After installing vmware-tools, a reboot or two and the resolution can be changed to larger than 800×600. And Unity works as well!

Red Hat Enterprise Linux(RHEL) in VMWare Workstation

Test with Red Hat Enterprise Linux (RHEL).

Download: Sign up for an evaulation on https://access.redhat.com/downloads/

rhel-server-5.6-x86_64-disc1.iso

VMWare Workstation does find this in “easy install”. Not doing that this time.

20GBdisk (default) and 1552MB RAM (default 1024MB)

  1. install in either graphical or text mode, going with graphical. There are also special modes. Maybe something similar to Ubuntu’s minimal virtual kernel is available?
  2. test cd
  3. Mouse works!
  4. Get subscription number with the help of this: https://access.redhat.com/kb/docs/DOC-15404. Copy paste did not work.
  5. Filesystem stuff. Modify or not. Encrypt or not. I went with default and encryption. For encryption you need to set a boot password (min 8 chars).
  6. IP/Timezone settings.
  7. root password (not min 8 chars)
  8. software sets – software development, virtualization, web server. I went with the two last. You can also customize it deeper. Like: gnome/kde? Printing support? Samba? I chose web server but mysql was not selected, not the php-mysql plugin for apache either. Virtualization is Xen – openfabrics enterprise distribution for RDMA/infiniband stuff.
  9. cool stuff found: iptraf, hwbrowser, vnc
  10. /root/install.log for install .. log.
  11. After this it says that it will require all cds.. but I want to download them instead. How? proceeding anyway, let’s see what happens. Maybe it gives the opportunity to download instead. Googling in the meantime. Doesn’t look good. One way to do it would be to put the CDS/dvd on a network/http server in your LAN. But it does not mention a public repository etc.
  12. Formatting, then installing. It asks for CD2. No other buttons. Getting DVD instead. rhel-server-5.6-x86_64-dvd.iso
  13. DVD went fine, nothing after this, just reboot.

Booting

  1. Insert LUKS password – the encryption password you entered before.
  2. IPv6 failed during first boot.
  3. Also some kind of disk monitoring.
  4. Then a little configuration! This is nice. In ubuntu/debian it just goes into the system with a bunch of default setings.
  5. Like firewall, enabled/disabled. Trusted srevices.
  6. SELinux – ‘improved’ security controls, enforced/permissive/disabled. Keeping default: enforced.
  7. no kdump
  8. NTP! Enabling this, using default ntp servers (0.rhel.pool.ntp.org) and disabling ‘use local time source’. This part contacts the NTP server during install, which worked, so that looks good.
  9. Connect to RHN. Said yes. Takes a long time to register? no contact. Trying this later.
  10. Set up a new user. You can use kerberos or NIS too from here.
  11. Insert additional CDS
  12. Login prompt!

After login

  1. VM -> Install VMWare Tools – I want to use “Unity” in Red Hat. I’ve used it for Windows XP (had a guest os for work) and it was great.
  2. Right-click the tarball and ‘extract to’. You need to have root access when you run it. So open a terminal and type ‘su -‘ – this will give you the root prompt.
  3. Then go to where you extracted it. ./vmware-install.pl.
  4. Gives message that I apparently am running a Xen kernel and that this is not supported. Trying anyway. Answering yes as default on the questions.
  5. Install was successful, opening configuration tool. Some green ‘OK’ s.
  6. Before we can compile we need to have make and gcc installed. It also asks for kernel headers that it couldn’t find. Going with the default “” on that.
  7. memory manager, vmhgfs (filesystem driver for shared folders), vmxnet (fast ethernet), vmblock (drag ‘n’ drop), communication service, vsock, vmxnet3 (virtual network card), pvscsi,  – not installed because no compilation software like make/gcc installed.
  8. x configuration, host resolution found but vm resolutions max at 800×600!?
  9. restarting and it said good stuff, but unity does not work and resolution cannot be changed above 800×600.
  10. accessing via ssh works fine too

PS3 – yes or no?

As I will soon be getting some income again, we thought this might be a good time to get a video game console.

We do like the look of PS3 (Gran Turismo 5, NHL, etc). A bit pricey though.
And then there’s also all this negative news I keep on seeing about what Sony are doing to prevent the recent compromised “some kind of authoring/security key”.

Should we still get it? Maybe they’ll get cheaper now?

It would have been nice to use something similar to XBMC that I had on my XBOX (some 7 years ago).

Other options would be a

Wii – bores me pretty quickly but it’s an OK party machine, but personally I prefer talking to people at parties

and

XBOX360 (doesn’t have Gran Turismo 5).

Finnish third year students celebrations

Walked through a peaceful and frosty Helsinki today, when we stumbled on the Boulevard we were showered in candy and various songs on the theme ‘we are the best’!

Turns out this is a tradition, the to be graduates celebrate last school day in ‘Gymnasium’ the rest of the semester is just tests apparently :-)

In Sweden we did have less classes, more tests and projects but this varied depending on which programme we attended.

All in all, spirit-lifting with so many people dressing up, populating their whole class on the back of a lorry and often with a theme and cool words on cardboard.

Thank you Helsinki and all good luck in the next months!

Job

Awaiting job confirmation then I will have more lovely things to write about!

All depends on the NDA I may have to sign :s

It is possible to find a job in Finland if you don’t know the local language. Just takes persistence.

Detroit Red Wings – Boston Bruins 13/2 2010

Ah, finally. That felt good.

Maybe Boston was a bit down but honesly, 6-1? A few shots from Boston that hit the posts but it didn’t feel like they sent many really difficult towards Jimmy Howard.

Been a while since Red Wings won this – and especially nice to see the big names doing what they’re supposed to be doing :)

Install Drupal 7 in Debian 6

Time for another go!

Drupal is ..

.. a pretty famous and widely used CMS out there – so here we go ->

1. Get sudo configured on debian. Sucks to have to log on as root all the time when installing apps etc.

2. Download and untar drupal 7

3. Read INSTALL.TXT

Requirements:

– A web server. Apache (version 2.0 or greater) is recommended.
– PHP 5.2.4 (or greater) (http://www.php.net/).
– One of the following databases:
– MySQL 5.0.15 (or greater) (http://www.mysql.com/).

“sudo apt-get install lamp-server^” does not work in Debian 6 :/

Following this guide instead.

  1. aptitude update  and then upgrade (maybe not necessary because I used apt-get.. why have two??)
  2. sudo apt-get install mysql-server mysql-client (in Debian 6 you put in sql root user password during install)
  3. sudo apt-get install apache2 php5 php5-mysql libapache2-mod-php5 phpmyadmin
  4. Surf to http://ip/phpmyadmin and log on to the mysql db – does it work? yay!
  5. Create drupal db – see INSTALL.mysql.txt – basically this just tells you to create a database and a user. It asks you to do this via manual SQL queries, but we have phpmyadmin so we just have to; 1. click on databases and create a new one. 2. after that, click on privileges and create a new user. 3 just type in username and password, leave the rest for default.
  6. Copy extracted files to your www directory. Beware of rights, use chmod and possibly chown. /var/www/ is the default directory.
  7. Surf to http://ip/drupal (where install.php is)
  8. Standard setting
  9. Then it complains that it doesn’t have access. Because I had to set chmod 777 on the ‘sites’ directory under /drupal.
  10. Then I need to copy a file and make it writeable, just doing what the script tells me to.
  11. Configure the database settings.
  12. Now you can remove write access permissions on the sites/default directory and sites/default/settings.php
  13. Put in contact and admin accounts stuff.
  14. Done! Wow, that was easy :)

So much to do in there!
I will have to get back about this in another post :)

Ubuntu 10.10 + VMWare + Irssi

How small VM can you make if you are only going to use it to run Irssi in a screen?

OS: Ubuntu 10.10 x64 Virtual Kernel
Hypervisor: VMWare Workstation

Disk – no logs – 1.10GB is what my previous took, with samba, so probably less but 1.1 should be all right, don’t want it to run out of space either. Should probably partition /var/log into its own so that if that fills up (maybe after bruteforce ssh logins) then it doesn’t fill up the rest of /.
RAM –

  • turn off cron jobs
  • install virtual kernel

about the cron jobs, I just installed a ubuntu virtual kernel and only cron job running (as seen in syslog) is this:

CRON[9141]: (root) CMD (   cd / && run-parts –report /etc/cron.hourly)

Test 1

1.2GB disk
64MB RAM

Kernel panic – not syncing: attempted to kill init!
ctrl-alt-del in the VM doesn’t work, had to hard kill it :p
Reboot – same problem. It does this after selecting minimal virtual kernel and pressing install Ubuntu Server.

Test2

Increased RAM to 96MB and now it passed.
However, after selecting keyboard it still crashes. So 96 is also too little.

Googled around a little and found an article on Ubuntu.com that gives some insight.

For example: if you run out of memory, then it will swap. So if you are not running out of memory then it’s probably better to give it a little more to be on the safe side.

Test 3

Increased RAM to 128MB
Now it goes even longer.

Partitioning -> chose manual.
There is a device there ‘sda’ -> SCSI3. Mark that and hit enter. Say yes to create new empty partition. Then it creates a new space pri/log. Create new partition.

As size, type in: 100MB
Primary, beginning, default settings on the filesystem etc but mount point: /var/log. Then done setting up this partition.

Then we will create another partition for / (or the rest).

Like this:

ubuntu_partition right

ubuntu_partition right

The above does not include a swap space, and the installation complains that there is no swap space defined and that there may be problems if this is not configured during install.

Let’s see :)

** maybe Ubuntu is not the slimmest OS to install for this purpose. The guide I linked to above mentions a DSL – damn small linux. But we want a minimal server OS, not a desktop one. Maybe the new Debian 6 would be cool to try.

During install there was a dialogue about something being already on the disk.. and that this could cause issues. Maybe this was copied there from one of the previous tries with less amount of RAM. Went back and erazed this on each just to be on the safe side. Very slow though. About 1% / s. After this I went into each and set them to format instead. It mentions old installation files anyway. Proceeding. This happened twice? Three times now.. Maybe this is not going so well. Ok happened four times.

Hit Alt+F2 (and then enter to get the console) and then df -h. Nothing is over 20% except the SR0/cd-rom which is at 100%. Did a ‘more /var/log/syslog’ and at the end there are some ‘Out of memory’ things going on.

So there we go. 128MB is too little.

But here:  it says that 128MB is the requirement..

Test 4

I will try to install again and not mess up with the partitions.
1.2GB and 128MB again.
Going pretty well, looks like it’s stopped at 75% and “storing language”. Patience. Ok, 10mins later still there. Nothing about out of memory in /var/syslog. The Guest was behaving a little slow though when working the console.
Left it on over night and when I looked again the following day it was at the next step!

Installing openssh via the installation menu this time.
Taking quite long time this time as well. Like hours. 2 hours now. Nothing happening in syslog. Think I’ll give Debian a shot next Test.

In the meantime did Test 5. However 4 hours later, still configuring ‘language-pack-en-base’.

Now, approximately lots of hours later. It is at configure grub.

And yay, it finally boots!

user@irssi:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             1.1G  430M  606M  42% /
none                   54M  164K   54M   1% /dev
none                   57M  4.0K   57M   1% /dev/shm
none                   57M   36K   57M   1% /var/run
none                   57M     0   57M   0% /var/lock
none                  1.1G  430M  606M  42% /var/lib/ureadahead/debugfs
/home/martbhell/.Private 1.1G  430M  606M  42% /home/martbhell

And the size of the folder in Windows: 750 MB (787 341 312 bytes)

With 128MB ram there is maybe 10MB free and it swaps a little (just a few kB so far).

Test 5

debian-6.0.0-amd64-netinst
Using Debian 5 64-bit.

  1. graphical menu is seen, no advanced options used
  2. chose languages – look a lot like Ubuntu but there are some differences:
  3. After choosing a hostname it asks for domain. Put in WORKGROUP.
  4. Set a root account password (so no more sudoing – probably just add my user to the wheel/root group).
  5. and you have a few more options in the partitioning, like a separate /home partition
  6. then you get to chose a debian mirror (becuase I use the netinst). ftp.fi.debian.org is the one I chose
  7. you can participate in a “most used packages” survey
  8. software selection: graphical desktop, web, dns, ssh, laptop, standard system utilities. I chose SSH and standard system utilities.
  9. grub, then reboot and loading!

Internet works fine from the start. apt-get update; apt-get install irssi
Remember, here you have to log in as root to run ifconfig or apt-get.

It’s the same way in Debian as in Ubuntu to set static ip. Just edit /etc/network/interfaces / don’t forget you can just restart the networking services by ‘/etc/init.d/networking start’ instead of rebooting ;)
Now, I actually forgot to set minimal ram/disk for this one. So we have to do this again ;)

Test 6

debian-6.0.0-amd64-netinst
Using Debian 5 64-bit.
128MB RAM

One thing that’s cool about a VM is that you can resize the amount of RAM whenever (probably good to turn off the guest first). So how about just lowering it instead of installing a new one?

OK, so it now has 512MB. Going down to 64 in one go (listed as minimum in VMWare Workstation).

It’s swapping after just a few minutes with screen+irssi.

to sort by memory usage in top press SHIFT+m

biggest memory hogs (all over 1% – figures in bold) are :

1474 user 20   0 23388 6220 1572 S  0.0 11.2 0:00.25 bash
1503 user 20   0 50084 5228 3824 S  0.0  9.4 0:00.06 irssi
1470 root      20   0 70488 3280 2584 S  0.0  5.9 0:00.03 sshd
913 root      20   0  117m 1788  904 S  0.0  3.2 0:00.01 rsyslogd
1473 user 20   0 70488 1680  964 S  0.0  3.0 0:00.06 sshd
1502 user 20   0 25184 1472  992 S  0.0  2.6 0:00.01 screen
1546 user 20   0 19040 1300 1004 R 99.9  2.3 0:00.01 top
985 root      20   0 22392  712  512 S  0.0  1.3 0:00.00 cron
1233 Debian-e  20   0 44140  660  392 S  0.0  1.2 0:00.00 exim4
1472 root      20   0  5928  620  520 S  0.0  1.1 0:00.00 getty
1 root      20   0  8352  616  560 S  0.0  1.1 0:01.42 init
1277 root      20   0 49168  544  428 S  0.0  1.0 0:00.00 sshd

What I might be able to get rid of is rsyslogd and cron. But then again, if I were to connect this to the internet so I could access it and resume the screen/irssi from anywhere, I would want to keep track of what is happening on the machine.

user@debian:/var/log$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             3.8G  638M  3.0G  18% /
tmpfs                  28M     0   28M   0% /lib/init/rw
udev                   23M  140K   23M   1% /dev
tmpfs                  28M     0   28M   0% /dev/shm

Windows usage: 887 MB (930 816 000 bytes)

Summary

The Ubuntu Server 10.10 with the minimal virtual kernel took forever to install (maybe it would have been faster to have more mem during install and then lower when it’s done) and with 128MB it still swaps a little with only screen and irssi running. But it does use about 130MB or 200MB less space than the Debian6 guest.

The Debian 6 however runs OK with 64MB, swaps a little at that though so I would probably run this with 96 or 128MB just to be on the safe side if I were to run it.

VSP / VMAX / VAAI

Lots of acronyms :)

VMAX – EMC
VSP – HDS
VAAI – VMWare’s Storage API

I really liked a post by the storage anarchist as it quite eloquently explains what is happening and a great benefit of VAAI. Granted the post primarily speaks about the eraze part and I’m not that knowledgeable about VAAI itself to tell if there are any other features – but there is – at least according to this article on vmetc.com. This does not focus on the same two features that the anarchist mentioned. Maybe the storage anarchist did not want to mention all of these other features because they actually do work quite well for arrays that are behind the VSP.

File share from Ubuntu 10.10 with Windows 7 Client

Figured I would give this a shot and see how this is done in Linux.

Overview

1x Ubuntu 10.10 VM in VMWare Workstation. Installed with virtual kernel.
1x Windows 7 VM. All updates.

Not going to go through the installations in this post, just the domain/LDAP part. See previous posts for installation stuffs.

Found this article on ubuntu.com -> -> 10.10/serverguide/C/network-authentication.html .. But this does not exist anymore.

Whoa, quite a lot to do. Think I will read the manuals this time :)

Basically I think I just need to install and then configure Samba.
Because it has file-sharing and authentication/authorization.

So, first step will be to install Samba and try file-sharing.

File Sharing

sudo apt-get install samba

installs these:

The following NEW packages will be installed:
libavahi-client3 libavahi-common-data libavahi-common3 libcups2
libfile-copy-recursive-perl libgnutls26 libldap-2.4-2 libsasl2-2
libsasl2-modules libtalloc2 libtasn1-3 libwbclient0 samba samba-common
samba-common-bin update-inetd

After that I can run \\192.168.0.ip which is the IP of the VM running samba – it gives me a login prompt.

Uncommenting this in /etc/samba/smb.conf

[homes] comment = Home Directories
browseable = yes

Still asks for a password. Tried with user@ip – this seems to work. It shows a directory called “homes” but it doesn’t work to browse into it.

[2011/02/06 16:30:45.949726,  1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED

Set ‘share’ and set the guest account = nobody  then I got this:

[2011/02/07 13:22:06.770082,  0] smbd/service.c:988(make_connection_snum)
canonicalize_connect_path failed for service foo, path /mnt/foo

Then what I did was this:

  1. created a directory called /samba
  2. sudo chmod +x /samba
  3. sudo chmod 777 /samba
  4. sudo chown nobody /samba
  5. add this to /etc/samba/smb.conf
  6. [foo] comment = foo
    path = /samba
    read only = no
    guest ok = yes
    guest only = yes
    browseable = yes
  7. security = share
  8. guest account = nobody

And then \\ip\foo and woopsie! I can both write and read :)

[2011/02/07 13:23:14.022980,  1] smbd/service.c:1070(make_connection_snum)
192.168.0.ip (192.168.0.ip) connect to service foo initially as user nobod

yay!

Ubuntu 10.10 Minimal Virtual Kernel + VMWare Workstation

To install Ubuntu 10.10 with a virtual kernel instead of the normal one = good, less stuff installed that you may not need.

  1. When setting up the install, do not use the easy install. Chose to install an OS later. Set up bridged/nat depending on which one you want.
  2. Add the install .iso to the CD-drive in the VM
  3. Select a language
  4. Press F4 (it didn’t work in the first screen)
  5. Chose – install a minimal virtual machine
  6. Install Ubuntu Server
  7. Chose language again
  8. Chose key map – (I chose English and had to browse to Finland)
  9. Asked to press some buttons, wanted Swedish (but have an English keyboard) so tried to press the right ones :p
  10. Then time zone Helsinki/Finland was found.
  11. Using default (whole disk, no encryption or lvm) for partitioning.
  12. set up users
  13. set up encryption on home dir
  14. proxy setup
  15. installing security updates automagically
  16. any extra packages (DNS, LAMP, Mail, OpenSSH, etc)? – I chose no, want to chose this myself later.
  17. yes I want grub (it finds only one OS on the virtual disk ;)

Then I see the login prompt! Obviously the easy-install in VMWare Workstation has a lot less steps :)

But on the other hand you could install OpenSSH directly through the install and then you do not have to log on to the VM via VMWare Workstation, but can do it via your favorite ssh program instead.

Post install

What I want installed every time after an uninstall.
After install it is a very very small installation.
Not even ‘man’ is installed.

sudo apt-get install openssh-server ntp nano

edit /etc/network/interfaces – configure static ip
edit /etc/ntp.conf – add time servers
edit ~/.bashrc – change colors in the prompt and add color

Kernel difference you can see when running uname: 2.6.35-22-virtual in comparison to 2.6.35-22-generic

There!

Now you can set up whatever you want on it! Of course you may want to do more things, set up iptables or you could use it like it is before the things I do after each install. You can use vi instead of nano/pico and use dhcp instead, depends on what you are going to do with your VM.

Finnish – Word Cases – Non-productive Cases

Part one of this article – describing the Cases expressing Grammatical Functions.
Part two: Locative Cases
Part three: Others

Non-productive Cases

Abessive

Meaning/function: without
Ending: -tta; ttä
Example: syyttä
Examples: S/he got angry without reason. – Hän suuttui syyttä.

Prolative

Meaning/function: channel , by
Ending: -tse
Example: postitse, maitse
Examples:
The books come by post. – Kirkjat tulevat postitse.
The transportation takes place by land. – Kuljetus tapahtuu maitse.

Instructive

Meaning/function: means, manner, how?
Ending: -n
Example: käsin, jalan, itkien
Examples:
This has been made by hand. – Tämä on käsin tehty.
Lönnrot travelled by foot. – Lönnrot teki matkansa jalan.
S/he came home crying. – Hän tuli itkien kottin.

Comitative

Meaning/function: company, with
Ending: -ne (+ possessive suffix)
Example: vaimoineen, ympäristöineen
Examples:
The president was also there with his wife. – Myös presidentti vaimoineen oli paikalla.
Helsinki, including its surroundings is the most densely populated area. – Helsinki ympäristöineen on tiheimmin asuttua aluetta.

Finnish – Word Cases – Others

Part one of this article – describing the Cases expressing Grammatical Functions.
Part two: Locative Cases
Part four: Non-productive

Others

Translative

Meaning/function: change into for (future time (DYN))
Ending: -ksi
Example: johtajaksi, jouluksi
Examples:
S/he became the manager last year. – Hän tuli viime vuonna johtajaksi.
I’m going to Finland for Christmas. – Menen jouluksi Suomeen.

Essive

Meaning/function: function, satte, quality, etc. Precise time (STA)
Ending: -na/ -nä
Example: johtajana, kuumana, mustana, sunnuntaina
Examples:
S/he is a manager in New york. – Hän on New Yorkissa johtajana.
The sauna is hot all day. – Sauna on koko päivän kuumana.
I drink coffee black. – Juon kahvin mustana.
I’ll come on Sunday. – Tulen sunnuntaina.

EyeOS – Cloud Desktop in your browser – Part 2

After my first comment ever by Adrian from the eyeOS forum I will now try this again and try not to install eyeOS wrongly by following a guide!

1/ Because I also tried to install cactii on the same VM the other day – and after that I saw some nasty out of memory messages. I will create a new VM – fresh, and with only 256MB RAM!

However, the guide is only for 2.x – So I will freestyle this time too. But follow the installation instructions on eyes.org :)

Overview

1/ Install Ubuntu 10.10
2/ Follow guide Not possible because uh, there is none for Ubuntu. There is one that begins with graphic interface for Debian.
3/ Win!

Requirements – PHP5

Installing Ubuntu

I use VMWare Workstation.
File -> New VM. Typical, installer disc image.
I used ubuntu-10.10-server-amd64 – I have an intel core i7.. (this is the one I used before, tried to find on ubuntu.com which one I should use but it says if you have a 64-bit, you’ll get the amd64..). Anyway. and also apparently it’s possible to press F4 during install and it will install a ‘virtual kernel’ which is good for when running in a virtualized environment! I had to change memory down to 256MB and then I also set the network type to “bridged” – so that it gets IP/DNS settings from my router instead of from my computer.

Also found a forum post that confirms, if you have an Intel 64-bit CPU – it is the “amd64” version you want to install.

So first time when I entered the VM through the VMWare shell everything worked fine.
Except that they keyboard was a bit messed up. When I pressed down it sent an enter.
In SSH via PuTty it’s working so I’ll do it that way instead. If you have this problem, check out this post – might be a VMWare bug or you may fix it with some CLI magic.

sshd is not installed by default -> sudo apt-get install openssh-server

Also probably good to change IP in the beginning, in case you want it on a static IP.
See my previous post how to set that. It’s a at the bottom of the post.

Time

Another good thing would be to set the time zone on the VM. You can find out how to do that in this post about lifehack/currency exchange rate.

To sync the time – so that it is up to date (mine was 30mins off) –

Edit /etc/default/ntpdate
Add a pool or use the default one – http://www.pool.ntp.org/zone/fi for Finnish ones.
Then run sudo ntpdate-debian

Do I really need to run this anymore? I’ll just let it be and try to keep track of it :p

*** Update: Just checked in on the time some 2 hours later and:

4 Feb 14:43:45 ntpdate[2494]: step time server 194.100.2.198 offset 910.266238 sec

So we need to have this executed every now and then, especially if it’s off 15minutes in just a couple of hours!!

Also found post on debian.org which clearly says that ntpd is awesome for fixing this. Especially in my case where the clock appears to be going slowly.

sudo apt-get install ntp
sudo pico /etc/ntp.conf

add your NTP-servers in there, I added those from the link above on ntp.org

then if you run this: sudo /etc/init.d/ntp status
it will tell you if it is running or not

I’ll check back tomorrow to see if this improved things ;)

*** 0847 unfortunately time is by now almost an hour off (0757).

martbhell@ubuntu:/var/www$ sudo /etc/init.d/ntp status
* NTP server is running

martbhell@ubuntu:/var/log$ ntpq –peers
remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
europium.canoni 193.79.237.14    2 u   12   64  377   44.012  2995645 13778.9

but supposedly this only runs once a day?

there is a program called ntp under /etc/cron.daily/

i’ll wait until today afternoon

** 2045  – it is now over an hour late..
** rebooted, now time is 2215.. 23 minutes too much!
** rebooted again, now time is good, 2054. :s

** a day later (maybe more)- and now it’s 3 hours behind.

supposedly ntpd will catch the drift after a while.

stopped VM and made a copy of hostname.vmx

then edited this with pspad and and changed

tools.syncTime = “FALSE”

to

tools.syncTime = “TRUE”

now time is good (Tue Feb  8 15:12:34 EET 2011), is that because of the reboot? Probably. That’s how it looks in syslog anyway.

Checking back in a day or two.

*** Wed Feb  9 06:45:09 EET 2011 – now 45minutes late.

*** Set up a script that monitors the offset. Looks like this:

offset = 3287.419925,;Tue Feb 15 04:30:01 EET 2011;
offset = 3634.005591,;Tue Feb 15 06:30:01 EET 2011;
offset = 3980.517817,;Tue Feb 15 08:30:01 EET 2011;

347,346,374

From /etc/ntp.conf I found that the drift file is this:

/var/lib/ntp/ntp.drift

it contains this value: 0.000

Manually changing this to -346.500

Also changed the default values to this in /etc/ntp.conf

restrict -4 default kod notrap nomodify
restrict -6 default kod notrap nomodify

#restrict 127.0.0.1
#restrict ::1

and rebooting the server, again.

bbl.

ok, this is bs.

sudo apt-get remove ntp

then running this:

sudo ntpdate 0.fi.pool.ntp.org

confirmed it updates time

44 * * * * /usr/sbin/ntpdate 0.fi.pool.ntp.org >> /home/user/tid/tid.log

bbl

ok, looked one hour later at 1445 and the time was right.
can now keep an eye on that tid.log file instead :)

don’t forget to add that to the root user crontab, with ‘sudo crontab -e’

*** a week later

ok that was an ugly fix and I do not condone doing that, that was me being a little frustrated :)

See http://www.guldmyr.com/blog/time-sync-for-linux-vms-in-vmware-workstation/ for how it worked out..

lamp

Download 1.x

install LAMP -> sudo apt-get install lamp-server^
The ^ needs to be there! All you need to do is to insert a mysql root password.

After this you can surf into http://localhost or http://ip of the VM.

phpymadmin

I also want to put in phpmyadmin (sudo apt-get install phpmyadmin) as well, this is nice tool to manage the mysql db. In that installation, choose apache2 by pressing space, then tab to get to the OK button. Then it asks about dbconfig-common, I chose no here because the db(mysql) is already installed. Then surf to http://ip/phpmyadmin/ and log on. If you see any databases there already -> you are now connected to the mysql you created before! Woop!

EyeOS Install

cd – this gets you to your homedir
mkdir eyeos
cd eyeos
wget $URL of eyeOS
install unzip -> sudo apt-get install unzip
unzip $FILENAME
put this in your web dir.
by default this is /var/www
by default you do not have permission to put files there, so use sudo to put the eyeOS folder in there.

sudo mv eyeOS /var/www
after this the user you have logged on with have ownership inside /var/www/eyeOS – means you don’t have to write sudo all the time :)

point your web browser to http://ip/eyeOS (note that it is case sensitive)
it will tell you that you need to chmod 777 some files, do that.

Then it will tell you to install these packages: SQLite and IMAP if you want mail client.

sudo apt-get install php5-sqlite (restart apache with ‘sudo apachectl restart’ and hit F5 on the installation page to see that the installation script now finds it)
sudo apt-get install php5-imap (free-styled that, worked out well ;)

put in a password and then hit install

then it’s installed!

eyeOS – nice!

It’s a lot slimmer than eyeOS 2.x and stuff appears to be working just off the bat.
Everything runs so fast too, in comparison to 2.x.

1.9.x for the win!

Do I really want to use this? Would I find it useful? Honestly I am a little scared by running this on my own pc.

Sharepoint – Part 3

The previous posts:
Part 1 – installing Sharepoint 2010 Foundation.
Part 2 – basic features in the web interface.

I said I was going to look into the RSS updates, how to manually edit the database and look into the underlying structure of the Sharepoint. But, only went through the last of the obvious administration tools :p

Other management tools

Under the start menu there are three new programs:

Central Administration –

This opens a page to http://win2k8:48820/default.aspx – I could log on with my extra account (the one with admin/owner privileges).

The sections are:

Application Management

Manage web apps, create site collections, service apps, content databases.

Under Manage Web apps there are some nice stuff you can change on each site. Select the site you want to work on and click on “General Settings”.

The central admin is it’s own site so by default there are two and the changes you make on one does not replicate over to the other one.
For example you can set timezone, resource throttling, outgoing e-mail, workflow, enable/disable some features.

In the bar on the top there is the possibility to change policy settings.

Back one step to App Management there is the possibility to add more databases and database servers.

System Settings

Manage farms and alternate access mappings.
Like adding features and solutions, change outgoing e-mail settings (notifications)

Backup and Restore

What ^^ says.
“To recover the data, use the PowerShell restore command Restore-SPSite.”

Monitoring

Review problems and solutions, check job status.

Security

manage farm admin group and configure service accounts

also you can specify anti-virus settings, block file types, and self-service site creation

Upgrade and Migration

check product, patch and upgrade status
for example you can see what versions you have installed:
I have:

Microsoft SharePoint Foundation 2010  – 14.0.4763.1000
Microsoft SharePoint Foundation 2010 1033 Lang Pack – 14.0.4763.1000
Microsoft SharePoint Foundation 2010 Core – 14.0.4763.1000

General Application Settings

configure send to connections, convert document settings, report services,

Configuration Wizards

none by default

Management Shell

This did not work, gave me this error: “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.”

Finnish – Word Cases – Locative (expressing place)

Part one of this article – describing the Cases expressing Grammatical Functions.
Part three: Others
Part four: Non-productive

Locative cases (expressing place) – internal locations (in)

Inessive

Meaning/function: in, inside, etc (STA)
Ending: -ssa/ -ssä
Example: hotelissa, puolessa, tunnissa
Examples:
I am in the/a hotel now. – Olen nyt hotellisa.

I will be in the restaurant in half an hour. – Olen puolessa tunnissa ravintolassa.

Elative

Meaning/function: from, out of (DYN), as a complement of some verbs
Ending: -sta / -stä
Example: hotellista
Examples: I am leaving the hotel now. – Lähden nyt hotellista.

Illative

Meaning/function: into, to, etc (DYN) as a complement of some verbs
Ending: -Vn; –hVn
Example: hotellin
Examples:
I just came into the hotel. – Minä tulin juuri hotellin.
I immediately took a liking to this hotel. – Ihastuin tähän hotelliin heti.

Locative cases (expressing place) – external locations (on)

Adessive

Meaning/function: on (STA), instrument, possession, (dative) time
Ending: -lla/ -llä
Example: kadulla, taksilla, minulla, illalla/talvella
Examples:

I’ll wait on the street. – Odotan kadulla.
I’ll come by taxi. – Tulen taksilla.
I have a car. – Minulla on auto.
I’ll come in the evening/in the winter. – Tulen illalla/talvella.

Ablative

Meaning/function: from (DYN) source
Ending: -lta/ -ltä
Example: kadulta, johtajalta
Examples:
The bus leaves from this street. – Bussi lähtee tälta kadulta.
I heard it from the manager. – Kuulin sen johtajalta.

Allative

Meaning/function: onto (DYN), to, etc. Recipient.
Ending: -lle
Example: Kadulle, hänelle
Examples:
The bus comes to this street. – Bussi tulee tälle kadulle.
I’ll tell him (that). – Kerron sen hänelle.

EyeOS – Cloud Desktop in your browser

Useful? Hopefully!
Interesting? Very!

Download on eyeos.org
//update 2011-12-20 : turns out there’s been some changes here. 2.5 is the one now and it’s found under open-source. There’s also professional or other editions.

Installation

The installation manual can be found in the above link as well – will I try to use it first? No :)  What is the fun in that ;)

1st attempt

sudo apt-get -d install eyeos – this did not work, no such package.

2nd attempt

– downloading the .tar.gz – surfed to the sourceforge.
There is a 2.x and a 1.x of eyeOS – link above goes to 2.x

Commands: wget/mv (super long file) then

tar -zxvf (no errors). This extracts the whole archive into the directory you are, so probably best to put the archive in a new and empty directory before doing this.

Files are index.php, settings.php (maybe the installation is done by just surfing into it?). There are some sub directories too: resource, eyeos, install. The install dir also has index.php

cp -R files/ /var/www
cd /var/www
mv files/ eyeos
cd eyes
chmod 777 *

surfing to 192.168.232.128/eyeos ->

EyeErrorException: fopen(./system/conf/libs/log4php/logs/eyeos_20110131.log): failed to open stream: Permission denied

-> a lot nicer, gives a welcome to eyeOS 2 installation!

You then get to click on "install" and it will check the requirements.

I did not have these (working php, mysql and apache already installed, quite clean ubuntu 10.10 installation in a VMWare Workstation):

Sorting out the pre-requirements

if you don't know what to run you can either google or check out packages.ubuntu.com

curl

sudo apt-get install php5-curl
The following NEW packages will be installed:
libcurl3 php5-curl

Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-curl_5.3.3-1ubuntu9.1_amd64.deb  404  Not Found [IP: 91.189.92.171 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

sudo apt-get update

then trying again, working a lot better ;)

install looked a bit weird, or it went very fast.

anyway, did a "sudo apachectrl restart" and then curl was OK in the installation (it didn't install any of the others by chance though :/)

sqlite extensions and  PDO sqlite driver

php5-sqlite - this package should do the trick new packages: libsqlite0 php5-sqlite searched for sqlite pdo on packages and it didn't find anything so starting with the above one and it installed both, restarted apache and now it's a lot greener :)

python

Python simplejson:    Not installed (Needed in collaborative features)
- python-simplejson

new packages: libjs-jquery python-simplejson

installed without a hitch - comes up as installed

Python uno:    Not installed (Needed to convert office documents)
- python-uno - takes up 255 MB - skipping it for now.

Python stomp.py:    Not installed (Needed in collaborative features)
- package name: python-stompy (I am unsure about this one, it looks old and on packages it doesn't say hardy).

The following NEW packages will be installed: python-dingus python-nose python-pkg-resources python-stompy

after a restart of apache and refresh -> doesn't come up as installed. But I really want this so googling.

http://stomppy.googlecode.com/files/stomp.py_3.0.2_all.deb found on http://code.google.com/p/stomppy/

wget that.
then

sudo dpkg -i stomp.py_3.0.2_all.deb

now it's green in eyeOS pre-req check! Check!

php.ini display errors is enabled (eyeos recommends disabled)

keeping this as it is for now

recoll:    Not Instaled (Needed for document indexation)

package name: recoll

sudo apt-get install recoll

The following NEW packages will be installed:
aspell aspell-en fontconfig libaspell15 libaudio2 libice6 liblcms1 libmng1
libqt4-dbus libqt4-designer libqt4-network libqt4-qt3support libqt4-script
libqt4-sql libqt4-sql-mysql libqt4-xml libqtcore4 libqtgui4 libsm6 libtiff4
libxt6 recoll x11-common

worked fine, no need to restart apache and it showed up as installed

exiftool:    Not Instaled (Needed to extract MP3 metadata)

found this package: libimage-exiftool-perl

same story: sudo apt-get install libimage-exiftool-perl

worked like a charm :)

OpenOffice Daemon:    Not running (Needed to convert office documents)

skipping this for now

Kaazing gateway:    Not running (Needed for real time notifications)

no hits in ubuntu packages

googled and found this:

sudo wget into /usr/share/kaazing
sudo tar -zxvf
cd /usr/share/kaazing/kaazing-websocket-gateway-demos-2010.05.1.21/bin
./gateway.start

then script shows it as good!

ActiveMQ Daemon:    Not running (Needed for real time notifications)

no hits in ubuntu packages

google found this: http://www.nic.funet.fi/pub/mirrors/apache.org//activemq/apache-activemq/5.4.2/apache-activemq-5.4.2-bin.tar.gz

found in README - installation guide: http://activemq.apache.org/version-5-getting-started.html

sudo wget into /usr/share/php5/apachemq
sudo tar -zxvf
cd /usr/share/php5/apachemq/apache-activemq-5.4.2/bin/activemq
then ./activemq
This did not work, complaining about JAVA.

ERROR: Configuration varaiable JAVA_HOME or JAVACMD is not defined correctly.
(JAVA_HOME='', JAVACMD='java')

INFO: Invoke the following command to create a configuration file
./activemq setup [ /etc/default/activemq | /home/user/.activemqrc ]

sudo ./activemq setup /etc/default/activemq

sudo chown root:nogroup '/etc/default/activemq'; sudo chmod 600 '/etc/default/activemq'

./activemq then only complains about this:

ERROR: Configuration varaiable JAVA_HOME or JAVACMD is not defined correctly.
(JAVA_HOME='', JAVACMD='java')

sudo pico /etc/default/activemq

has this:

JAVACMD="auto"

and

martbhell@ubuntu:/etc/default$ whereis java
java: /usr/share/java

this directory is however quite empty, just a libintl.jar

searching for java - going for this package: sun-java6-jre
did not work, not in the repository.. Found this link which advises to run "sudo add-apt-repository ppa:sun-java-community-team/sun-java6" . This command lets me know that add-apt-respository does not exist

and cat /etc/issue gives me 10.10

sudo apt-cache search java

meh, ok, opening the installation guide..

didn't help much, more talk about repositories

Found this on ubuntuforums

went to /etc/apt/sources.list - searched for 'partner' and uncommented that line.

then sudo apt-get update; sudo apt-get install sun-java6-jre

The following NEW packages will be installed:
avahi-daemon consolekit dbus gsfonts gsfonts-x11 java-common libasound2 libavahi-common-data libavahi-common3 libavahi-core7 libck-connector0
libdaemon0 libeggdbus-1-0 libfontenc1 libltdl7 libnss-mdns libpam-ck-connector libpolkit-gobject-1-0 libpython2.6 libxfont1 libxi6 libxtst6
odbcinst odbcinst1debian2 sun-java6-bin sun-java6-jre unixodbc xfonts-encodings xfonts-utils

that's a lot. 115MB too.

but went pretty fast, trying to run activemq again
changed the JAVACMD setting back to "auto" after it gave some kind of permission error

then sudo ./activemq restart

martbhell@ubuntu:/usr/share/php5/apachemq/apache-activemq-5.4.2/bin$ sudo ./activemq status
INFO: Loading '/etc/default/activemq'
INFO: Using java '/usr/bin/java'
ActiveMQ is running (pid '5995')

after that it comes up as green ;)
adding this to boot as well now

autostart activemq and kaazing

add this to /etc/rc.local

sudo /usr/share/php5/apachemq/apache-activemq-5.4.2/bin/activemq start &
sudo /usr/share/kaazing/kaazing-websocket-gateway-demos-2010.05.1.21/bin/gateway.start &

Configuration during install

Clicked on the next, where it asks for mysql login information and eyeOS root password

this was already filled in so went with that :)

however, still gives this:

EyeErrorException: fopen(./system/conf/libs/log4php/logs/eyeos_20110131.log): failed to open stream: Permission denied

/var/www/eyeos$ chmod 777 * -R

Logging in!

Login prompt does not show up in FF4 B10 or Chrome.
It does show up in IE8. But when I click on new user nothing happens.
apachectrl restart
trying with both root/martbhell account

After looking around in the mysql server I didn't see any new stuff. So: To fix it I had to create a db called whatever I filled out in the form ;)

Creating new user works too!

Static IP in Ubuntu Server 10.10

Changed to static IP on the server by editing /etc/network/interfaces

to make it look like this :

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

Restart the neworking service using the following command

sudo /etc/init.d/networking restart

and changing to a bridged ethernet - then it's on my local LAN network :)

a restart also shows stuff is running (by going back to the installer)

Summary

It's not really excellent. Documents didn't work (as in I cannot open them), but I suppose that is because I didn't install the OpenOffice stuff. But I just don't like the feel of it. It's not smooth enough. Maybe it's because the VM only has one CPU and 2GB RAM?

Well just looking at 'top' while clicking around and CPU idle goes down to 18-19% and then goes back to 100% after whatever I started in eyeOS is done.

Maybe I'll try to install the OO parts and see if that does the trick.
I just got the feeling that this is probably something that iCloud can do better (at least the screenshots look nicer on their web page). There's quite a few other hits on 'webos' on the Intarweb and quite a lot of them aren't updated.. Like lucid, some kind of windows4all on sourceforge..

Looks nice, but maybe the web browser isn't ready to be the OS just yet?