Commit 15e061d5 authored by jeanphilippelevy's avatar jeanphilippelevy

Initial commit

Initial commit eonweb 4.2-3
parents
0 4 * * * root /usr/sbin/backup-manager > /dev/null 2>&1
* * * * * root /srv/eyesofnetwork/nagios/plugins/Downtime/downtime_auto.sh > /dev/null 2>&1
# --- REMOTE_USER
<Location />
SetEnvIf Cookie "user_name=([^;]+)" REMOTE_USER=admin
#SetEnvIf Cookie "user_name=([^;]+)" REMOTE_USER=$1
</Location>
# --- END REMOTE_USER
<Directory /srv/eyesofnetwork/eonweb>
Options -Indexes
<Files ~ (header.php|index.php)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND (`users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id OR `users`.`user_limitation`='1')"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Files>
<Files ~ (side.php)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Files>
</Directory>
<Directory ~ /srv/eyesofnetwork/eonweb/(include|cache|bin|module)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND (`users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id OR `users`.`user_limitation`='1')"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Directory>
<Directory ~ /srv/eyesofnetwork/eonweb/module/home_(.*)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id AND `groupright`.`tab_1`='1'"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Directory>
<Directory ~ /srv/eyesofnetwork/eonweb/module/monitoring_(.*)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id AND `groupright`.`tab_2`='1'"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
<Files ~ (ged.php|ged.js|ged_actions.php|ged_dashboard.php|EventBrowser.php)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND (`users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id AND `groupright`.`tab_2`='1' OR `users`.`user_limitation`='1')"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Files>
</Directory>
<Directory ~ /srv/eyesofnetwork/eonweb/module/monitoring_passwd>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND (`users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id AND `groupright`.`tab_2`='1' OR `users`.`user_limitation`='1')"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Directory>
<Directory ~ /srv/eyesofnetwork/eonweb/module/capacity_(.*)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id AND `groupright`.`tab_3`='1'"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Directory>
<Directory ~ /srv/eyesofnetwork/eonweb/module/tool_(.*)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id AND `groupright`.`tab_4`='1'"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Directory>
<Directory ~ /srv/eyesofnetwork/eonweb/module/report_(.*)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id AND `groupright`.`tab_5`='1'"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Directory>
<Directory ~ /srv/eyesofnetwork/eonweb/module/admin_(.*)>
AuthType Basic
AuthName "Restricted"
AuthFormAuthoritative On
AuthFormMySQLSocket /var/lib/mysql/mysql.sock
AuthFormMySQLUsername eonweb
AuthFormMySQLPassword root66
AuthFormMySQLDB eonweb
AuthFormMySQLTableSID sessions,users,groupright
AuthFormMySQLFieldUID sessions.user_id
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id AND `groupright`.`tab_6`='1'"
AuthFormPageLogin /login.php
AuthFormSessionCookies On
Require valid-user
</Directory>
-- MySQL dump 10.11
--
-- Host: localhost Database: eonweb
-- ------------------------------------------------------
-- Server version 5.0.45
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `auth_settings`
--
DROP TABLE IF EXISTS `auth_settings`;
CREATE TABLE `auth_settings` (
`auth_type` tinyint(1) NOT NULL default '0',
`ldap_ip` varchar(255) default NULL,
`ldap_port` int(11) default NULL,
`ldap_search` varchar(255) default NULL,
`ldap_user` varchar(255) default NULL,
`ldap_password` varchar(255) default NULL,
`ldap_rdn` varchar(255) default NULL,
`ldap_filter` varchar(255) default NULL,
PRIMARY KEY (`auth_type`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `auth_settings`
--
LOCK TABLES `auth_settings` WRITE;
/*!40000 ALTER TABLE `auth_settings` DISABLE KEYS */;
INSERT INTO `auth_settings` VALUES (0,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `auth_settings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `groupright`
--
DROP TABLE IF EXISTS `groupright`;
CREATE TABLE `groupright` (
`group_id` int(11) NOT NULL,
`tab_1` enum('0','1') NOT NULL default '0',
`tab_2` enum('0','1') NOT NULL default '0',
`tab_3` enum('0','1') NOT NULL default '0',
`tab_4` enum('0','1') NOT NULL default '0',
`tab_5` enum('0','1') NOT NULL default '0',
`tab_6` enum('0','1') NOT NULL default '0',
`tab_7` enum('0','1') NOT NULL default '0',
PRIMARY KEY (`group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `groupright`
--
LOCK TABLES `groupright` WRITE;
/*!40000 ALTER TABLE `groupright` DISABLE KEYS */;
INSERT INTO `groupright` VALUES (1,'1','1','1','1','1','1','1');
/*!40000 ALTER TABLE `groupright` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `groups`
--
DROP TABLE IF EXISTS `groups`;
CREATE TABLE `groups` (
`group_id` int(11) unsigned NOT NULL auto_increment,
`group_name` varchar(255) NOT NULL,
`group_descr` text,
`group_dn` varchar(255),
`group_type` tinyint(1),
PRIMARY KEY (`group_id`,`group_name`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `groups`
--
LOCK TABLES `groups` WRITE;
/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
INSERT INTO `groups` VALUES (1,'admins','Administrator group',NULL,NULL);
/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ldap_groups_extended`
--
DROP TABLE IF EXISTS `ldap_groups_extended`;
CREATE TABLE `ldap_groups_extended` (
`dn` varchar(255) NOT NULL,
`group_name` varchar(255) DEFAULT NULL,
`checked` smallint(6) NOT NULL,
PRIMARY KEY (`dn`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `ldap_groups_extended`
--
LOCK TABLES `ldap_groups_extended` WRITE;
/*!40000 ALTER TABLE `ldap_groups_extended` DISABLE KEYS */;
/*!40000 ALTER TABLE `ldap_groups_extended` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ldap_users`
--
DROP TABLE IF EXISTS `ldap_users`;
CREATE TABLE `ldap_users` (
`dn` varchar(255) NOT NULL,
`login` varchar(255) NOT NULL,
PRIMARY KEY (`dn`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `ldap_users`
--
LOCK TABLES `ldap_users` WRITE;
/*!40000 ALTER TABLE `ldap_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `ldap_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ldap_users_extended`
--
DROP TABLE IF EXISTS `ldap_users_extended`;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `ldap_users_extended` (
`dn` varchar(255) NOT NULL,
`login` varchar(255) NOT NULL,
`user` varchar(255) NOT NULL,
`checked` smallint(6) NOT NULL,
PRIMARY KEY (`dn`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;
--
-- Dumping data for table `ldap_users_extended`
--
LOCK TABLES `ldap_users_extended` WRITE;
/*!40000 ALTER TABLE `ldap_users_extended` DISABLE KEYS */;
/*!40000 ALTER TABLE `ldap_users_extended` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `logs`
--
DROP TABLE IF EXISTS `logs`;
CREATE TABLE `logs` (
`id` mediumint(9) NOT NULL auto_increment,
`date` varchar(255) NOT NULL,
`user` varchar(255) NOT NULL,
`module` varchar(255) NOT NULL,
`description` varchar(255) NOT NULL,
`source` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `logs`
--
LOCK TABLES `logs` WRITE;
/*!40000 ALTER TABLE `logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `logs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sessions`
--
DROP TABLE IF EXISTS `sessions`;
CREATE TABLE `sessions` (
`session_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`session_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `sessions`
--
LOCK TABLES `sessions` WRITE;
/*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`user_id` int(11) unsigned NOT NULL auto_increment,
`group_id` int(11) NOT NULL,
`user_name` varchar(255) NOT NULL,
`user_passwd` varchar(255) NOT NULL,
`user_descr` varchar(255) default NULL,
`user_type` tinyint(1) NOT NULL,
`user_location` varchar(255) default NULL,
`user_limitation` tinyint(1) NOT NULL,
PRIMARY KEY (`user_id`,`user_name`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,1,'admin','21232f297a57a5a743894a0e4a801fc3','default user',0,'',0);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--
-- EONWEB USER RIGHTS
--
GRANT ALL ON eonweb.* TO eonweb@localhost IDENTIFIED BY 'root66';
GRANT ALL ON lilac.* TO eonweb@localhost IDENTIFIED BY 'root66';
GRANT ALL ON ged.* TO eonweb@localhost IDENTIFIED BY 'root66';
GRANT ALL ON cacti.* TO eonweb@localhost IDENTIFIED BY 'root66';
#!/bin/sh
# Define values
eonconfdir="/srv/eyesofnetworkconf/eonweb"
eondir="/srv/eyesofnetwork"
datadir="$eondir/eonweb"
eonwebdb="eonweb"
nagiosbpdb="nagiosbp"
snmpdir="/etc/snmp"
backupdir="/etc"
# change right acces for this files
chmod 777 ${datadir}/cache
chmod 666 ${snmpdir}/snmpd.conf
chmod 666 ${snmpdir}/snmptrapd.conf
chmod 666 ${backupdir}/backup-manager.conf
# change own user for eonweb directory
chown -R apache:eyesofnetwork ${datadir}*
# create the eonweb database
mysqladmin -u root --password=root66 create ${eonwebdb}
mysqladmin -u root --password=root66 create ${nagiosbpdb}
# create the database content
mysql -u root --password=root66 ${eonwebdb} < ${eonconfdir}/eonweb.sql
mysql -u root --password=root66 ${nagiosbpdb} < ${eonconfdir}/nagiosbp.sql
# Change DocumentRoot for apache
sed -i 's/^DocumentRoot.*/DocumentRoot\ \"\/srv\/eyesofnetwork\/eonweb\"/g' /etc/httpd/conf/httpd.conf
# crons for eon
cp -rf ${eonconfdir}/eonbackup /etc/cron.d/
cp -rf ${eonconfdir}/eondowntime /etc/cron.d/
cp -rf ${eonconfdir}/eonwebpurge /etc/cron.d/
# start the services
/etc/init.d/httpd restart > /dev/null 2>&1
*/5 * * * * root /usr/bin/php /srv/eyesofnetwork/eonweb/include/purge.php > /dev/null 2>&1
ALTER TABLE groups ADD COLUMN group_type tinyint(1);
ALTER TABLE groups ADD COLUMN group_dn varchar(255);
CREATE TABLE `ldap_groups_extended` (
`dn` varchar(255) NOT NULL,
`group_name` varchar(255) DEFAULT NULL,
`checked` smallint(6) NOT NULL,
PRIMARY KEY (`dn`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- MySQL dump 10.11
--
-- Host: localhost Database: nagiosbp
-- ------------------------------------------------------
-- Server version 5.0.95
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `bp`
--
DROP TABLE IF EXISTS `bp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bp` (
`name` varchar(255) NOT NULL,
`description` varchar(255) default NULL,
`priority` varchar(5) default NULL,
`type` varchar(3) NOT NULL,
`command` varchar(255) default NULL,
`url` varchar(255) default NULL,
`min_value` varchar(5) default NULL,
`is_define` tinyint(1) default '0',
PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `bp_links`
--
DROP TABLE IF EXISTS `bp_links`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bp_links` (
`id` mediumint(9) NOT NULL auto_increment,
`bp_name` varchar(255) NOT NULL,
`bp_link` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `bp_services`
--
DROP TABLE IF EXISTS `bp_services`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bp_services` (
`id` mediumint(9) NOT NULL auto_increment,
`bp_name` varchar(255) NOT NULL,
`host` varchar(255) NOT NULL,
`service` varchar(255) NOT NULL,
PRIMARY KEY (`id`)