Currently Viewing Posts Tagged module

Access Webmin with IPv6 address

I tried a IPv6 only VPS. It has no IP v4 address.

It is always errorĀ  connection when I tried to use an IP v6 to connect it.

Here is some new knowledge for me.

Use a pair [] around the IPv6 address when using it in the Browser address .

The correct format is: https://[2001:19f0:8001:ae7:5400:1ff:fe93:a764]:10000


To enabled IPv6 support.

1) /etc/webmin/miniserv.conf

add a line

IPv6 =1

2) Install Socket6 perl module

apt install libsocket6-perl

Then restart webmin service.

Now I can enter the webmin which is IPv6 only webmin.

How to put a Gallery 3 image block into Other site

I have my Gallery 3 installation at
I want to put a image block into the home page of
After doing my search and search, I find the module randimg. I download the source file and make some changes to suitable my own needs.
1) Download the source file here.
2) Decompress the package.
3) Open the file: randimg -> helpers -> randimg.php

Continue reading “How to put a Gallery 3 image block into Other site”

Add Rebuild Items modules for Gallery 3

The Gallery 2 import is good to transfer all photos from old, Gallery 2, to Gallery 3. But sometimes the thumbnail is not converted completed. Some photos thumbnail are missing.
So, I installed Rebuild Items module.

Gives the administrator the ability to rebuild items (thumbs and re-sizes) as well as EXIF data. It marks the items in the database as ‘dirty’ and Gallery will then attempt to fix those items that are marked as dirty.

Continue reading “Add Rebuild Items modules for Gallery 3”

Install the Perl Image::Magick on Centos

I have an VPS at I pick up Centos 5.5 installation. To make MovableType work on it, I have to install Perl module Image::Magick. The image thumbnail feature will be disabled if no Image::Magick installed.

Every time I do it, I always have the problem to install it. Now I recorded here for reference.

Here is the official guide for installation of ImageMagick. I follow the instruction, but it is still not working.

So I use the way suggested on above link.
The handy notes provided by John Walker. The rest of this post are based on this notes mostly.

Continue reading “Install the Perl Image::Magick on Centos”

Add related entry list into Atom Feed

I have a related entries section on individual archive of this blog.
So any old posts have relation with current post will be listed under the bottom.
You like it, me too.
Suddenly, I think I can add this feature into my Feed.
Ok. let me do it and show you how to do it.
1) Under Template Module, create a new module named as “my-feed-fun”:

<h3>Related Entries</h3>
 <MTRelatedEntries lastn="10">
 <li><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>

2) In Atom.xml template, find

<$MTEntryMore encode_xml="1"$>

Add the following after it.

<$MTEntryMore encode_xml="1"$>

Save and rebuild.

How to install a mod_rewrite on Ubuntu

The default LAMP installation on Ubuntu 6.10 server doesn’t include mod_rewrite module.
This module is required by WordPress MU.
I tried to install a WordPress MU on my Ubuntu server with LAMP.
To install mod_rewrite, run command as below:

sudo a2enmod rewrite

There is still another issue for WordPress MU installation. It is need a smtp service to send password to registered user.
If you do not have a postfix server on your Ubuntu, you’d better install this server first. Otherwise you can not active your account and your WordPress MU.

  • Archives