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