As you may know, there are a lot of remote filesystems supported by Linux. My personal favourite is SSHFS, a FUSE-based file system which give you capability to mount your remote directory through SSH (Secure SHell) and treat it like a local directory. There are another remote filesystem such as NFS, FlickrFS, or WebDAVFS, etc. I always find that remote filesystems are great tools to enhance your productivity, since you can access all your documents through network and do whatever you need to do with them locally and transparent :-) . And a couple weeks ago, I got the most exiting experience with this tools and I would like to share with you :-)

Currently, my office is working in a project developing a integrated knowledge management system, which consist of an electronic learning system, a document management system, a digital library system and a electronic course management system. All these independent system are tied in a knowledge portal using Single Sign-On system and LDAP as User Management System. Since our client is using a proprietary but popular server operating system, we have to find a OpenLDAP version for that operating system. Unfortunately, OpenLDAP did not perform very well in that operating system, we have experienced random crashes and low performance, which we did not find in the GNU/Linux version :-) . Since the User Acceptance Test is near, we decided to use our own computer with OpenLDAP in GNU/Linux for this testing purpose.

We use Debian 5.0 as operating system because well, we love Debian :-) , and also there is a Debian Repository in our local network :-D We installed OpenLDAP, LAMPP Stack Server, SSH Server and some administrative tools, just in case. I also save 5 (yes, five!!!) DVD ISO Images of Debian 5.0 in my laptop, for install some additional software in the client’s office. This is where the fun part comes :-) by using remote filesystems like SSHFS, you can do some stuffs that maybe, just maybe, a proprietary-but-popular admin can only imagine :-) And from the view of environment sake, by using remote filesystem tools, you can also participate in making a greener planet, because the less DVD you burned then you are reducing plastic waste :-)

All you need is a network connection between your computer running SSH service and server, and of course, SSHFS program. You can install SSHFS by executing commands below:

  • in Debian and Derivatives:

sudo apt-get install sshfs

  • in openSUSE and SLED system:

sudo zypper install sshfs

  • in RHEL and Fedora system:

sudo yum install sshfs

Next step, mount the DVD ISO Images in your computer:

mkdir /home/user/iso

sudo mount -t iso9660 -o loop DEBIAN-DVD1.iso /home/user/iso

From your server computer, you can mount the mounted directory by using SSHFS as CDROM :-)

sshfs username@host:/home/user/iso /cdrom

sudo apt-cdrom add

And that’s the trick!, you can make your server assume there is a Debian DVD mounted in the optical drive, and you can add them in your apt sources.list file. The only drawback is you need to mount the remote DVD images every time you want to add them and use them as your repository sources.

=-=-=-=-=
Powered by Bilbo Blogger

I admit that I am a little bit left behind my closest friends in term of reading novels. Not so long ago, I bought this interesting novel, which released almost 3 years ago :-) . My brother recommended it to me and said that it is an interesting novel. At the moment, I am still reading it, but I am planning to give my own review about this novel.

=-=-=-=-=
Powered by Bilbo Blogger

As my office’s internet connection using a proxy server, I need to configure my subversion client to use proxy when established a connection. With help from the mighty Google.com, I found the answer in this blog and just for my note, I will post the answer here.

All you have to do is add/edit proxy server in your subversion client configuration. Since I am using GNU/Linux, you can find the configuration in .subversion directory (notice there is a dot (.) before subversion). In that directory you can find a file named servers. Open it with your favourite text editor, in my case I launch vim in my terminal:

rakhmad@GABRIEL:~ $> vim .subversion/servers

find a section named global and then add/modify these lines

[global]

http-proxy-exceptions = local.server.com, localhost

http-proxy-host = proxy.server.com

http-proxy-port = 8080

http-proxy-username = username

http-proxy-password = password

save the modification, and that’s it!

=-=-=-=-=
Powered by Bilbo Blogger

Friday, June 5, 2:31 PM

Blog test from Tomboy using Tomboy BlogPoster :-D

