General installation instructions

Michael Salathe

You must have the apache web server and mod_php installed on your netem machine. Please see the instructions for apache and php and ensure that they are working. Generally if you can make the 'phpinfo.php' script work then PHP and apache are installed correctly.

You must also have netem working correctly on your machine with support available in the kernel and a recent version of iproute2 installed. Furthermore you need the HTB QoS Kernel module(sch_htb) go get the bandwidth shaping features.

You need to have sudo installed and working on your machine. sudo has a configuration file which can be edited using the 'visudo' command. The following line will enable PHPnetemGUI2 to work: %apache ALL=NOPASSWD: //<to>/tc Where //<to>/ is the path where the tc command is located on your machine. Note, that this is almost certainly a nasty security hole. This assumes that apache is running as the user 'apache'. Change it to the
appropriate user if it is not. See [Distribution dependent hints]

The file, 'config.inc.php' is a small configuration file for the program. You can change the location of the commands used by the program and the location that it temporarily stores the on/off status and the last set of commands that were run. This location must be read/writeable by all users, /tmp is a good example.

Finally, place the PHPnetemGUI2 files in a directory available to apache. Pointing your web browser at the page will show the start screen.


Related

Home: Distribution dependent hints
Home: Documentation

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.