Install
Requirements
- JDK 1.6
- MySQL 5.0 or higher
- Basic knowledge of Debian
Installation
Install all the required packages
apt-get install mysql-server mysql-client libmysqlclient15-dev sun-java6-jdk subversion
Follow the setup guide for MySQL to set your root password then create your databse:
mysqladmin -u root -p create services
Login to MySQL
mysql -u root -p
Create the user and grant access to our new database
GRANT SELECT, INSERT, UPDATE, DELETE ON services.* TO 'services'@'localhost' IDENTIFIED BY 'services_password'; GRANT SELECT, INSERT, UPDATE, DELETE ON services.* TO 'services'@'localhost.localdomain' IDENTIFIED BY 'services_password'; FLUSH PRIVILEGES;
Check if your Java version is correct by running
java -version
The output should be similar to
java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
Create a user for the services
adduser services
Swap to the new user
su - services
Checkout the repository
svn co https://svn.code.sf.net/p/borknet-dev-com/code/borknet_services/trunk/ borknet_services
Enter the borknet_services directory
cd borknet_services
Install the included MySQL Database skeleton
mysql -u services -p dbname < borknet.sql
Create your own account
chmod u+x createaccount ./createaccount
All you need to do now is setup the bots (edit borknet_services/bot.conf and every .conf file in the borknet_services/core/modules/* directories) and add a Connect and Uworld block to your snircd config.
Finally start the services with
chmod u+x services ./services
Good luck!
Last updated on 26/05/2013 for Debian 6.0 (Squeeze) by Ozafy