Getting Started with lilyCore
author: Christian Ratliff
update: 18 September 2000, 1:54pm
valid: lilyCore-2.5b
-
What is this MOO and lilyCore.db stuff?
lilyCore.db is a database file that is loaded into MOO, a program that can be used to create various different environments. The database file contains the code that makes lily what it is, as well as the data for each
user and discussion. This code & data is internally stored as 'objects' by MOO. Objects are represented as #nnnn where nnnn is an integer greater than or equal to zero.
-
Download the MOO and lilyCore.db packages.
The package names provided do not include version numbers. It is my recommendation that you download the version-oriented files only. At the time of this writing lilyCore.db-2.5b.gz and MOO-1.8.0r5.tar.gz are the most current versions.
indikos% ftp ftp.lily.org
Connected to freefour.acs.rpi.edu.
220 freefour.acs.rpi.edu FTP server (Version 6.00) ready.
Name (ftp.lily.org:ratlifc): anonymous
Password: ratlifc@lily.org
ftp> cd pub/lily/core
ftp> binary
ftp> mget moo.tar.gz lilyCore.db.gz
ftp> quit
-
Create a place to house the lily server
indikos% mkdir lily
indikos% mkdir lily/server
indikos% cd lily
indikos% gunzip -c ../moo.tar.gz | tar xf -
indikos% gunzip -c ../lilyCore.db.gz > server/lilyCore.db
-
Build the MOO executable
The name of the MOO directory will vary.
indikos% cd MOO-...
indikos% ./configure --for-lilycore
indikos% make
Note: The above procedure has changed for recent moo versions and --for-lilycore may no longer work for you. Look for a file called README.lily in the moo source directory and if it's present, follow its instructions instead.
Once compilation is successful, then copy the required files out.
indikos% cp restart.sh moo ../server
-
Start the lilyCore instance
The default port number is 7777.
indikos% cd ../server
indikos% ./restart.sh lilyCore
indikos% tail -f lilyCore.log
Thu Dec 30 21:27:56 EST 1999: RESTARTED
Dec 30 21:27:56: STARTING: Version 1.8.0r5 of the LambdaMOO server
Dec 30 21:27:56: (Using BSD/TCP protocol)
Dec 30 21:27:56: (Task timeouts measured in server CPU seconds.)
Dec 30 21:27:56: NAME_LOOKUP: Started new lookup process
Dec 30 21:27:56: LOADING: lilyCore.db
Dec 30 21:27:56: LOADING: Reading 169 objects...
Dec 30 21:27:56: LOADING: Done reading 169 objects ...
Dec 30 21:27:56: VALIDATING the object hierarchies ...
Dec 30 21:27:56: VALIDATE: Phase 1: Check for invalid objects ...
Dec 30 21:27:56: VALIDATE: Phase 2: Check for cycles ...
Dec 30 21:27:56: VALIDATE: Phase 3: Check for inconsistencies ...
Dec 30 21:27:56: VALIDATING the object hierarchies ... finished.
Dec 30 21:27:56: LOADING: Reading 447 MOO verb programs...
Dec 30 21:27:57: LOADING: Done reading 447 verb programs...
Dec 30 21:27:57: LOADING: Reading forked and suspended tasks...
Dec 30 21:27:57: LOADING: Reading list of formerly active connections...
Dec 30 21:27:57: LOADING: lilyCore.db done, will dump new database on lilyCore.db.new
Dec 30 21:27:57: Loaded protect cache for 128 builtins
Dec 30 21:27:57: LISTEN: #0 now listening on port 7777
Once you hit LISTEN: #0 now listening..., then you are running.
-
Connect to the lily instance
indikos% telnet locahost 7777
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Welcome to lilyCore release 2.4b
login: root
password: avatar
*** Connected ***
(last login at ...)
Please choose a name from your reserved names list:
>>>> "System Manager"
-->
Please enter a blurb, or hit for none
-->
Welcome to lilyCore; type /HELP for an introduction
To logout of lilyCore
/bye
-
Create new accounts (or $transfer)
If you want to use the $transfer capability, please see the associated document titled lily-transfer.howto.
To learn more about administrator commands there are two resources. First, you can use the /HELP command (e.g. /help admin ). Second, you may turn to the lily-admin.howto document.
/help admin
Create accounts via: $mkaccount mylogin mypassword myname
$mkaccount ratlifc apasswd Christian
(account ratlifc created, reserved names are {"Christian"})
To make your login an administrator use: $flag username flag true/false
$flag Christian admin true
(Christian is now an admin)
The same goes for programmer, wizard, etc; see /help $flag
$flag Christian programmer true
(Christian is now a programmer)
To shutdown an instance of lilyCore from inside the application use:
$shutdown "A reason for shutting down, this is sent to all users."
--
TamaraCrowe - 01 Oct 2003
to top