Spam

Scene: A cafe. One table is occupied by a group of Vikings with horned helmets on. A man and his wife enter.

Man (Eric Idle): You sit here, dear.

Wife (Graham Chapman in drag): All right.

Man (to Waitress): Morning!

Waitress (Terry Jones, in drag as a bit of a rat-bag): Morning!

Man: Well, what’ve you got?

Waitress: Well, there’s egg and bacon; egg sausage and bacon; egg and spam; egg bacon and spam; egg bacon sausage and spam; spam bacon sausage and spam; spam egg spam spam bacon and spam; spam sausage spam spam bacon spam tomato and spam;

Vikings (starting to chant): Spam spam spam spam…

Waitress: …spam spam spam egg and spam; spam spam spam spam spam spam baked beans spam spam spam…

Vikings (singing): Spam! Lovely spam! Lovely spam!

Waitress: …or Lobster Thermidor au Crevette with a Mornay sauce served in a Provencale manner with shallots and aubergines garnished with truffle pate, brandy and with a fried egg on top and spam.

Wife: Have you got anything without spam?

Waitress: Well, there’s spam egg sausage and spam, that’s not got much spam in it.

Wife: I don’t want ANY spam!

Man: Why can’t she have egg bacon spam and sausage?

Wife: THAT’S got spam in it!

Man: Hasn’t got as much spam in it as spam egg sausage and spam, has it?

Vikings: Spam spam spam spam (crescendo through next few lines)

Wife: Could you do the egg bacon spam and sausage without the spam then?

Waitress: Urgghh!

Wife: What do you mean ‘Urgghh’? I don’t like spam!

Vikings: Lovely spam! Wonderful spam!

Waitress: Shut up!

Vikings: Lovely spam! Wonderful spam!

Waitress: Shut up! (Vikings stop) Bloody Vikings! You can’t have egg bacon spam and sausage without the spam.

Wife (shrieks): I don’t like spam!

Man: Sshh, dear, don’t cause a fuss. I’ll have your spam. I love it. I’m having spam spam spam spam spam spam spam beaked beans spam spam spam and spam!

Vikings (singing): Spam spam spam spam. Lovely spam! Wonderful spam!

Waitress: Shut up!! Baked beans are off.

Man: Well could I have her spam instead of the baked beans then?

Waitress: You mean spam spam spam spam spam spam… (but it is too late and the Vikings drown her words)

Vikings (singing elaborately): Spam spam spam spam. Lovely spam! Wonderful spam! Spam spa-a-a-a-a-am spam spa-a-a-a-a-am spam. Lovely spam! Lovely spam! Lovely spam! Lovely spam! Lovely spam! Spam spam spam spam!

Groupware

People have heard about sharepoint, some people have heard about exchange…. Not difficult to miss if you consider the marketing engine that is behind it. Microsoft is desperately trying to change its business model now that Linux has become an low-cost alternative for people that are not wanting to pay for something that should be free.

The idea behind sharepoint is to tie people into an eco-system that will generate a future-proof eco-system. It took linux years to become ready for the mass market. Now that it is, Windows is only there for specific needs or for the ignorant. The only way windows will survive in the future, is to make it free for the masses.

Now this takes away a revenue stream for Microsoft. So they positioned a new one. Sharepoint is there to surplant Exchange, and to make people dependent.

Here are a few alternatives that already exist on the market (Article on groupwares).

LDAP install guide CentOS

At first sight a good explanation on setting up an ldap on a CentOS machine.

First we start looking at a low profile CentOS machine to activate on my ESXi. Follow these steps:

1) Getting CentOS:
http://www.server-world.info/en/note?os=CentOS_5&p=make_media

2) Preparing the ESXi instance:
http://www.server-world.info/en/note?os=CentOS_5&p=vmware_esxi&f=3

3) Installing CentOS:
http://www.server-world.info/en/note?os=CentOS_5&p=install

4) Installing LDAP:
http://www.server-world.info/en/note?os=CentOS_5&p=ldap&f=1

5) Testing LDAP:
… to be done … I will update the article once finished.

e.g.: http://vuksan.com/linux/LDAP_authentication_under_Linux.html

Single account management

My goal is to set-up a service that can replace my AD server or my Mac OS X server.

First requirement:

All user-account log-ins are stored on a central password server.
Users can log-in from Mac OS X machines using the password on the password server.
Users can log-in from Windows machines using the password on the password server.
Users can log-in on Apache configurations using the password on the password server.

Auxiliary requirements:

Home folders are configured on the password server.
Home folders are configured on the password server but residing on a third server.
Users can log-in from Unix machines using the password on the password server.

Final goal:

Allow unlimited window users on a domain without buying individual CALs.
or
Replace Mac OS X server to run on commodity hardware.

Comments and remarks are welcome.

Multiple web-sites behind a single IP

In order to install multiple web-sites with the same IP, the web-sites have to be identified by DNS name. Secondly, one will want to have a different installation of apache for each of the individual web-sites.

I configured a set-up where I have a single forwarding proxy, and all different vm’s with individual web-services. With Apache 2.2, the config is as follows.

The firewall has a public ip, and is forwarding all requests on port 80 and port 443 to the private proxy. The proxy server has a private ip (e.g. 10.0.1.10) and is forwarding all requests to individual servers. I will present 2, but you can repeat as much as you want. The private servers are on 10.0.1.21 and up….

Activate your proxy includes by creating a symbolic link:
su root
cd /etc/apache2/mods-enabled
ln -s ../mods-available/proxy.load proxy.load
ln -s ../mods-available/proxy_http.load proxy_http.load

Edit /etc/apache2/httpd.conf and add following sections:
UseCanonicalName On
NameVirtualHost 10.0.1.10

<virtualhost 10.0.1.10>
ServerName webmail.mydomain.com
ServerAlias www.webmail.mydomain.com
ProxyPreserveHost On
ProxyPass / http://10.0.1.21/
ProxyPassReverse / http://10.0.1.21/
</virtualhost>

<virtualhost 10.0.1.10>
ServerName clientzone.mydomain.com
ServerAlias www.clientzone.mydomain.com
ProxyPreserveHost On
ProxyPass / http://10.0.1.22/
ProxyPassReverse / http://10.0.1.22/
</virtualhost>

… that is it… simple once you know but it took me a lot of time to find it out.