Posts

Showing posts with the label web

Moved to France

Not me but my mail server has moved to France or to be more correct is now hosted by the French hosting provider Gandi.net . According to GeoIP it is in Paris. I rent a small virtual machine from them to host my web and mail server. This makes me less dependent of my broad band connection and I skip the problem that my IP-address may change without notice. At Gandi I have an Ubuntu 9.04 Linux machine with 256kb of memory and 8GB of disk. This is more than enough for me to hosting private mail and web. The mailsever is postfix and dovecot. I have my own CA-authority to handle secure connections from my mail clients.

Do you have some data?

Are you sitting on some data and not sharing it? Is it collected by tax-funding? Why do you not share it? Tim Berners-Lee talk at TED about the problem people not sharing data. Take 15 minutes and listen to his talk. I wait when you doing it............ OK? Are you still sitting on your data? Have you talked to you boss about share it? Show the talk for him/her. Think! Help mankind! Actually, Tim Berners-Lee talks about the semantic web but not using the word.

Trim your Tiny Tiny RSS-reader

The more I use Hibernate in Java the more I love Storm in Python. It is so easy and light weight. A while ago I installed Tiny Tiny RSS on my Ubuntu server and is happy to use it as my RSS reader. First I thought it was slow, but it is easy to fix. Activate the expire module: a2enmod expires Create a file /etc/apache2/conf.d/expires: ExpiresActive On ExpiresByType image/x-icon "access plus 1 weeks" ExpiresByType image/gif "access plus 1 weeks" Finally restart your apache. Your webbrowser will now cache all icons and gif-pictures.

Integrated web: Ubiquity

Damn Ubiquity is cool. Just take a look at this . Ubiquity is a mashup tool for Firefox. A very simplified description what it does is a cut and paste tool that understands meta data. If you mark an address and say map it you get a map over the address and can insert it into an e-mail. You can mark text on a page and get it replaced with in the page with an translated alternative.

Defense your web server

Afraid of hackers, spammers, script kiddies will take over your Web-site? Want to be a bit safer? In Ubuntu there is an Apache module called mod_defensible who's aim is to block well know attacking sites to reach your web server. The module locks up every host that access your site and check if it is in a blocking database on the net. If thats the case the host will get Error 403 Forbidden, i.e. your server can not be reached. I have been using a similar tool for ssh for a while called deny host . I did not know about mod_defensible until today when I saw a how to for Debian on the how to forge. There are some small differences installing it between Debian and Ubuntu 8.04 (Hardy Heron). The main difference is that it is included in universe. So here is a quick instruction how to install mod_defensible. Login to your webserver and become root using sudo -s Install mod_defensible: apt-get install libapache2-mod-defensible Activate the module: a2enmod defensible Create a configfil...

Adobe, where is the 64-bit flash player?

Adobe has today released a beta of version 10 of their Flash-player. As opposite to earlier flash version, the Linux player is released at the same time as for the other operating systems. That is good news. But I still miss a 64-bit version of the Flash-player for Linux. Adobe, give us a 64-bit flash-player for Linux Now. Worth mention is that Adobe is listing Ubuntu as supported Linux.

End of windows desktop

After to much problems with my MS Windows-computer at work, I decided to start using our new Linux clients. It is based on Fedora 8 64-bit. My first impression was that it worked pretty well, but I need to use Citrix to access some applications such as document management system and time reporting. One of my duties is to develop a new website using the CMS-system Polopoly. When I started my development environment I run out of memory. Due to that the Fedora installation was 64-bit it needs more memory which was foreseen by the people that develop the new client platform and no one wanted to give me more memory. So I ended up installing a 32-bit Ubuntu 7.10, which was no big deal. I installed it on a HP laptop 6910p which so far seems to works nice. Flipping internal and external monitor works great., but I have not tested Wireless and Bluethooth yet. Since I mentioned Polopoly. We reported a bug last week that we could not upload pictures when using a PostgresSQL database. The answer...

Kerberos and LDAP over the web

I have for several years had a kerberos/ldap Single-Sign-On (SSO) solution active on my home computer network. One part that had not been integrated is my Apache httpd web-server. I started to take a look on activate this at Christmas. It was easy to get Kerberos working for the webserver on my Ubuntu server. This assumes you have ssl working on your web-server for the area you want to password protect. Install the libapache2-mod-auth-kerb from Universe. Activate the module with the command: sudo a2enmod auth_kerb Add the following to the directory configuration in apache you want to protect using kerberos. AuthName "Realm" AuthType Kerberos KrbAuthRealms MYREALM Krb5Keytab /etc/apache2/http.keytab Require principal@MYREALM KrbServiceName HTTP/www.MYDOMAIN.org Require valid-user Change MYREALM and MYDOMAIN to values that fits you. Connect to the kerberos admin server and create a new principal and a keytab including this principal. If you use MIT Kerberos, do like this. S...

JavaZone end

I continued the day by listening to a re-run of Ivar Jacobssons talk, which where I missed yesterday due to the room got full before I got there. It was the most interesting talk at the conferens, even if it wasn't about Java. As you may know Dr. Jacobsson is one of the three gurus behind RUP . He admitted during the talk that RUP and Objectory were too heavy and why throw out everything if only one part of your process fail. Instead he have broken down processes into eight practices . Practices are parts of processes which more or less all processes include in different forms. Example of practices are teams or architecture. There are not only one way to implement a team, so there will be several practices that describes teams and you should select the one that fits your organization. Jacobsson have one way to implement each of the eight practices. Other will present others, in total there are 100s of practices. Each practice is documented as ten to twenty cards and then some page...

JavaZone day2

It is day 2 of JavaZone 2007. I have today listened on several new good talks. Two about SOA; one were a case study and the other was about how to use Apache Tuscany . Tuscany may fit well into my current project about handling warnings using CAP . Futher, I listened to Matt Raibles overview of Java web-frameworks. Which not make the choice of a web-framework easier. But I have drawn the conclusion that Spring is rather popular du to is improvements of J2EE.

JavaZone day one continues

After a quick lunch I planned to listen o the OO and process guru Ivar Jacobsson but the room was full even before I got my sandwich. Instead I entered a seminar about REST which was quite interesting. Teh speach presented the fundamental architectural principles and explained problems and possibilities with real world examples. Then I entered a seminar about how to structural code in a good manner to allow the software to evolve. It is quite connected to my old research area of maintainability of object oriented programs. The conclusion is the same as for ten years, but they need to be repeated; Avoid circular dependencies. Have cleare aims of your packages, modules etc. If you get circular dependencies, do refactoring. Of course it may break backward compability. You need of course think how to handle lack of backward compability. So far I haven't seen any Linux computers, except of my own Ubuntu. The rest are Mac or Windows, I wonder why.