World of *Nix

by S. M. Ibrahim (lavluda)

watch live steaming from softexpo 2008

Sunday, February 17th, 2008

can’t go to softexpo ? you can see the live steaming from somewherein pavilion . to see the live steaming visit http://www.somewhereinblog.net, on the right side bar you will get the link or open mmsh://206.222.3.106:1235 with vlc player.

and this totall system is made and maintained by me, thanks to morshed bhai for his help to design the web interface. :)

Share/Save/Bookmark

Sphere: Related Content

install imagemagick support to your debian/ubuntu server

Saturday, February 2nd, 2008

imagemagick is one of the best library to work with image. recently i have to install it to our production server. here is what i did:

$ apt-get install imagemagick

it downloads the package and all it’s dependences from debian/ubuntu repository, and installed. now i have to install the support of php (as our product running on php)

$ apt-get install php5-imagick

then i restarted the apache server to take effect this new package installation. if your using php4 then the package name should be php4-imagick

$ /etc/init.d/apache2 restart

that’s all :)

if you need imagemagick for your ruby , you can install the librmagick-ruby package.

Share/Save/Bookmark

Sphere: Related Content

Database table repair

Sunday, August 12th, 2007

Few minutes ago, one of our mysql database table (it’s really a big table) was crashed.
So to repair this i login that server and excute

repair table tablename

But the repair process failed, and i got this output.

test.t1 | repair | error | 13 when fixing table |
| test.t1 | repair | status | Operation failed |

Then i start searching on google. After passing some time i found the reason. Mysql can’t repair that table as there is a trigger on this table. So i tried to drop the trigger

drop trigger triggername

no luck, mysql can’t drop the trigger, as the table was crashed :(

Now i studied more and more. At last i got the solution :)

REPAIR TABLE tablename USE_FRM

Now the table repair complete successfully. Thanks to Allah as i got the solution in time:)

Share/Save/Bookmark

Sphere: Related Content

subversion installation (1.4.3)

Wednesday, February 7th, 2007

A great post about subversion of hasin brother.

On the new version of subversion 1.4.3 u will need to do some thing more. svn-1.4.3 cann’t be install as service. U have take help from 3rd party tools.

Two of them are:

  • SVNService is a free tool written by Magnus Norddahl (not found)
  • SrvAny is avaliable free of charge from Microsoft

or u can use “sc” command to add subversion as service..

Here is the example:
sc create svnserve binpath= "c:\svnserve\svnserve.exe --service --root
c:\repos" displayname= "Subversion" depend= tcpip start= auto
These command must be entered as a single line.

Here bindpath is the where the svnserve.exe is installed, –root is the root directory of
repository, displayname is the name that will display on the windows service list, start = auto is used to start this service on system startup.

Hope it will help you :)

Share/Save/Bookmark

Sphere: Related Content