Install ocsinventory-ng and glpi on FreeBSD

Recent search for finding solution for inventory computer in the school lead me to interesting url :

From their architecture page :

“OCS Inventory NG uses an agent, which runs the inventory on client computers, and a management server, which centralizes inventory results, allow viewing inventory results and creating deployment packages.”


Very interesting software. After think a little bit I decide to try to install it on one of FreeBSD jail.

(In case you have old FreeBSD iso, you can try different version that works).

Here’s the steps :

1. Install database server

cd /usr/ports/databases/mysql50-server/ && make install

2. Install ocsinventory-ng

cd /usr/ports/net-mgmt/ocsinventory-ng/ && make install

3. Install logrotate

cd /usr/ports/sysutils/logrotate && make install

mkdir /etc/logrotate.d

mkdir /etc/logrotate.d/ocsinventory-NG

cd /usr/ports/net-mgmt/ocsinventory-ng/work/OCSNG_LINUX_SERVER_1.01


That step will initiate checking screen.

read more »

Step by step install Rescue Time in windows xp

I’ve spend my time more in reading google reader, plurk or check email. I’m not so sure how much time I spent for that activity. Rescue time will help me to find that :-)

Here’s step by step installation process of rescue time in windows xp :

1. Go to signup page for personal account that free  ( at the time I wrote this posting).

2. Download data collector for windows here.

3. Double click installer to start install.

Click Next.


4. Pick installation destination folder.

Click next.

read more »

Update Clam Anti Virus Definition Offline

Not everyone has good internet access or have problem with restriction such proxy password, port blocking etc.

That thing also happen  to our division, when we must doing regular maintenance including latest standar operating procedure that implement Clam Anti Virus in System Rescue CD we don’t have internet access due to security policy during attack of clicker worm.

That means no virus definition!

But Anti virus without latest defintion is not good, I took offline solution for update clam anti virus.

Here’ s the steps :

1. Checking clamav version :

clamd -V

ClamAV 0.94.2/8970/Tue Feb 10 02:52:04 2009

2. Clamav provide offline method, we just need to download latest version from here :


3. Download main.cvd and daily.cvd from computer that has internet access and save it to usb flash disk.

4. Run system rescue cd on computer target.

5. Put USB flash disk on computer target.

6. Run these commands :

Checking flash disk location

fdisk -l

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6f656f65

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1043     8377866    7  HPFS/NTFS

Disk /dev/sdb: 4043 MB, 4043309056 bytes
255 heads, 63 sectors/track, 491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x04dd5721

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         492     3948512+   b  W95 FAT32
Partition 1 has different physical/logical endings:
phys=(490, 254, 63) logical=(491, 145, 38)

Well, its located in /dev/sdb1

Mount the flash disk :

mkdir /mnt/flashdisk
mount -t vfat /dev/sdb1 /mnt/flashdisk
cp /mnt/flashdisk/daily.cvd /var/lib/clamav

Done, I use latest main.cvd so I don’t have to update it.

Run clamscan to scan as previous post.

Identify on server as : Internet Explorer

Yes, I just realized that things when I got decreased speed of my download. From 32k to 1k.

I think its normal situation since I never see that before. But my download almost over.


After thinking a while I think I must change my identification agent as browser.

To do that I click Download properties.


Click on ‘Protocol’, there is a few option available:

  • Microsoft Internet Explorer 5.0
  • Netscape Communicator 4.0
  • Opera 3.6

Pick anything other than ‘Free Download Manager 2.x’.


Click ‘Apply’ and try to resume my download.

As I see, I got 34.3 KB/s speed for my download.


Hohohoho, robot versus defined robot.

Give me my download please :-)