Date: August 2004
Authors: Ken Pratt, Luke Hutton
NOTE: before installing iPeer, you must have both an SQL database server and PHP installed and configured on your system. This guide assumes you are using MySQL. If you are using a different database system, you will have to consult the respective documentation for instructions on creating a database.
The following describes installation procedures for POSIX and WINDOWS machines:
shell> tar -zxvf ipeer.tar.gz
shell> mkdir /path/to/ipeer/app/dir
shell> cp -R ipeer/app/* /path/to/ipeer/app/dir/
shell> /usr/bin/mysqladmin create ipeer -u root -p
shell> /usr/bin/mysql -u root -p ipeer < ./ipeer/sql/ipeer.sql
shell> echo "GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON ipeer.* TO 'ipeer'@'localhost' IDENTIFIED BY 'passwd' WITH GRANT OPTION;" | mysql -u root -p
shell> cd /path/to/ipeer/app/dir/
shell> nano -w ./inc/config.inc.php
define('DB_VENDOR', 'mysql');
define('DB_USER', 'ipeer');
define('DB_PASS', 'passwd');
define('DB_HOST', 'localhost');
define('DB_NAME', 'ipeer');
Go to step 4
Create a database instance called ipeer
Select the SQL tab
Select file “ipeer.sql” with the “Browse” button and select “Go” button to create the neccessary iPeer tables
shell> echo "GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON ipeer.* TO 'ipeer'@'localhost' IDENTIFIED BY 'passwd' WITH GRANT OPTION;" | mysql -u root -p
shell> cd /path/to/ipeer/app/dir/
shell> nano -w ./inc/config.inc.php
define('DB_VENDOR', 'mysql');
define('DB_USER', 'ipeer');
define('DB_PASS', 'passwd');
define('DB_HOST', 'localhost');
define('DB_NAME', 'ipeer');
Follow the instructions provided in the file
Edit # !/usr/bin/php to the path of the PHP installation
Go to http://www.myserver.com/ipeer/
The default administrator login is username: root, and password: tra1n1ing
Unpack the installation archive of iPeer using WinZIP, or WinRAR, etc. to anywhere
Decide where you want to put iPeer (web root, subfolder, etc), and create the directory
Copy the contents of the app folder to the directory you just created
C:\> C:\mysql\bin\mysqladmin create ipeer -u root -p
C:\> C:\mysql\bin\mysql -u root -p ipeer < ipeer\sql\ipeer.sql
C:\> C:\mysql\bin\mysql -u root -p
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON ipeer.* TO 'ipeer'@'localhost' IDENTIFIED BY 'passwd' WITH GRANT OPTION;
Move to the directory in which you copied the app folder
define('DB_VENDOR', 'mysql');
define('DB_USER', 'ipeer');
define('DB_PASS', 'passwd');
define('DB_HOST', 'localhost');
define('DB_NAME', 'ipeer');
Go to step 4
Create a database instance called ipeer
Select the SQL tab
Select file “ipeer.sql” with the “Browse” button and select “Go” button to create the neccessary iPeer tables
C:\> C:\mysql\bin\mysql -u root -p
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON ipeer.* TO 'ipeer'@'localhost' IDENTIFIED BY 'passwd' WITH GRANT OPTION;
Move to the directory in which you copied the app folder
define('DB_VENDOR', 'mysql');
define('DB_USER', 'ipeer');
define('DB_PASS', 'passwd');
define('DB_HOST', 'localhost');
define('DB_NAME', 'ipeer');
Follow the instructions provided in the file
Edit # !C:\PHP\bin\php to the path of the PHP installation
; For Win32 only.
SMTP = smtp.myserver.com
smtp_port = 25
Go to http://www.myserver.com/ipeer/
The default administrator login is username: root, and password: tra1n1ing