core-extra/wiki/Quickstart.wiki
2009-09-11 18:07:34 +00:00

30 lines
No EOL
4.9 KiB
Text

#summary How to get CORE up and running quickly.
= Quickstart =
CORE is a network emulation system, and version 3.4 requires the FreeBSD or Linux operating systems. It is recommended that you use *CORE on FreeBSD 7.2* for the best experience, and the Linux version only when you really need it (see the [http://hipserver.mct.phantomworks.org/core/manual/ manual] for more help on choosing which version to install).
|| *FreeBSD* (recommended) || *Linux* ||
|| Step 1. Install FreeBSD 7.2<br>http://hipserver.mct.phantomworks.org/core/images/box_download_48.png *7.2-RELEASE-i386-dvd1.iso* (2.1 gb)<br>[ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/]<br>Burn the ISO image to a blank DVDR using your CD writing software. Boot the DVD-ROM on your target system and follow the on-screen instructions. || Step 1. Install CentOS Linux 5.3<br>http://hipserver.mct.phantomworks.org/core/images/box_download_48.png *CentOS-5.3-i386-bin-DVD.iso* (3.7 gb)<br> [http://isoredirect.centos.org/centos/5/isos/i386/]<br>Burn the ISO image to a blank DVDR using your CD writing software. Boot the DVD-ROM on your target system and follow the on-screen instructions. ||
|| Step 2. Install prerequisite packages<br>`# pkg_add -r tk85 sudo bash` <br> <br>Consult the [http://hipserver.mct.phantomworks.org/core/manual/Required-Software-for-FreeBSD.html manual] for more details. || Step 2. Install prerequisite packages and [http://wiki.openvz.org/Quick_installation#yum_pre-setup OpenVZ]<br>`# cd /etc/yum.repos.d` <br> `# wget http://download.openvz.org/openvz.repo` <br>`# wget http://download.openvz.org/RPM-GPG-Key-OpenVZ` <br>`# rpm --import RPM-GPG-Key-OpenVZ` <br>`# yum install ovzkernel vzctl` <br>`# yum install tcl.i386 tk.i386` ||
|| Step 3. Download and install the CORE packages<br> http://hipserver.mct.phantomworks.org/core/images/box_download_48.png [http://downloads.pf.itd.nrl.navy.mil/core/packages/3.4/freebsd/core-kernel-7.x-20090505.tbz core-kernel-7.x-20090505.tbz] (47 MB) <br>[http://downloads.pf.itd.nrl.navy.mil/core/packages/3.4/freebsd/core-7.x-3.4.tbz core-7.x-3.4.tbz] (599 KB)<br> [http://downloads.pf.itd.nrl.navy.mil/core/packages/3.4/freebsd/quagga-manetmdr-0.99.9_5.tbz quagga-manetmdr-0.99.9_5.tbz] (3 MB)<br>`# pkg_add core-kernel-7.x-20090505.tbz`<br>`# pkg_add core-7.x-3.4.tbz`<br>`# pkg_add quagga-manetmdr-0.99.9_5.tbz`|| Step 3. Download and install the CORE packages<br> http://hipserver.mct.phantomworks.org/core/images/box_download_48.png [http://downloads.pf.itd.nrl.navy.mil/core/packages/3.4/linux/core-3.4-1.i386.rpm core-3.4-1.i386.rpm] (694 KB)<br>[http://downloads.pf.itd.nrl.navy.mil/core/packages/3.4/linux/core-root-3.4-1.i386.rpm core-root-3.4-1.i386.rpm] (191 MB)<br>`# rpm -ivh core-3.4-1.i386.rpm` <br>`# rpm -ivh core-root-3.4-1.i386.rpm`||
|| Step 4. Reboot and start the CORE daemons<br>`sudo /usr/local/etc/rc.d/core onestart` || Step 4. Reboot and start the CORE daemons<br>`sudo /etc/init.d/core/start` ||
|| Step 5. Run the CORE GUI from X11<br>`sudo core &` || Step 5. Run the CORE GUI from X11<br>`sudo core &` ||
<br>
= Tips =
* Once you see the CORE GUI, you can try loading one of the sample configuration such as `sample1.imn`
* CORE requires the Tcl/Tk packages, you can install with:
{{{pkg_add -r tk84}}}
* You can run the GUI from Windows, Linux, or OS X (with Tcl/Tk) and draw network topologies, but you will not be able to instantiate (execute) topologies on those systems.
* For system requirements and tips on the FreeBSD install process, visit the [http://hipserver.mct.phantomworks.org/core/manual/Prerequisites.html Prerequisites] page of the [http://hipserver.mct.phantomworks.org/core/manual/index.html CORE manual] or see [http://www.freebsd.org]
= Other Options =
* FreeBSD 4.11 (for lighter-weight virtual machines)
# first install *4.11-RELEASE-i386-disc1-gnome.iso* (563 mb)<br>[ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.11/]
# then install *core-freebsd411-3.3.sh* (19 mb)<br>[http://downloads.pf.itd.nrl.navy.mil/core/installer-complete/]
* pre-built VMware image (for quick evaluation)<br>*vcore-3.4.zip* (1.0 gb)<br>[http://downloads.pf.itd.nrl.navy.mil/core/vmware-image/]<br>You can run CORE from within this pre-built VMware virtual machine with minimal setup. See the included vcore.txt in the zipfile for login information.<br>_(However, you may experience decreased performance, timer issues, and there is the added confusion of virtualization within virtualization. If you decide to run in this mode, we suggest running the CORE GUI via SSH with X11 forwarding, to mitigate the decreased performance of the VMware virtual display.)_
* To build a CORE machine from scratch, including patching and compiling your own CORE kernel, see the [http://hipserver.mct.phantomworks.org/core/manual/Installing-from-Source.html Installing from Source] page of the [http://hipserver.mct.phantomworks.org/core/manual/index.html CORE manual].