Read chm file in opensuse

zypper camo into rescue when I need to read chm file in opensuse :

# zypper install chmsee

Reading installed packages…

The following NEW packages are going to be installed:
chmsee chmlib

Overall download size: 136.0 K. After the operation, additional 295.0 K will be used.
Continue? [YES/no]: y
Downloading package chmlib-0.39-101.9.i586 (1/2), 30.0 K (65.0 K unpacked)
Downloading: chmlib-0.39-101.9.i586.rpm [done (2.8 K/s)]
Installing: chmlib-0.39-101.9 [done]
Downloading package chmsee-1.0.1-1.13.i586 (2/2), 106.0 K (230.0 K unpacked)
Downloading: chmsee-1.0.1-1.13.i586.rpm [done (2.2 K/s)]
Installing: chmsee-1.0.1-1.13 [done]

chmsee, ready to serve me 🙂

in Work | 92 Words

/usr/local/sbin/mysqlblasy.pl Can’t locate Archive/Zip.pm in @INC

# /usr/local/sbin/mysqlblasy.pl

Can’t locate Archive/Zip.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.9/

BSDPAN
/usr/local/lib/perl5/site_perl/5.8.9/mach
/usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach
/usr/local/lib/perl5/5.8.9 .) at /usr/local/sbin/mysqlblasy.pl line 1340.
BEGIN failed–compilation aborted at /usr/local/sbin/mysqlblasy.pl line 1340.
# cd /usr/ports/archivers/p5-Archive-Zip

# make install

# rehash

# /usr/local/sbin/mysqlblasy.pl
Can’t locate IO/Compress/Base/Common.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.9/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.9/mach
/usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach
/usr/local/lib/perl5/5.8.9 .) at
/usr/local/lib/perl5/site_perl/5.8.9/Compress/Zlib.pm line 11.
BEGIN failed–compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Compress/Zlib.pm line 11.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.9/Archive/Zip.pm line 11.
BEGIN failed–compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.9/Archive/Zip.pm line 11.
Compilation failed in require at /usr/local/sbin/mysqlblasy.pl line 1340.
BEGIN failed–compilation aborted at /usr/local/sbin/mysqlblasy.pl line 1340.
# /usr/ports/archivers/p5-IO-Compress-Base

# make install

===>  Installing for p5-IO-Compress-Base-2.015
===>   p5-IO-Compress-Base-2.015 depends on file: /usr/local/bin/perl5.8.9
– found
===>   Generating temporary packing list
===>  Checking if archivers/p5-IO-Compress-Base already installed
===>   p5-IO-Compress-Base-2.015 is already installed
You may wish to “make deinstall” and install this port again
by “make reinstall” to upgrade it properly.
If you really wish to overwrite the old port of
archivers/p5-IO-Compress-Base
without deleting it first, set the variable “FORCE_PKG_REGISTER”
in your environment or the “make install” command line.
*** Error code 1

Stop in /usr/ports/archivers/p5-IO-Compress-Base.

#make FORCE_PKG_REGISTER=1 install

# rehash

in Work | 293 Words

Install download manager for opensuse

Using zypper as front end tool for install download 4 x aka d4x.

# zypper install d4x
Reading installed packages…

The following NEW packages are going to be installed:
d4x-lang d4x

Overall download size: 1.2 M. After the operation, additional 2.8 M will be used.
Continue? [YES/no]: y
Downloading package d4x-2.5.7.1-70.144.i586 (1/2), 1.0 M (2.1 M unpacked)
Downloading: d4x-2.5.7.1-70.144.i586.rpm [done (29.3 K/s)]
Installing: d4x-2.5.7.1-70.144 [done]
Downloading package d4x-lang-2.5.7.1-70.144.i586 (2/2), 162.0 K (702.0 K unpacked)
Downloading: d4x-lang-2.5.7.1-70.144.i586.rpm [done (7.7 K/s)]
Installing: d4x-lang-2.5.7.1-70.144 [done]
#

Yup, my OpenSuse has d4x for sure 😉

in Work | 104 Words

Step by step wormanup, kido for Win XP

Our school get annoying worm which cause slow internet connection and make it dificult to access major anti virus website. Finally we found out the name :

  • Worm.Conficker [PCTools]
  • W32.Downadup [Symantec]
  • Net-Worm.Win32.Kido.ih [Kaspersky Lab]
  • W32/Conficker.worm [McAfee]
  • W32/Confick-A [Sophos]
  • Worm:Win32/Conficker.A [Microsoft]
  • Worm.Win32.Conficker [Ikarus]

Scan Infected computers

To detect it from network we use mikrotik tools ‘torch’ and pointing it to port 445 :

445

Source address of infected computer easily found using torch.

Continue reading

in Work | 418 Words

nginx proxy and wordpress multi user

WordPress multi user get a for serving blog experince to our student.

The architecture is :

Firewall -> FreeBSD Box -> Jail Box

A lot of jails (around 14) put inside FreeBSD Box to server student with different purpose. One of them is for wordpress muti user.

# jls

JID  IP Address      Hostname                      Path
14  172.88.0.14     blog.digitalfusi.com           /data2/jails/blogcom
13  172.88.0.12     db.digitalfusi.com             /data2/jails/db
12  172.88.0.13     demo.digitalfusi.com           /data2/jails/demoint
11  172.88.0.11     outside.digitalfusi.com        /data2/jails/outside
10  172.88.0.10     mail.rasyid.net           /data/jails/mailserver
9  172.88.0.9      sandbox.digitalfusi.com        /data2/jails/sandbox
8  172.88.0.7      blog.rasyid.net           /data2/jails/blog
7  172.88.0.8      demo2.digitalfusi.com          /data2/jails/demo2
6  172.88.0.6      palembang.digitalfusi.com      /data/jails/palembang
5  172.88.0.5      jambi.digitalfusi.com          /data/jails/jambi
4  172.88.0.4      lahat.digitalfusi.com          /data/jails/lahat
3  172.88.0.3      prabumulih.digitalfusi.com     /data/jails/prabumulih
2  172.88.0.2      linggau.digitalfusi.com        /data/jails/linggau
1  172.88.0.1      baturaja.digitalfusi.com       /data/jails/baturaja

To establish connection to jail box I use this rules in nginx.conf :

For serving *.blog.rasyid.net for end user.

server {
listen 80;
server_name www.blog.rasyid.net   .blog.rasyid.net;
location / {
proxy_pass http://172.88.0.7;
proxy_set_header Host $host;
}
}

I use nginx :

# pkg_info | grep nginx
nginx-devel-0.7.41  Robust and small WWW server

Great, I love nginx 🙂

in Work | 196 Words