|
|
SERVICES KURULUMU
Services Kurulumu
Bu bölümü anlamanız için en azından belirli bir kapasitede IRC ve Unix
bilginiz olması gerekiyor. Eğer yeniyseniz, bu bölümü okumanıza gerek yok, çünkü
bir şey anlamazsınız...
Services kurmanız için öncelikle IRCd' nizin kurulu olması gerekiyor. IRCd kurulumu
hakkında bilgi için IRC Server Kurulumu linkine tıklatınız. Bilgisayarınıza
Internet' ten bir Services indirin. (mesela www.ptlink.net) Windows' un FTP programını
açın (C:\Windows\FTP.exe). Shell' inize bağlanın, kullanıcı adı ve şifrenizi
girin. Daha sonra SEND DOSYAADI komutu kullanarak internetten indirdiğiniz dosyayı
upload edin. (Bu sadece bir örnek. İstediğiniz FTP programını kullanabilir ve
istediğiniz şekilde upload edebilirsiniz.) Sonra Windows' un Telnet' ini açın
(C:\Windows\Telnet.exe). Shell' inize bağlanın, kullanıcı adı ve şifrenizi girip,
oturum açın. (Ben şahsen bağlanmak için windows' un kendi telnetini kullanıyorum ve
bana yetiyor. Siz dilediğiniz programı kullanabilirsiniz.) Daha sonra gzip -d
DOSYAADI.tar.gz komutu kullanarak upload ettiğiniz dosyayı tar formatına çevirin. Daha
sonra tar -xvf DOSYAADI.tar komutunu kullanarak tar formatında sıkıştırılmış
olarak çevirdiğiniz dosyayı extract edin... Daha sonra extract edilen dizine girin (cd
dizinadi). Config dosyası büyük bir ihtimalle configure olmalı. ./configure yazın. Bu
bir sonuç vermezse ./config yazın ve services için size sorulan sorulara gerekli
cevapları verip daha sonra "make" veya "gmake" yazarak build
işlemlerini tamamlayın. Son olarak ta "make install" veya "gmake
install" yazarak serverınızı install edin. Daha sonra data dizini altında yer
alan example.conf u kafanıza göre düzenleyip services.conf adıyla kaydedin. Son olarak
Services' inizi ./services komutu ile çalıştırın...
Aciklama 2 :
KURULUM
(For
PTlink.Services2.15.2)
Servicesda da IRCD de oldugu gibi once programi shell in icine download
etmemiz gerekli bunun icinse wget
Http://helper.turksystems.net/Services/PTlink.Services2.15.2.tar.gz komutunu
kullaniyoruz..Daha Sonra Yine IRCD de oldugu gibi gzip formatli dosyayi Unzip etmek icin tar -zxvf PTlink.Services2.15.2.tar.gz yaziyoruz.
Ve Tekrar cd PTlink.Services2.15.2 yazarak
Unzip edilmis olan klasore giriyoruz. Bundan sonra yapacaklarimizda da IRCD den pek farki
olmayan komutlar oldugunu goreceksiniz.. PTlink.Services2.15.2
Klasorune girdikten sonra ./configure yazarak Services i
konfigure etmeye basliyoruz ve services i konfigure ederken karsimiza gelen tum sorulara enter diyerek geciyoruz. Konfigure islemi sonunda gmake ve gmake install komutlarini
sirasi ile yazarak yaptigimiz ayarlarin yerlesmesini sagliyoruz. Bundan Sonra yapacagimiz
tek sey Telnet Yardim Bolumundeki Ornek services.conf dosyasini kendi serverinize gore
editleyip kaydetmek bunu yapmak icinse sirasi ile Telnet e Login olduktan sonra cd services , cd data ve pico services.conf komutlarini kullanmak. ve Telnet Yardim
bolumunden cekmis oldugunuz ornek conf dosyasina gore kendi services.conf dosyanizi
editleyip kaydetmek ve cd komutu ile en basa donup tekrar cd services ve ./services komutu ile
services inizi aktif hale getirmek boylece tamamen bi irc server kurmus olduk...
ACIKLAMA 3
Not:kirmizi ile olan yerler verilen komutlardir
[blauhaut@iyihost blauhaut]$ tar xfz
PTlink.Services2.16.2.tar.gz
[blauhaut@iyihost blauhaut]$ cd PTlink.Services2.16.2
[blauhaut@iyihost PTlink.Services2.16.2]$ ./configure
____________ __ __ ______ __ ___
| _ \ \ | |(__)| _ \ | | / /
| __/_ __/__ | || || | | \| |/ /
| \ | | (__) | || || | | || _ \
|___| |__| |__||__||__| |__||__| \__\(NT)
N E T W O R K S
(C) 1999-2000, PTlink Coders Team
http://www.ptlink.net/Coders/
(.2) 06 Jan 20001
-----------------
channels.c
improved SJOIN parsing (required for future protocol handling)
chanserv.c
if channel successor is set to founder channel successor will be cleared
(idea from ircservices)
added "Expire: Never" info for noexpiring channels
(suggested by WRaiTH <wraith@illegalcrew.org>)
init.c
[Enter to begin]
Beginning Services configuration.
In what directory do you want the binaries to be installed?
Press Return for the default, or enter a new value.
[/home/blauhaut/services]
/home/blauhaut/services does not exist. Create it?
[y]
Where do you want the data files to be installed?
[/home/blauhaut/services/data] /home/blauhaut/services
End of interactive configuration.
Searching for a suitable compiler... great, found gcc!
Testing default compiler flags (-O2)... looks good.
Let's see what libraries are lying around... -lnsl -lresolv -lbsd -lcrypt
Looking for a 16-bit integer type... short
Looking for a 32-bit integer type... int
Checking for presence of include files (it's okay if some aren't there):
strings.h... present
sys/select.h... present
sys/sysproto.h... not present
Seeing if your system defines int16/int32... not found (this is good).
How to complain when something goes wrong... ah, strerror() is here.
Looking for other routines we want that you don't have...
Checking for sendmail ... /usr/sbin/sendmail
Checking how to install files... looks like "install" will work.
Checking how to copy directories... /bin/cp -dpr
Creating sysconf.h... done.
Creating Makefile.inc... done.
Saving configuration results in config.cache... done.
Creating .preinstall file for "make install"...done.
All done! Now edit config.h to your liking, and run "make" (or possibly
"gmake") to compile Services. See the README and FAQ if you have any
problems.
NOTE: Please read the file CHANGES and check services.conf"
[blauhaut@iyihost PTlink.Services2.16.2]$
Servicesimiz configure oldu simdi sira make ve make install komutlari kaldi.
[blauhaut@iyihost PTlink.Services2.16.2]$ make
touch services.h
(cd lang ; make language.h)
make[1]: Entering directory `/home/blauhaut/PTlink.Services2.16.2/lang'
Generating language.h... 858 strings
make[1]: Leaving directory `/home/blauhaut/PTlink.Services2.16.2/lang'
cp -p lang/language.h .
touch pseudo.h
sh version.sh
gcc -O2 -g -Wall -c actions.c
gcc -O2 -g -Wall -c akill.c
touch ircdsetup.h
gcc -O2 -g -Wall -c botlist.c
gcc -O2 -g -Wall -c channels.c
gcc -O2 -g -Wall -c chanserv.c
gcc -O2 -g -Wall -c commands.c
gcc -O2 -g -Wall -c compat.c
touch options.h
gcc -O2 -g -Wall -c config.c
gcc -O2 -g -Wall -c datafiles.c
gcc -O2 -g -Wall -c encrypt.c
gcc -O2 -g -Wall -c helpserv.c
gcc -O2 -g -Wall -c init.c
gcc -O2 -g -Wall -c language.c
gcc -O2 -g -Wall -c list.c
gcc -O2 -g -Wall -c log.c
gcc -O2 -g -Wall -c main.c
gcc -O2 -g -Wall -c memory.c
gcc -O2 -g -Wall -c memoserv.c
gcc -O2 -g -Wall -c messages.c
gcc -O2 -g -Wall -c misc.c
gcc -O2 -g -Wall -c news.c
gcc -O2 -g -Wall -c newsserv.c
gcc -O2 -g -Wall -c nickserv.c
nickserv.c: In function `collide':
nickserv.c:1103: warning: too many arguments for format
gcc -O2 -g -Wall -c operserv.c
gcc -O2 -g -Wall -c process.c
gcc -O2 -g -Wall -c send.c
gcc -O2 -g -Wall -c sessions.c
gcc -O2 -g -Wall -c sockutil.c
gcc -O2 -g -Wall -c sqvline.c
gcc -O2 -g -Wall -c stats.c
gcc -O2 -g -Wall -c timeout.c
gcc -O2 -g -Wall -c users.c
gcc actions.o akill.o botlist.o channels.o chanserv.o commands.o compat.o config.o
datafiles.o encrypt.o helpserv.o init.o language.o list.o log.o main.o memory.o memoserv.o
messages.o misc.o news.o newsserv.o nickserv.o operserv.o process.o send.o sessions.o
sockutil.o sqvline.o stats.o timeout.o users.o -lnsl -lresolv -lbsd -lcrypt -o services
(cd lang ; make CFLAGS=" -O2 -g -Wall")
make[1]: Entering directory `/home/blauhaut/PTlink.Services2.16.2/lang'
gcc -O2 -g -Wall langcomp.c -o langcomp
./langcomp en_us.l
./langcomp pt.l
./langcomp tr.l
./langcomp de.l
make[1]: Leaving directory `/home/blauhaut/PTlink.Services2.16.2/lang'
Now run "make install" to install Services.
[blauhaut@iyihost PTlink.Services2.16.2]$
make de bitti simdi sirada make install var.
[blauhaut@iyihost PTlink.Services2.16.2]$ make install
(cd lang ; make CFLAGS=" -O2 -g -Wall")
make[1]: Entering directory `/home/blauhaut/PTlink.Services2.16.2/lang'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/blauhaut/PTlink.Services2.16.2/lang'
install -m 700 mailing/send_expire_emails.sh /home/blauhaut/services
install -m 700 mailing/mail.pl /home/blauhaut/services
install -m 700 services /home/blauhaut/services/services
rm -f /home/blauhaut/services/listnicks /home/blauhaut/services/listchans
ln /home/blauhaut/services/services /home/blauhaut/services/listnicks
ln /home/blauhaut/services/services /home/blauhaut/services/listchans
(cd lang ; make install)
make[1]: Entering directory `/home/blauhaut/PTlink.Services2.16.2/lang'
mkdir -p /home/blauhaut/services/languages
chmod 700 /home/blauhaut/services/languages
cp en_us pt tr de /home/blauhaut/services/languages
chmod 600 /home/blauhaut/services/languages/*
make[1]: Leaving directory `/home/blauhaut/PTlink.Services2.16.2/lang'
rm -rf /home/blauhaut/services/helpfiles/ircii
/bin/cp -dpr data/* /home/blauhaut/services
mkdir -p /home/blauhaut/services/logs
Loading PTlink Services 2.16.2 - (C) 1999-2000 PTlink Coders Team
services.conf: HiddenHost missing
services.conf: ServicesRoot missing
make: *** [install] Error 255
[blauhaut@iyihost PTlink.Services2.16.2]$
simdi dizinden cikalim ve services.conf u silelim
[blauhaut@iyihost PTlink.Services2.16.2]$ cd ..
[blauhaut@iyihost blauhaut]$ cd services/
[blauhaut@iyihost services]$ rm services.conf
Services.conf ornegini cekmek icin tiklayiniz
---------------------------------------------
services.conf da dikkat etmeniz gereken seyler:
ilk basta butun tr-network yazan yerleri degistiriniz. Ve ip yi degistirip daha sonra
ise
Services Root yazan kismin yaninada nick yazmaniz yeter.Daha sonra
services.conf u (pico services.conf komutu ile girip) upload edelim
[blauhaut@iyihost blauhaut]$ pico services.conf
services.conf dosyasini upload ettikten sonra dizinden cikip servicesleri calistiralim
[blauhaut@iyihost blauhaut]$ cd ..
[blauhaut@iyihost blauhaut]$ ./services
olay bitti :)
HOSSOHBET LER DİLERİZ
|