VirtualBox 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.
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 🙂
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 🙂
$first_name = trim($_GET[‘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
) 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 …..
Simple way to insert time information in mysql is using now()
now() will automatically insert appropriate depends on type, let say we have field in mysql database in these format :
1. birth (date), now() will insert current date, ex: 2007-05-02
2. birth (datetime), now() will insert current date + current time, ex : 2007-05-2 22:54:30
3. birth (time), now() will insert only time information, ex : 22:54:30
this snippet will get same result with now()
$birth=date(‘Y’).’-‘.date(‘m’).’-‘.date(‘d’); // will be same as 2007-05-02
example in mysql command line :
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>cd c:\appserv\mysql\bin
C:\AppServ\mysql\bin>mysql -uroot -p
Welcome to the MySQL monitor.ï¿½ Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.0.24-nt
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql> create database test;
Query OK, 1 row affected (0.03 sec)
mysql> use test;
Progress in *BSD world is very fast, everyday patch released, program update etc
to get that update via internet FreeBSD provide a few tools :
- cvs, not so familiar for beginner
- cvsup, very famous in FreeBSD, can update ports, source even for backup purpose
- portsnap, only for port update, in FreeBSD tree since 6.0
- csup, cvsup alternative, already integrated in 6.2 tree, no need to install, compatible with cvsup
example for cvs :
cvs -z3 -d :pserver:[email protected]:/cvs co -P freesbie2
will fetch freesbie2 and located in current directory where command issued
example for cvsup :
cvsup -g -L2 ports-supfile -h cvsup12.freebsd.org
will update ports information
example for portsnap :
will update ports data, faster than portsnap extract
csup example :
cvsup -g -L2 stable-supfile -h cvsup12.freebsd.org
will update stable source
make sure port 5999/tcp open for cvsup and csup
portsnap will use port 80