הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   ארכיון (https://hosts.co.il/forums/forumdisplay.php?f=71)
-   -   התקנת שרת IRCd - מדריך (https://hosts.co.il/forums/showthread.php?t=11319)

Tomer 31-12-05 10:23

התקנת שרת IRCd - מדריך
 
לאור הבקשות החלטתי לכתוב מדריך להתקנת שרת IRCd מסוג UnrealIRCd 3.2.3 (הגרסא האחרונה)

נתחיל במדריך:

1) התחבר לשרת בעזרת תוכנת קליינט כגון PuTTY
2) לאחר ההתחברות, הורד את קובץ השרת (UnrealIRCd 3.2.3) ע"י הפקודה:
קוד:

fetch http://unrealircd.atlanti-ka.org/Unreal3.2.3.tar.gz
או במידה ולא עובד...
wget http://unrealircd.atlanti-ka.org/Unreal3.2.3.tar.gz

3) לאחר ההורדה, רשמו:
קוד:

tar xzfv Unreal3.2.3.tar.gz
וחכו לסיום החילוץ...
4) כנסו לתיקיית השרת ע"י הפקודה cd Unreal3.2 ורשמו:
קוד:

./Config
לחצו על מקש ה [Enter] עד שתגיעו לחלון הבא:
קוד:

Do you want to enable the server anti-spoof protection?
[No] ->

במצב זה, הקישו [Enter] מספר פעמים, עד אשר השרת יתחיל לקמפל את תוכנת השרת (הרצת שורות על המסך), בסופו של דבר תגיעו לחלון הבא:
קוד:

|                                                                      |
|                    UnrealIRCd Compile-Time Config                    |
|_______________________________________________________________________|
|_______________________________________________________________________|

כעת רשמו: make והמתינו לחזרה לשורה, כששורת הכתיבה חזרה, רשמו:
קוד:

echo a >> motd.conf
echo b >> rules.conf

לאחר מכן, יש להוריד את קובץ הקונפיג, אני העליתי לכם אחד, להורדה יש לכתוב:
קוד:

fetch http://upanel.net/unrealircd.conf
או אם לא עובד..
wget http://upanel.net/unrealircd.conf

לעריכתו של הקובץ יש לכתוב pico unrealircd.conf ולערוך (לשמירה יש ללחוץ CTRL + X ולאשר ע"י y ו [enter]). העריכה של הקובץ קלה מאוד ולא דורשת הרבה זמן.


בהצלחה! אם יש שאלות אתם מוזמנים לשאול פה, אני מקווה שהמדריך ברור, השקעתי עליו לא מעט זמן ;)

* השרת הורץ ונבדק תחת מערכת הפעלה FreeBSD 4.9 RELEASE-p7

RazRaz 31-12-05 10:30

פשש...
יפה, כל הכבוד!

תודה רבה.

MoshikB 31-12-05 12:29

תודה רבה תומר.

ViPeRt 31-12-05 12:37

אחלה של מדריך :]

SaDi 31-12-05 12:59

חביב מאוד . קצר ולעניין.

זה הרצת שרת על לינוקס לא ?

Dodem 31-12-05 13:01

תודה רבה תומר, אחלה מדריך. :)

Tomer 31-12-05 13:22

ציטוט:

נכתב במקור על ידי MiShEo
חביב מאוד . קצר ולעניין.

זה הרצת שרת על לינוקס לא ?

כן, המדריך יעיל למערכות הפעלה מבוססת Unix ומבוססות Linux, על שניהם זה נבדק ונמצא עובד.

Linux 31-12-05 13:36

איך אני מריץ את השרת אחרי זה?

קוד:

tail: /home/talbb/Unreal3.2/ircd.log: No such file or directory
$ ./ircd
./ircd: not found
$ ./unreal
Usage: unreal start|stop|rehash|restart|mkpasswd|version
$ ./unreal restart
Restarting UnrealIRCd
cat: /home/talbb/Unreal3.2/ircd.pid: No such file or directory
usage: kill [-s signal_name] pid ...
      kill -l [exit_status]
      kill -signal_name pid ...
      kill -signal_number pid ...
$ ./unreal start
Starting UnrealIRCd
./unreal: /home/talbb/Unreal3.2/src/ircd: not found
Possible error encountered (IRCd seemily not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
tail: /home/talbb/Unreal3.2/ircd.log: No such file or directory

זה מה שזה כותב

Tomer 31-12-05 13:45

ציטוט:

נכתב במקור על ידי timz
איך אני מריץ את השרת אחרי זה?

קוד:

tail: /home/talbb/Unreal3.2/ircd.log: No such file or directory
$ ./ircd
./ircd: not found
$ ./unreal
Usage: unreal start|stop|rehash|restart|mkpasswd|version
$ ./unreal restart
Restarting UnrealIRCd
cat: /home/talbb/Unreal3.2/ircd.pid: No such file or directory
usage: kill [-s signal_name] pid ...
      kill -l [exit_status]
      kill -signal_name pid ...
      kill -signal_number pid ...
$ ./unreal start
Starting UnrealIRCd
./unreal: /home/talbb/Unreal3.2/src/ircd: not found
Possible error encountered (IRCd seemily not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
tail: /home/talbb/Unreal3.2/ircd.log: No such file or directory

זה מה שזה כותב

לא קימפלת את השרת..
אחרי שרשמת make, מה קיבלת?

Linux 31-12-05 13:50

קוד:

checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 16384
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd4.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating utils/Makefile
config.status: creating doc/Makefile
config.status: creating tre.pc
config.status: creating tre.spec
config.status: creating doc/agrep.1
config.status: creating config.h
config.status: creating lib/tre-config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


Configuration summary
=====================

TRE is now configured as follows:

* Compilation environment

  CC      = gcc
  CFLAGS  = -g -O2 -Wall
  CPP      = gcc -E
  CPPFLAGS =
  LD      = /usr/libexec/elf/ld
  LDFLAGS  =
  LIBS    =
  Use alloca():                      yes

* TRE options

  Development-time debugging:        no
  System regex ABI compatibility:    no
  Wide character (wchar_t) support:  no (disabled with --disable-wchar)
  Multibyte character set support:    no (disabled with --disable-multibyte)
  Approximate matching support:      yes
  Build and install agrep:            no

compiling TRE regex library
make: Permission denied
installing TRE regex library
make: Permission denied
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/modules/Makefile
config.status: creating unreal
config.status: creating ircdcron/ircdchk
config.status: creating include/setup.h



כל הזמנים הם GMT +2. הזמן כעת הוא 16:48.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