Menu

how to setup

Darius Anderson

Welcome to the howto guide for admintool version 1.0 revision 1
this guide will cover a how to install guide
how to compile the shell script compiler
and how to run admintool

INSTALL:
to install admintool you must first have gcc, shc (shell script compiler) and the tar.gz from sourceforge
1) open a terminal (/Applications/Utilites/terminal.app) and go to /path/to/download/admintool/ and type the following:
chmod +x install.sh
/bin/sh install.sh (you must accept the licence aggreement (GNU GPL v1 and v2)

COMPILE:
before you install admintool you must first have the shell script compiler (shc.c)
to compile it you must have gcc (installed from xcode)
to compile it type the following into the terminal:
cd /path/to/download/admintool/
gcc -Wall shc.c -o shc
mv shc /usr/bin/

to compile admintool and the other programs that admintool requires type the following:
cd /path/to/download/admintool/
sudo /bin/sh install.sh

HOW TO RUN
to run admintool you must put /usr/admintool/bin/ in your $PATH varable in your shell profile (for bash and sh .profile, ksh .kshrc, zsh .zshrc, tcsh, csh .tcshrc, .cshrc) AFTER INSTALLING ADMINTOOL you will find these files in /etc/skel
after that type admintool at the command line


MongoDB Logo MongoDB