Installing PowerDns on Windows XP

The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents.

Frankly, I need dns server for my PC running Windows XP , tired editing hosts file and distribute to all class :-)

Finally I found PowerDNS Nameserver that help me to explain how dns work in the class.
Here’s my step by step installing PowerDNS on Windows XP :

1. Download latest version of PowerDNS for windows

p0.PNG

2. Save to my computer and double click

p1.PNG

Continue reading

Step by step make iso from dvd or cd

I can’t wait much longer to try out my sun solaris startet kit, no spare harddisk for me till I remember my VirtualBox.

After doing search in google i found usefull link : Iso Recorder V 2

This great tool created by  Alex Feinman

Since I already has Windows XP sp 2 installed, I can continue convert my solaris 10 dvd into iso file for my VirtualBox

Here’s my step by step :

1. Download newest build of Iso Recorder , put in some place

i1.PNG

2. Double click to start installation process

i3.PNG

Continue reading

Step by step installing VirtualBox in Windows XP

vbox.pngVirtualBox is another virtualization products for i386 family, from official site :

Presently, VirtualBox runs on Windows, Linux and Macintosh hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista), DOS/Windows 3.x, Linux (2.4 and 2.6), and OpenBSD.

If you get confuse what VirtualBox do, then you can think vmware or virtualpc, this software working like vmware and virtualpc. Hardware requirement for VirtualBox, you need :

  • Reasonably powerful x86 hardware. Any recent Intel or AMD processor should do.
  • Memory. Depending on what guest operating systems you want to run, you will need at least 512 MB of RAM (but probably more, and the more the better). Basically, you will need whatever your host operating system needs to run comfortably, plus the amount that the guest operating system needs. So, if you want to run Windows XP on Windows XP, you probably won’t enjoy the experience much with less than 1 GB of RAM. If you want to try out Windows Vista in a guest, it will refuse to install if it is given less than 512 MB RAM, so you’ll need that for the guest alone, plus the memory your operating system normally needs.
  • Hard disk space. While VirtualBox itself is very lean (a typical installation will only need about 30 MB of hard disk space), the virtual machines will require fairly huge files on disk to represent their own hard disk storage. So, to install Windows XP, for example, you will need a file that will easily grow to several GB in size.
  • A supported host operating system. Presently, we support 32-bit Windows (primarily XP) and many Linux distributions. Support for Mac OS X and 64-bit operating systems is currently in the works.
  • A supported guest operating system. Besides the user manual (see below), up-to-date information is available at “Status: Guest OSes“.

Today, I’ll show how to install VirtualBox in my Windows XP

1. Download latest release from VirtualBox site, put in any location followed by double click to start installation process.

12.PNG Continue reading

Cisco simulator using dynamips

During waiting period for cisco router arrive in the lab, I’m looking for software which is able simulating cisco for student and myself like vmware that provide computer inside the computer.

I’m lucky to find very interesting software : Dynamips

From author site :

The goals of this emulator are mainly:

  • To be used as a training platform, with software used in real world. It would allow people to become more familiar with Cisco devices, Cisco being the world leader in networking technologies ;
  • Test and experiment the numerous and powerful features of Cisco IOS ;
  • Check quickly configurations to be deployed later on real routers.

Of course, this emulator cannot replace a real router: you should be able to get a performance of about 1 kpps (depending on your host machine), to be compared to the 100 kpps delivered by a NPE-100 (the oldest NPE model). So, it is simply a complementary tool to real labs for administrators of Cisco networks or people wanting to pass their CCNA/CCNP/CCIE exams.

great, this tool will guide me to learn cisco.

Then I found other usefull software : Dynagen

From author site :

Dynagen is a front-end for use with the Dynamips Cisco router emulator. It uses an INI-like configuration file to provision Dynamips emulator networks. It takes care of specifying the right port adapters, generating and matching up those pesky NIO descriptors, specifying bridges, frame-relay, ATM switches, etc. It also provides a management CLI for listing devices, suspending and reloading instances, determining and managing idle-pc values, performing packet captures, etc.

Available on the Downloads page is a Windows installer package that includes Dynamips and Dynagen. The only dependency is Winpcap 4.0.

Wow, this make learning process become easy.

Still in need for basic question :

How do I get started ?

Google very generous, guide me to this usefull site, video for beginner like me :-)
BlindHog, provide many video tutorial, for cheap price you can get very detail video on specific subject, awesome site 😉

Good enough for starting point, I’ll write my experience using this tool in this directory.

Cisco, I’m coming :-)

Show php error with ini_set()

Even experience php programmer can make mistake, since most of them are typo php error message then become valuable resource for debugging.

By default, error message will show depend on error made, but in specific environment where tweaking in php.ini  has been made by system administrator. Such free hosting will do it for good.

With assumption that php_ini not included in list of “disable_function” then php_ini will help :-)

<?php
ini_set(‘error_reporting’, E_ALL);
ini_set(‘display_errors’, ‘On’);
ini_set(‘display_startup_errors’, ‘On’);

$first_name      = trim($_GET[‘first_name’]);
echo $first_name;
?>

If there is no parse errror, the above enables “Notice: Undefined” error on screen.

If the code for an error the “Parse error” as follows, the error isn’t defined as should be

echo $first_name);
) will be error source, running it then you’ll get this error message

Parse error: parse error, unexpected ‘)’, expecting ‘,’ or ‘;’ in a.php on line 7

now, what you get for this ?
eho $first_name; // should be echo

parse error or …..