» Documentation
Big thanks goes out to Sander "Nakebod" Rutten from The Netherlands for making this awsome documentation
phpbnc configurationWe are now back again in the phpbnc directory.All the pre-requirements are done at this moment, and we can start with the configuration. Use your favorite text editor to edit the configuration files, like vi, vim, nano, or any other editor you want. In this example, I'm using nano.
$ nano config.php
Lines starting with // are comments. Lines between /* and */ are comment blocks. You need at least edit the database configuration.
define("myhost", "localhost"); //mysql host
define("myuser", "phpbnc"); //mysql username
define("mypwd", "yourpassword"); //mysql password
define("mydb", "phpbnc"); //mysql database
Also, one important step, is to accept the license.
// if you accept the license.txt for this program, change decline to ACCEPT
define("license", "decline"); Change this line to the following line, as stated in the comment above the line.
// if you accept the license.txt for this program, change decline to ACCEPT
define("license", "ACCEPT"); Now you can save the modified configuration file. In nano, you can do this by hitting ctrl-o to save, but not close the editor, or ctrl-x to save, and close the editor. We need to close the editor anyways, otherwise we can't go further.
Index:
[+] installing [+] running
-starting the software -logging in for the first time -different ways of logging in -updating users settings [+] commands
-bconnect
-breconnect -bquit -brestore -bclear -readlog -dellog -pb set -pb list -pb del -pb myinfo -pb uptime -pb aset -pb stats -pb kick -pb banchan -pb unbanchan -pb find -pb check -pb info -pb ban -pb unban -pb addhost -pb delhost -pb allmsg -pb trail -pb untrail -pb admin -pb adduser -pb deluser
© 2007-2010 phpBNC.se
Made by Daniel Ylitalo
|
||