root/source/README

Revision 167, 6.2 kB (checked in by frank, 19 months ago)

install.pl script now does everything for you including setting up and installing ddtelnetd.

Line 
1/=/====================================================================================================
2
3Enthral BBS - 18/10/2010 Build 429 Alpha.
4
5/=/====================================================================================================
6There are two ways to install Enthral.  The manual way (which some people
7enjoy since they get a kick out of having full control) and the automated
8way via the install.pl script.
9
10We have detailed instructions for both steps as well as an auto update
11scripts that will update and compile your current Enthral install via
12the svn.
13
14/=/====================================================================================================
15Auto Install.
16
17For those of you that would rather have every dependancy and the sysop name/
18bbs name changed in the code for you we have an automated perl script that
19will do all the heavy lifting for you.  If you interested in having your
20system do everything for you, all you need to do is run the following:
21
22./install.pl
23
24You need to have perl installed on your system to use the install script.
25
26/=/====================================================================================================
27Manual Install.
28
29Remember things are still very incomplete so still there are not a lot of
30options for many things, but I'm working on it.. :)
31
32You can get the source through svn thanks to Netsurge.
33
34 $ svn --username svn co http://svn.enthralbbs.com /your/path/enthral
35
36If it asks for a password just hit ENTER or leave it blank.
37
38Before you can compile you need the Husky SMAPI lib, this is for jam message
39support.
40
41You can get the latest 2.4 RC5 from here:
42http://sourceforge.net/projects/husky/
43
44 *Note, Some people have had problem with 2.4, if you get crashes in message
45 scanning, please switch to 2.2-Stable Release.
46
47Go into the source directory, rename makefile.lnx to Makefile (case sensitive)
48and run make. This will generate the libsmapilnx.a which is needed by the bbs,
49copy this to the src directory for enthral and your all set.
50
51*Note, Both BSD and Linux will compile correctly with the makefile.lnx
52
53After smapi is all set and compiles cleanly:
54
55You have to edit the config.ini file located in the ini folder.  Here you will
56add the handle/username of your sysop user.  It should match exactly case and
57all.  Soon there will be a user editor where you can assign a sysop flag.
58
59Now that we have made all the necessary changes to the code, we can now run
60configure and make.  At a shell just type the following...
61
62/=/====================================================================================================
63
64# First run autogen.sh to generate a multi-platform configure script.
65
66./autogen.sh
67
68# Now run configure and make to build the system, if you have any pronlems,
69# try running 'make distclean' then re-run 'make', make sure the libsmapilnx.a library
70# is placed in your src folder before running make, it's a dependancy.
71
72./configure && make
73
74We still have two small binaries to build to ensure that Enthral runs nice and
75smooth.  Stats is used to generate top callers and posters and Snoop allows
76you to see what's going on when a user is logged in.
77
78/=/====================================================================================================
79For Stats
80
81Stats is located in src/stats.  You will need to change the path statement in
82main.cpp to match the path of your enthral setup. Inside of main.cpp change
83the following line to your path.
84
85 Line 19 - PATH = "/home/merc/enthral/src/";
86
87Once you have made the change run the following at a prompt to compile stats.
88
89    g++ -o stats main.cpp process2.cpp userdat.cpp
90
91You will also need to edit [CommandRec009] in src/menu/logon.txt to the proper
92location of the stats binary we just compiled.
93
94/=/====================================================================================================
95For Snoop
96
97Go to the src/snoop directory and execute the following from a prompt.
98
99    g++ -o snoop snoop.cpp
100
101/=/====================================================================================================
102Post Compile.
103
104The first thing you'll want to do it connect to the bbs,  and create your
105sysop user, the name should match exactly what you updated in the logon.cpp.
106
107Now once your at the main menu, as a Sysop you can hit * from the main menu
108to go into the message forum editor.
109
110You will want to create an email area as your first area, and a system
111announcements as your second area.  Your system annoucements area must be
112named "system" (no quotes) to ensure that only a sysop can post in it.  This
113will be fixed later on.
114
115After these 2 areas, you can create general message and as many areas as you
116like.
117
118Once you are done creating your areas, hit C to compile them.
119
120Once everything is compiled and working, you'll want to setup xindetd, and
121telnetd to login to the bbs.  If your unsure how to set either one of them
122up, send me a message and i'll email you some sample scripts.  ddtelnetd is
123automatically setup for you when running the install.pl script.
124
125Your all done.
126
127If you have any questions feel free to email me or Netsurge and we'll try
128to help you out.
129
130/=/====================================================================================================
131Auto update
132
133There is a script in the root dir called update.pl.  This script will
134automatically update your to the latest build via svn and replace all the
135instances of the default sysop and bbs name in the source code.  It will also
136run configure, make clean, and make for you.  This should make updating your
137installation a lot easier.
138
139/=/====================================================================================================
140One last note
141
142You can also add |IP MCI Code for ip address in the matrix ansi
143file, i took this out while I was hunting a bug a while back and forgot to
144add it back in.. ;)
145
146You can always pop into #enthral on irc.bbs-scene.org and ask for help.  I try
147to pop in nightly and answer any questions, but you can also chat with
148Netsurge, Esc, and even pook who have also setup the bbs for testing.
149
150
151Mike  -Mercyful Fate
152Frank -Netsurge
153
154http://www.enthralbbs.com
Note: See TracBrowser for help on using the browser.