Opera desktop and Nepali Unicode

By // No comments:
Nagariknews.com in opera looks very unreadable in nepali unicode font at least difficult. The mangal font would have been easier to read in the browser. Firefox by default takes mangal and so no problem in it. But opera (my version 11.61) takes Aparajita as default in monospace font for Devnagari. In monospace font it is only Aparajita font, could not be changed. Though changing the other in Mangal worked in my co-workers but has not resolved in mine. Whereas Kantipur site is fine in this.

For the co-worker changing it to Mangal font in Normal section  Devnagari Writing system > in International fonts from the fonts of the advanced tab from the preference menu, it switched back to Mangal Font.

Tools >> Preference >> Advanced >> Fonts >> International fonts >> Writing system >> Devnagari >> Normal font >> Mangal.

Koha Installation Offline in Centos 6.0

By // No comments:

Koha Installation Offline in CEntOS 6.0

Installing Koha in online environment is pretty simpler and easier than offline. All the dependencies are needed to be downloaded first, and finding the dependencies for me really took long. Finally below is the way I got through. All the required files and dependencies are directory listed here, except the ISO of Centos 6. I will be adding all file in single zip soon.

Install Centos 6.0

Centos Desktop minimal edition was choosen with the customizati0n and added the following packages:

Applications: Emacs, Graphics -> ImageMagick

Base: Perl

Databases: MySQL Client, MySQL Server

Development: Additional Development -> libxslt-devel, tcp_wrappers-devel

Languages: Nepali if needed

Servers: Print Server, Email Server

Web Services: PHP Support -> php-mysql, Web Server -> all Perl modules



Selinux and firewall are disabled in the system.

Disable selinux
setenforce 0

Turn off firewall
service iptables stop
service ip6tables stop

To disables firewall service
chkconfig iptables off
chkconfig ip6tables off

Turning mysql and apache as service
chkconfig mysqld on
chkconfig httpd on

Copy the repo file for CENTOS repo, here I have disabled the internet CENTOS repo so our system will not spend its time on searching the installation file in the internet.
cp CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo

Copy the repo file for cdrom, here I have added the location of the Centos 6 CDROM and enabled it
cp CentOS-Media.repo /etc/yum.repos.d/CentOS-Media.repo

