Linux User Group of Mauritius Promoting open source software in our beautiful island

14Sep/130

Linux meetup – 14.09.2013

Posted by Ish

Saturday with a fine sunny weather. Perfect to get the sandals out this time. Yup! I actually prefer sandals than shoes.

Like my previous blog post I enjoyed some nice music & reading while traveling by bus. I reached Bagatelle a little before 14h00. Nitin Mutkawoa had arrived already. Natasha texted ealier she’s got some transport issue, she won’t be able to come. Yuram informed he’ll be late. Never mind, Nitin & me … we went to Mugg & Bean and ordered the regular Mocca Java. Strangely, Mugg & Bean was kinda empty. Good for us it was less noisy.

apache-logoNitin asked me about Apache virtualhosts and I tried enlightening him with the myriad things he can achieve by correctly defining directives in httpd.conf. Virtual Hosts allow us to run several websites on a single server. They can be IP based, that is, each website has a different IP address or Name based, that is, multiple websites running on the same IP address. I showed him how to use the virtualhost directives. Below is an extract taken from httpd.conf.

NameVirtualHost *:80

<VirtualHost *:80>

    ServerName yourdomain.com
    ServerAlias www.yourdomain.com
    ServerAdmin admin@yourdomain.com
    DocumentRoot /srv/www/htdocs

    <Directory "/srv/www/htdocs">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

NameVirtualHost * – tells Apache that Virtual Hosts are running on all IP addresses available and should listen to port 80

Each Virtual Host is then defined within the <VirtualHost></VirtualHost> tags.

ServerName defines the domain name mapped to this website
ServerAlias as the name suggests is an alias, thus this domain name also will point to the current website. You can have more than one server alias.
ServerAdmin assigns an administrator email address to the website. In case of errors, this email address is shown up to report to.
DocucmentRoot is the path that contains your website files.

See additional examples on Apache Documentation website.

We then talked about some scams (home job related) currently happening on facebook. It’s a bit sad to see that our fellow Mauritians are still liking & sharing stuffs on facebook without inquiring (even after what happened with the ponzi & internet banking scams).

Anousha texted & she came 30 mins afterwards. Neha & Darshinee could not make it this time as their class was extended till 16h00. Yuram also called, he could not make it due to transport issue.

When Anousha came we talked about the upcoming Linuxfest and started the technical discussion which I earlier posted on facebook. She prepared a sum-up of the technical discussion which can be downloaded here – Linux meetup summary

Update
Read comments by Jochen for tips about preferred domain.
Most probably we’ll have another discussion on Apache virtual host in the coming meetups.
Tagged as: No Comments
6Sep/130

Two powerful Gimp plugins: Liquid Rescale and Resynthesizer

Posted by Avinash Meetoo

Whether at home or at work, I rely on Gimp a lot for my image processing needs.

Out of the box, Gimp has a lot of powerful features but, as it is an extensible software, people can add plugins to it to make it more powerful. Yesterday, I came across two excellent Gimp plugins, Liquid Rescale and Resynthesizer, which I would like to share with you.

20130906-liquid-scale

Liquid Rescale: this open-source plugin resizes pictures non uniformly while preserving their features, i.e. avoiding distortion of the important parts. In the example above, the picture has been enlarged while the lady has been preserved. I’ve spent some time with the plugin last night resizing some of my pictures in both the x- and y- directions and the results are impressive.

20130906-resynthesizer

Resynthesizer: this other open-source plugin restore missing parts in an image. In the example above, the image was rotated and, consequently, some parts were missing (the lower left portion for instance). Resynthesizer can create the missing part from surrounding pixels very quickly. I’ve done some tests last night and the generated portion seamlessly flows into the existing part. Here is an excellent tutorial.

Installation

I run Fedora and both plugins are in the official repositories. For me, this command did it:

yum install gimp-lqr-plugin gimp-resynthesizer

I suppose Debian and its derivatives should have the plugin too. As any open-source software, installation from source is also a possibility.

Have fun!

6Sep/130

Two powerful Gimp plugins: Liquid Rescale and Resynthesizer

Posted by Avinash Meetoo

Whether at home or at work, I rely on Gimp a lot for my image processing needs.

Out of the box, Gimp has a lot of powerful features but, as it is an extensible software, people can add plugins to it to make it more powerful. Yesterday, I came across two excellent Gimp plugins, Liquid Rescale and Resynthesizer, which I would like to share with you.

20130906-liquid-scale

Liquid Rescale: this open-source plugin resizes pictures non uniformly while preserving their features, i.e. avoiding distortion of the important parts. In the example above, the picture has been enlarged while the lady has been preserved. I’ve spent some time with the plugin last night resizing some of my pictures in both the x- and y- directions and the results are impressive.

20130906-resynthesizer

Resynthesizer: this other open-source plugin restore missing parts in an image. In the example above, the image was rotated and, consequently, some parts were missing (the lower left portion for instance). Resynthesizer can create the missing part from surrounding pixels very quickly. I’ve done some tests last night and the generated portion seamlessly flows into the existing part. Here is an excellent tutorial.

Installation

I run Fedora and both plugins are in the official repositories. For me, this command did it:

yum install gimp-lqr-plugin gimp-resynthesizer

I suppose Debian and its derivatives should have the plugin too. As any open-source software, installation from source is also a possibility.

Have fun!