YTHT Special Server Installation Guide

xiaoxiao2021-03-06  43

The following article transfers from the BLOG of TNDS: Drag Sharp Water

Blog address: http://www.smth.edu.cn/pc/index.php? Id = TNDS

Log address: http://www.smth.edu.cn/pc/pccon.php? Id = 1218 & nid = 111622 & s = all

YTHT Special Server Installation Guide

The software package mentioned in this article can be obtained from the following two compressed packages.

http://bbs.zzu.edu.cn/ytht.rar

http://bbs.zzu.edu.cn/ytht1.rar

Partial variable description

($ Bbshome): BBS installation home directory, usually / home / bbs

($ Bbsrc): BBS source directory, usually / home / bbsrc

($ Wwwhome): Web environment main catalog, usually / var / wwww

The following is generally in Cygwin as an example, for other systems, sometimes you need to change the extension, such as the executable file under the Linux system does not .exe extension, you can modify it.

First, the Dictionary (CDICT) installation

1. Unzip CDICT-1.0-1.i386.rpm (in YTHT1.RAR) to the user directory, execute

RPM -IH cdict-1.0-1.i386.rpm (for redhat / cygwin, etc.)

Or extract CDICT-1.0-1.i386.deb to user directory, execute

DPKG -I cdict_0.1-3_i386.deb (for debian)

2.CP ($ bbsrc) /local_utl/shellscript4bbsuser/cdict2.sh ($ bbshome) /bin/cdict.sh

Second, the Technology Dictionary (NCCE) Installation

Note: Due to the lack of NEWT support, the technology dictionary can only be used in the Cygwin environment.

1. Copy NCCedict.zip Ce.IDX, CE.LIB, Ec.IDX, and Ec.Lib, $ BBSHOME) / etc / NCCE

Note: If it is not a standard installed in the / home / bbs directory, you need to modify the #define dicpath to point to the actual directory.

2.CD ($ bbsrc) / Games / NCCE

Make

CP CGINCCE.EXE ($ wwwhome) / cgi-bin

CP ncce.exe ($ bbshome) / bin

Third, back word installation

1. The word of the back word is the word library for my love back words 4.0 (one said 2000) version, but now there is more than 2001 and later versions, I have found one on Maze, but the word library seems to be confused. The right is not the upper number.

2. The back word also requires newt support, so it is temporarily available in the Cygwin environment.

3. If there is a word library, copy it to the libdir defined in Recite.c, and establish a corresponding LogDir

4.CD ($ bbsrc) / Games / Recite

Make

CP Recite.exe ($ bbshome) / bin

Fourth, push box (Worker) installation

1. If it is not installed in the standard / home / bbs directory, you need to modify the map.dat of the Worker.c 94 line for its actual target path.

2.CD ($ bbssrc) / Games / Worker

Make worker

CP worker.exe ($ bbshome) / bin

Mkdir ($ bbshome) / etc / worker

CP map.dat ($ bbshome) / etc / worker

V. Russia (TETRIS) installation

Mkdir ($ bbshome) / etc / tetris

CD ($ bbssrc) / Games / TETRIS

Make

CP TETRIS.EXE ($ bbshome) / bin six, mine clearance and induction mine installation

1. If BBS is not installed in a standard directory, you need to modify WinMine.c and WinMinePath and WinMine2Path, respectively, to the actual directory, respectively.

2.mkdir ($ bbshome) / etc / winmine

Mkdir ($ bbshome) / etc / winmine2

CD ($ bbssrc) / Games / Winmine

Make Winmine

Make Winmine2

CP WinMine.exe ($ bbshome) / bin

CP Winmine2.exe ($ bbshome) / bin

Seven, typing exercises (TT) installation

1. The Time function under Cygwin seems to have problems, causing typing games to run normally.

2. If the BBS is not installed in the standard directory, you also need to modify the RecordFile definition in tt.c to point to the actual directory.

2.mkdir ($ bbshome) / etc / tt

Make TT

CP tt.exe ($ bbshome) / bin

Eight, Chess Center (Chess) installation

Not detailed, welcome to supplement

Nine, Digital Computing (QuickCalc) installation

1. Confirm that the installation is installed, redhat, cygwin can use rpm -qa | grep [software package name] query:

LibreadLine4

LibreadLine4-Dev

Libreadline

Flex

2. Unzip QuickCalc-1.26.tgz and copy ($ bbssrc) /games/quickcalc-1.26-ythtpatch to this directory.

3.Patch <./ QuickCalc-1.26-YTHTPATCH

Make

CP Qc.exe ($ bbshome) / bin

Ten, freeip installation

1.CD ($ bbssrc) / Games / BBSFreeIP

Make getip

Will download the latest pure database (this can also be used for Fterm and QQ). If you have this database, you can copy QQWRY.DAT to ($ bbsrc) / Games / BbsFreeip and skip the second step.

2. For installations installed in Windows, you can use WinRAR to extract QQWRY.DAT directly.

For installations installed under Linux, it is more troublesome.

http://www.rarlab.com/rar/rarlinux-3.3.0.tar.gz

Download UnRRAR and extract.

3.Make QQIP

./qqip

Generate ip_arrange.txt

4.make sortip

./sortip

Generate ip_arrange_sort.txt

5. make ipnums.h

Generate definition

6. $ MAKE

7. $ make Install

In Cygwin, it may be wrong. If an error occurs, you can copy directly with Windows Explorer, the specific path is:

Copy Freeip.exe to ($ bbshome) / bin

Copy IP_ARRANGE_SORT.TXT to ($ bbshome) / ETC

Copy cgifreeip.exe to ($ wwwhome) / cgi-bin

8. If there is an error in installation, you can consider Make according to the content in Makefile.

9. I have an error when configuring the latest code. I don't know if the database file is too big. If this problem occurs, you can consider the database of about November.

Eleven, elementary table

CD ($ bbssrc) / wwwtools / periodic

Mkdir ($ wwwhome) / html / periodic

CP * ($ wwwhome) / html / periodic

Twelve Linux manual

1. Because this program is called Linux's built-in manual, you can only see the cover under CygWin and cannot see content 2.cd ($ bbssrc) / Games / CGIMAN

Make cgiman

CP CGIMAN.EXE ($ wwwhome) / cgi-bin

Thirteen, mathematical formula support

I didn't adjust it under Cygwin.

2.CD ($ bbssrc) / Games / TEX / ITEX

Make

CP ITEX2MML.EXE ($ bbshome) / bin

CP Math2MathPlayer.exe ($ bbshome) / bin

3. Test if the installation is successful, refer to this article

http://bbs.tju.edu.cn/itexintro.html

If a mathematical formula is entered, and the use of the Tex mathematical formula is selected, and you also install the relevant software, it should be able to display normally.

转载请注明原文地址:https://www.9cbs.com/read-67146.html

New Post(0)