Now creating our own local repo server for the installation of some packages necessary for koha
yum -y --nogpgcheck localinstall /media/CentOS_6.0_Final/Packages/createrepo-0.9.8-4.el6.noarch.rpm
mkdir /var/myrepo
cp myrepo/* /var/myrepo/
createrepo /var/myrepo
cp myrepo.repo /etc/yum.repos.d/myrepo.repo

Now installing the files from our local repo that are needed by koha

yum -y install libyaz libyaz-devel perl-CPAN perl-CPAN-Meta-YAML gcc GraphicsMagick-perl perl-YAML

Fix the GraphicsMagic installationcd /usr/lib/perl5/auto/Graphics/Magick
mv Magick.so Magick-0.so
ld -share -o Magick.so `pwd`/Magick-0.so /usr/lib/libGraphicsMagick.so.3.6.0



Unpack koha
tar zxf koha-3.06.03.tar.gz
cd koha-3.06.03
perl koha_perl_deps.pl -m | grep 'Yes' | sed -e 's/::/-/g' | awk '{print "yum -y install perl-"$1}' > perl-pkgs-install

sh perl-pkgs-install

It will install the perl modules for the koha from our local repo and cdrom repo.

But there are still some perl modules which are not available in rpm, and need to be installed from the source file.

cd perlpkg

run the commands from the files
11cI
12cI
13cI
14cI
15cI
16cI

Don’t run all of them at once since we won’t be able to see the errors if any.

From the unzipped koha directory run
perl koha_perl_deps.pl -m | grep 'Yes' | awk '{print "cpan -i "$1}' > perl-modules-install
sh perl-modules-install

Cat perl-modules-install

All the necessary perl modules must have been installed

Set up MySQL
[mysqld]
default-character-set=utf8
character-set-server=utf8
skip-character-set-client-handshake

Restart the Mysql daemon

service mysqld restart

Secure mysqld installation.  Follow the prompts and set a root password
/usr/bin/mysql_secure_installation

Create koha database.  Give it a password other than 'kohakoha'
mysqladmin -u root -p create koha
mysql -u root –p
grant all privileges on koha.* to kohaadmin@localhost identified by 'kohakoha';
flush privileges ;
exit

groupadd koha
useradd koha -s /bin/false -d /usr/share/koha -g koha -M



Install KOHA
cd into KOHA installation directory and type
perl Makefile.PL
make
make install

vi /etc/profile.d/koha.tcsh
setenv KOHA_CONF /etc/koha/koha-conf.xml
setenv PERL5LIB /usr/share/koha/lib

vi /etc/profile.d/koha.sh
export KOHA_CONF=/etc/koha/koha-conf.xml
export PERL5LIB=/usr/share/koha/lib

Set up HTTPD
ln -s /etc/koha/koha-httpd.conf /etc/httpd/conf.d/
vi /etc/httpd/conf/httpd.conf
Listen 8080



Go to http://localhost:8080/ to set up the admin interface

Your might have to edit etc/koha/koha-conf.xml for the corret kohaadmin and password (here kohakoha)

Reference:

http://wiki.koha-community.org/wiki/Koha_3.6_on_Centos_6.2_i386

Blogging from the desktop

By // No comments:

I don't blog much, but when it comes to blogging its really hard to type in the wordpress editing page. Sometimes the cursor just vanishes out, nowhere to be seen.

Some desktop blogging tools from

http://www.centernetworks.com/wordpress-desktop-blogging

Its really frustating:

I too cannot use Word 2007 to post on my wordpress blog. Trying to download free Zoundry.

Update:

Finally it worked with Word. XML-RPC api is disabled by default. It should be enabled from Settings >> Writings >> Remote Publishing

XML-RPC - Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.

However Word has to download existing post each time I wish to open and Zoundry does not have rich text editing like word. I can't find strikethrough in Zoundry.

Sality Killer and Virut Killer

By // No comments:
Every exe in your computer can get infected with sality virus and virut virus if you are not aware of these. Once they get infected your system and other drives, the installation of avira antivirus is fatal as it quarantines all the exe infected virus including the explorer.exe and other all the system programs. Then it will lock you outside of your computer making it unaccessible to the user, forcing the user to reinstallation of the operating system. To fight against them, kaspersky has pretty two tools salitykiller and virutkiller, better says to run them in safe mode, but the virus is smart itself to disable the safe mode as well. They work pretty good in normal mode too but they are exposed to the infected system, themselves are infected with those two creepy virus. So better way run them in the zipped mode and run a full scan. It works.

Here too, its time consuming and the use might thing the formatting and reinstallation of the system may be the easy way to handle this. But the care should be taken to take the backups of user data in the system drive.

However even after the reinstallation if the care is not given the whole system can be reinfected if any one of the infected exe file from the other drivers are executed in the system. Even the drivers should not be installed b4 cleaning the whole system. Running a full scan after the reinstallation of the operating system will do.

Happy killing sality and virut. If you enjoy working with them, test them in virtual OS or vmware.

igfxwt32.exe

By // No comments:
Searching for the trouble at the Internet, its really not that hard to get. But the solution for the problem, thats really hard to get and one has to go for searching and searching to find the real one solution.
A little virus that resides on our computer and that adds an exception in the windows firewall with NETLAN or LANX or any name, its really annoying and moreover the C: drive these folders
c:\sanbox
c:\cwsanbox
c:\program files\wireshark

Everytime you delete it, it does not hesitate to get itself deleted but once your computer wakes up after reboot those folders are there with some exe files within them. The presence of this virus can be detected by autoruns tool at the startup tab with the name of Intel Wifi Service with the missing publisher name of the file, pointing to the file igfxwt32.exe in system32 folder of the system drive.

The unlocker tools also fails to delete the file igfxwt32.exe, it says it will be able to delete the file after the reboot but never will. The malware bytes which is free to try comes to the rescue in such case. But it will take too much time enough to install a new system. However that nuisance file can be deleted by from other bootable system. and then a fresh install of antivirus and full scan as well as that by malware bytes can free up the system. In some cases the malware bytes too hangs up with nothing doing itself other than NOT RESPONDING in the Task Manager.

Fotos Virus

By // No comments:
If you are getting messages from your fiends with the subject 'Fotos ' then you are getting forwarded a virus.
The first prevention is not to click on any of the three attatched picture link like Imagens anexadas: DSC_614.jpg - DSC_615.jpg - DSC_616.jpg
This is automated mail sent by the virus to all the contacts of the sender in his/her address book. If your computer is already infected with this virus, then there should be _winnt folder in c: drive or system drive. Safely remove this directory to prevent the virus send this automated mail to your contacts in your address book.

Troubleshooting WiFi in HTC

By // No comments:

Troubleshooting WiFi in HTC

WiFi was detected but unable to browse the internet.

I was connected  to the CNet ADSL Wireless Router and able to browse the internet using the wifi in HTC Touch P3452.

However in the new network with InfoSmart Router this device even didn't detected the wireless access point. But the HTC Touch Diamond was able to detect this access point and was also able to connect to this access point. But it was also failing to browse the internet through it. Always said the page could not be found. I then installed the task manager from fdcsoft from http://www.gsmhacks.com/forums/pocket-pc-windows-smartphone-applications/47860-fdcsoft-task-manager-ppc-app.html Through its ping test I was not even able to ping the wireless router. So after little searching I found out the solution of it. Just change a small setting
Go Start -> Settings -> Connections -> Wireless LAN -> Power Mode -> and slide all the way to Best Performance.
That just solved the problem in both the HTC Touch P3452 and the Diamond.