As you may know, I have successfully clone snowy, a Tomboy web client from GNOME Git repository a couple days ago. After installing django 1.0.2 on openSUSE 11.1 (python-django package using this repository, I read the INSTALL file to running Snowy from my GIT checkout. I managed to get into the 4th step, which is starting local snowy application by executing the command python manage.py runserver. I launched my browser, type http://127.0.0.1:8000/admin in the address bar, and I got this:

Traceback (most recent call last):

File "/usr/local/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 278, in run

self.result = application(self.environ, self.start_response)

File "/usr/local/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 635, in __call__

return self.application(environ, start_response)

File "/usr/local/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 228, in __call__

self.load_middleware()

File "/usr/local/lib/python2.6/site-packages/django/core/handlers/base.py", line 44, in load_middleware

raise exceptions.ImproperlyConfigured, 'Middleware module "%s" does not define a "%s" class' % (mw_module, mw_classname)

ImproperlyConfigured: Middleware module "django.contrib.csrf.middleware" does not define a "CsrfViewMiddleware" class

I have searched in Google, and got nothing. Anyone can help?

=-=-=-=-=
Powered by Bilbo Blogger

Hi, there.

This post sent from Bilbo, a KDE Blog Poster.

See ya.

=-=-=-=-=
Powered by Bilbo Blogger

People who want to learn GNU/Linux always find this discussion, which Desktop Environment should I use in my daily computer activity. When it comes to Desktop Environment, there are 2 names which come in mind, either GNOME or KDE. These Desktop Environment have their own vision and mission in how Dekstop in GNU/Linux should like and of course their own implementation.

GNOME is built on top GTK+ library using C Programming Language. It was a simple, fast, clean and lean desktop environment. Currently GNOME is on the road to GNOME 3.0, hopefully in the next year. Some popular GNOME applications are Evolution, a Personal Information Management Software with great interface and well integrated in GNOME Desktop. Not forget to mention Nautilus, a powerful and fast file manager.

GTK+ also used in some popular application beside GNOME, like Pidgin and Mozilla Firefox. Some distribution also add mono-based application inside GNOME Desktop package. In openSUSE and Ubuntu, a GNOME desktop also consist Tomboy, a note-taking application. F-Spot, a Picture Management application, and Banshee, a music player with a lot of interesting features. There are also popular application built using Mono, such as GNOME Do, a Quicksilver-like task launcher for GNU/Linux desktop and Tasque, a simple To-Do Manager using Remember The Milk Web Service as the back-end.

KDE, or K Desktop Environment is a well-designed Desktop Environment. The latest version of KDE, KDE 4 was a big change in Desktop Environment. KDE Developer decided to re-design the building block of KDE. Start with Plasma, a desktop containment framework, responsible to manage the desktop appearance, window decorations, and of course, plasmoids. You may think plasmoids as desktop Widgets in Mac OSX or Gadgets in Window Vista. The next framework is Akonadi, which manages personal information application like KMail (Mail Application), KOrganizer (Organizer), KNotes (Note-taking Application), Akregator (RSS Reader Application), and KAddressbook (Contact Manager Application). Decibel, a Telephaty-based communication framework, which is still postponed indefinitly. Not to forget Phonon, a framework to manage Sound and Video-related application, and last but not least Solid, a long-awaited Hardware Manager framework. Solid will appear in KDE 4.3, where it will replace HAL to manage Hardware in GNU/Linux.

KDE is well-known with its smooth integration between its components. KDE Developer have successfully built very good communication mechanism between the framework which result in a very solid Desktop Environment. Some KDE Applications like Amarok, a very good and solid Music Player application and Konqueror, a swiss-knife application, capable as a reliable Web Browser and also powerful File Manager.

KDE is built using C++ programming language on top Qt, a graphic library released by Qt Software, a Nokia company based on Finland. Qt provides a cross-plattform capability, which make KDE 4.x comes in Linux version, Windows Version and also Macintosh Version. Popular applications use Qt are VLC and Opera.

Why did I decide to write about this? Well, actually last night I discovered that some applications that I use most of the time are built using GTK+ and Qt library. I found some suggestions in the Web said that you should not mix Qt and GTK+ software, because it will cost you higher memory comsumption. And then, I think that I should make a list about my-most-used application in order to help me to choose which Desktop Environment I should use. So here we go :-)

Daily Usage Application:
1. Mozilla Firefox 3.0
2. Opera 10 .0 Beta
3. Pidgin Instant Messaging 2.5.6
4. Amarok 2.1
5. Tomboy 0.15.1
6. choKoq
7. Geany IDE
8. VLC 1.0 Pre Alpha
9. Drivel Blog Client 2.0.3
10. OpenOffice.org 3.1
11. Yakuake
12. GNOME Do 0.8.2
12. KRunner 4.2.88
13. KShutdown 2.0 Beta

As we can see, we have 7 GTK+ applications and 6 Qt applications. Perhaps I should try GNOME as my primary Desktop Environment.

Update:
Yes, I have tried GNOME 2.26 in openSUSE 11.1 box and I found GNOME is not the one. Every time I launched a Qt Applications, the desktop effect suddenly failed and revert back to the old good Metacity. This problem is bugging me, since I need to re-activate the Desktop Effect every time I finish using a Qt Applications. So in the mean time, I think I will stick to KDE 4 :-)

Latter Update:
I finally found the culprit!. Apparently I need to install compiz-kde package in order to enable KDE / Qt application to use compiz as their compositing window-manager.

Note:
– I am trying to update my experience using Desktop Environment in GNU/Linux :-)

I have read about Git for a while and learned that Git has some advantages against Subversion, a software version control system I used in my office. So, I decided to give Git a try :-)

Well, I decided to try using Git when Tomboy’s Developer announced the Tomboy 0.15.1 release. The newest Tomboy version came with New Online Note Synchronization service, which is very interesting. The new service project, named Snowy is hosted at GNOME GIT source code repository. Snowy’s author mentioned that Snowy was built using django framework, which I am currently learning. So, since I want to learn how to use Git and learning django web framework, I think this is the right moment to start learning both.

So I visited the Snow Git website and execute git clone git://git.gnome.org/snowy and bam!, it failed!! :-D Apparently, my office’s proxy server block Git’s port. Well, it’s time to do some hacking B-).
After receiving some clues from the mighty Google, I found that it is possible to do git operation behind proxy server using tunneling and installing local proxy. Following the instruction from this, this #2, and this #3 link, I installed socat, tconf and proxy+ in my local machine, but got no luck. After doing all the so-called-hacking activities, I decided to change my search query to Google, and guess what? I found the answer!! Thanks to link and this link.

So, if your office has a proxy server running, and you want to use Git, just use http protocol instead git. So, if you want to clone the snowy project, you can type git clone http://git.gnome.org/cgit/snowy/ and voila! You can start your contribution today!