mIRCForumlari - mIRC ve IRC Kullanıcılarının Paylaşım Platformu
  https://www.sosyalchat.com/


SohbetG.Com
mircforumlari

Kullanıcı Etiket Listesi

Ağaç Şeklinde Aç4Beğeni
  • 3 gönderen RahmetLi
  • 1 gönderen NobRaN

Yeni Konu aç Cevapla
 
Seçenekler
Alt 28 Ocak 2023, 07:02   #1
Çevrimiçi
Üyelik tarihi: 07 Aralık 2022
Konular: 21281
Mesajlar: 24.385
Nerden: İstanbul
Cinsiyet: Erkek
Web Site: TRmIRC.Net
IRC Sunucu: IRC.TRmIRC.Net
Alınan Beğeni: 3913
Beğendikleri: 7042
@RahmetLi
Ruh Hali : : Olu Gibi
Standart Qwebirc Kurulumu [GÜNCEL, DETAYLI ve PRATİK]

global olarak şu an popüler olarak KiwiIRC ve The Lounge kullanılsa da, bazı arkadaşlar özellikle Qwebirc kullanmak istiyor. Ben de bu başlıkta sizlere güncel haliyle detaylı ve pratik yoldan orijinal Qwebirc nasıl kurulur anlatacağım.

Dipnot Mesajı:
Bu kurulum Ubuntu 20 ve 22 & Debian 10 ve 11 işletim sistemlerinde kurulmuştur.


1. Adım

SSH ile sunucumuza bağlanalım ve root olarak oturum açalım. Kullanıcı ile oturum açıyorsanız root'a geçmek için aşağıdaki komutu uygulayabilirsiniz.

sudo su -

root olarak bağlandığımızda aşağıdaki komutu kullanarak yeni bir kullanıcı oluşturun sunucuda. (root olarak bu tip yazılımlar yüklenmesi tavsiye edilmez. Ben örneğin "istanbul" adında bir kullanıcı oluşturdum. ama isteyen root olarak da kurulum yapabilir. ben tavsiye etmem.)

sudo adduser istanbul

Kullanıcı adı oluştururken sizden şifre belirlemenizi isteyecektir. Kendinize göre kullanıcı adının şifresini oluşturun.

2. Adım

Qwebirc ve IRCd kurulumlarında her zaman lazım olan eklentileri aşağıdaki komutu kullanarak yükleyelim.

Kod: Kodu kopyalamak için üzerine çift tıklayın!
sudo apt update;sudo apt upgrade -y && sudo apt-get install libssl-dev libperl-dev pkg-config build-essential -y && sudo apt install curl -y && sudo apt install cmake -y && sudo apt install python3-pip -y && pip install pyOpenSSL -y && sudo apt-get install openjdk-11-jre-headless -y && apt-get install python3-virtualenv -y && apt-get install python-twisted -y && apt-get install python-zope.interface -y && apt-get install mercurial -y && sudo apt install git -y && sudo apt install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc -y && sudo apt-get install -y python3-autobahn -y && sudo apt-get install python3-simplejson -y && sudo apt install nano -y && sudo apt update;sudo apt upgrade -y && sudo shutdown -r now

3. Adım

Kurulumlar bittikten sonra sunucumuz yeniden başlatılacaktır. Tekrardan SSH ile sunucumuza açtığımız kullanıcı adı ve şifreyi girerek bağlanalım. Ya da root olarak giriş yapıp aşağıdaki komut ile kullanıcıya geçelim.
su - istanbul


4. Adım

Dosyaları sunucudaki qwebirc dosyasına çekeceğiz. Sistem açtığımız kullanıcı adı ile bize /home/istanbul bağlantı yolunda bize dosya oluşturmuştur.

Aşağıdaki komutu uygulayarak dosyanı ~/istanbul dizinimize çekelim.

wget --trust-server-names https://www.dosyaupload.com/3sQz6/qwebirc.tar.gz

Dipnot Mesajı:
Yukarıdaki adres muhtemelen zamanla silinecektir. O yüzden bu mesaj konusuna da dosyayı ekledim.


daha sonra aşağıdaki komut ile dosyadan çıkaralım.

tar xzvf qwebirc.tar.gz

daha sonra dosyamızın içine girelim.

cd qwebirc

daha sonra aşağıdaki komut ile config.py.example dosyasının adını config.py olarak değiştirelim.

mv config.py.example config.py

aşağıdaki komut ile config.py dosyamızın içine girerek bazı yerleri kendi sunucumuza göre düzeltmemiz gerekiyor.


nano -w config.py

5. Adım

Aşağıdaki dosya orijinal config.py dosyası içeriğidir. Kırmızı renk ile işaretlediklerimi kendi sunucunuza göre değiştiriniz.


Kod : Kodu kopyalamak için üzerine çift tıklayın!

# qwebirc configuration file # # This a Python program that is imported, so feel free to use any # Python here! # # Note that some changes to this configuration file require re-running # compile.py and others require restarting qwebirc (and some require # both!) # If in doubt always re-compile and restart. # The following line is required, don't remove it! from qwebirc.config_options import * # IRC OPTIONS # --------------------------------------------------------------------- # # OPTION: IRCSERVER # Hostname (or IP address) of IRC server to connect to. # OPTION: IRCPORT # Port of IRC server to connect to. IRCSERVER, IRCPORT = "irc.myserver.com", 6667 # OPTION: SSLPORT # SSL port of IRC server to connect to. # If this option is uncommented it will override IRCPORT. #SSLPORT = 6697 (Sunucunuz SSL destekliyorsa ise baştaki # işaretini kaldırın.) # OPTION: REALNAME # The realname field of IRC clients will be set to this value. REALNAME = "Webchat.IRCForumlari.NET" # OPTION: IDENT # ident to use on irc, possible values include: # - a string, e.g. IDENT = "webchat" # - the literal value IDENT_HEX, this will set the ident to the # a hexadecimal version of the users IP address, e.g # IDENT = IDENT_HEX # - the literal value IDENT_NICKNAME, this will use the users # supplied nickname as their ident. IDENT = "Webchat" # OPTION: OUTGOING_IP # The IP address to bind to when connecting to the IRC server. # # This will not change the IP address that qwebirc listens on. # You will need to call run.py with the --ip/-i option if you # want that. OUTGOING_IP = "127.0.0.1" OPTION: WEBIRC_MODE # This option controls how the IP/hostname of the connecting # browser will be sent to IRC. # # Possible values include: # - the string "webirc", i.e. WEBIRC_MODE = "webirc" # Use WEBIRC type blocks, with a server configuration of # the following style: # # cgiirc { # type webirc; # hostname 127.0.0.1; # password Sifre; # }; # # Remember to set the WEBIRC_PASSWORD value to be the # same as <password>. # - the string "cgiirc", i.e. WEBIRC_MODE = "cgiirc" # old style CGIIRC command, set CGIIRC_STRING to be the # command used to set the ip/hostname, and set # WEBIRC_PASSWORD to be the password used in the server's # configuration file. # - the literal value None, i.e. WEBIRC_MODE = None # Send the IP and hostname in the realname field, overrides # the REALNAME option. WEBIRC_MODE = None # OPTION: WEBIRC_PASSWORD # Used for WEBIRC_MODE webirc and cgiirc, see WEBIRC_MODE # option documentation. #WEBIRC_PASSWORD = "fish" # OPTION: CGIIRC_STRING # Command sent to IRC server in for cgiirc WEBIRC_MODE. # See WEBIRC_MODE option documentation. CGIIRC_STRING = "CGIIRC" # UI OPTIONS # --------------------------------------------------------------------- # # OPTION: BASE_URL # URL that this qwebirc instance will be available at, add the # port number if your instance runs on a port other than 80. BASE_URL = "Webchat.IRCForumlari.NET" # OPTION: NETWORK_NAME # The name of your IRC network, displayed throughout the # application. NETWORK_NAME = "IRC Forumlari IRCd Server" # OPTION: LOGO_URL # URL (relative or absolute) to your logo (max height 68 pixels). # If not set the default network name will shown in text. # Can be set to "" to display the logo box without setting the # logo (for use with CUSTOM_CSS) #LOGO_URL="images/logo.png" # OPTION: CUSTOM_CSS # Filename of custom css to include. # Must be in the css directory. #CUSTOM_CSS="mynetwork.css" # OPTION: ANALYTICS_HTML # If you have an analytics service, you can paste the HTML # between the triple quotes. #ANALYTICS_HTML = """ #""" # OPTION: CUSTOM_MENU_ITEMS # Adds custom URLs to the top left menu. #CUSTOM_MENU_ITEMS = [ # ["Help!", "http://www.my.help.site.example/"], # ["Privacy policy", "http://www.privacy.policy.example/"], #] # OPTION: APP_TITLE # The title of the application in the web browser. APP_TITLE = NETWORK_NAME + "Web IRC" # NICKNAME VALIDATION OPTIONS # --------------------------------------------------------------------- # # OPTION: NICKNAME_VALIDATE # If True then user nicknames will be validated according to # the configuration below, otherwise they will be passed # directly to the ircd. NICKNAME_VALIDATE = True # OPTION: NICKNAME_VALID_FIRST_CHAR # A string containing valid characters for the first letter of # a nickname. # Default is as in RFC1459. import string NICKNAME_VALID_FIRST_CHAR = string.letters + "_[]{}`^\\|" # OPTION: NICKNAME_VALID_SUBSEQUENT_CHAR # A string containing valid characters for the rest of the # nickname. NICKNAME_VALID_SUBSEQUENT_CHARS = NICKNAME_VALID_FIRST_CHAR + string.digits + "-" # OPTION: NICKNAME_MINIMUM_LENGTH # Minimum characters permitted in a nickname on your network. NICKNAME_MINIMUM_LENGTH = 2 # OPTION: NICKNAME_MAXIMUM_LENGTH # Maximum characters permitted in a nickname on your network. # Ideally we'd extract this from the ircd, but we need to know # before we connect. NICKNAME_MAXIMUM_LENGTH = 15 #ADMIN ENGINE OPTIONS # --------------------------------------------------------------------- # # OPTION: ADMIN_ENGINE_HOSTS: # List of IP addresses to allow onto the admin engine at # http://instance/adminengine ADMIN_ENGINE_HOSTS = ["127.0.0.1"] # PROXY OPTIONS # --------------------------------------------------------------------- # # OPTION: FORWARDED_FOR_HEADER # If you're using a proxy that passes through a forwarded-for # header set this option to the header name, also set # FORWARDED_FOR_IPS. #FORWARDED_FOR_HEADER="x-forwarded-for" # OPTION: FORWARDED_FOR_IPS # This option specifies the IP addresses that forwarded-for # headers will be accepted from. #FORWARDED_FOR_IPS=["127.0.0.1"] # EXECUTION OPTIONS # --------------------------------------------------------------------- # # OPTION: ARGS (optional) # These arguments will be used as if qwebirc was run directly # with them, see run.py --help for a list of options. #ARGS = "-n -p 3989" # OPTION: SYSLOG_ADDR (optional) # Used in conjunction with util/syslog.py and -s option. # This option specifies the address and port that syslog # datagrams will be sent to. #SYSLOG_ADDR = "127.0.0.1", 514 # TUNEABLE VALUES # --------------------------------------------------------------------- # # You probably don't want to fiddle with these unless you really know # what you're doing... # OPTION: UPDATE_FREQ # Maximum rate (in seconds) at which updates will be propagated # to clients UPDATE_FREQ = 0.5 # OPTION: MAXBUFLEN # Maximum client AJAX recieve buffer size (in bytes), if this # buffer size is exceeded then the client will be disconnected. # This value should match the client sendq size in your ircd's # configuration. MAXBUFLEN = 100000 # OPTION: MAXSUBSCRIPTIONS # Maximum amount of 'subscriptions' to a specific AJAX channel, # i.e. an IRC connection. # In theory with a value greater than one you can connect more # than one web IRC client to the same IRC connection, ala # irssi-proxy. MAXSUBSCRIPTIONS = 1 # OPTION: MAXLINELEN # If the client sends a line greater than MAXLINELEN (in bytes) # then they will be disconnected. # Note that IRC normally silently drops messages >=512 bytes. MAXLINELEN = 600 # OPTION: DNS_TIMEOUT # DNS requests that do not respond within DNS_TIMEOUT seconds # will be cancelled. DNS_TIMEOUT = 5 # OPTION: HTTP_AJAX_REQUEST_TIMEOUT # Connections made to the AJAX engine are closed after this # this many seconds. # Note that this value is intimately linked with the client # AJAX code at this time, changing it will result in bad # things happening. HTTP_AJAX_REQUEST_TIMEOUT = 295 # OPTION: HTTP_REQUEST_TIMEOUT # Connections made to everything but the AJAX engine will # be closed after this many seconds, including connections # that haven't started/completed an HTTP request. HTTP_REQUEST_TIMEOUT = 5 # OPTION: STATIC_BASE_URL # This value is used to build the URL for all static HTTP # requests. # You'd find this useful if you're running multiple qwebirc # instances on the same host. STATIC_BASE_URL = "webchat.IRCForumlari.NET" # OPTION: DYNAMIC_BASE_URL # This value is used to build the URL for all dynamic HTTP # requests. # You'd find this useful if you're running multiple qwebirc # instances on the same host. DYNAMIC_BASE_URL = "" # OPTION: DYNAMIC_CONFIGURATION # If True then request configuration from the backend when we # initially connect. DYNAMIC_CONFIGURATION = False # OPTION: CONNECTION_RESOLVER # A list of (ip, port) tuples of resolvers to use for looking # the SRV record(s) used for connecting to the name set in # IRC_SERVER. # The default value is None, and in this case qwebirc will use # the system's default resolver(s). CONNECTION_RESOLVER = None # OPTION: ACCOUNT_WHOIS_COMMAND # Command sent when a username is clicked. #ACCOUNT_WHOIS_COMMAND = "/msg NickServ whois #" # IRCForumlari.NET SPECIFIC VALUES # --------------------------------------------------------------------- # # These values are of no interest if you're not QuakeNet. # At present they still need to be set, this will change soon. # # OPTION: HMACKEY # Shared key to use with hmac WEBIRC_MODE. HMACKEY = "mrmoo" # OPTION: HMACTEMPORAL # Divisor used for modulo HMAC timestamp generation. HMACTEMPORAL = 30 # OPTION: AUTHGATEDOMAIN # Domain accepted inside authgate tickets. AUTHGATEDOMAIN = "webchat_test" # OPTION: QTICKETKEY # Key shared with the authgate that is used to decrypt # qtickets. QTICKETKEY = "boo" # OPTION: AUTH_SERVICE # Service that auth commands are sent to. Also used to check # responses from said service. AUTH_SERVICE = "NickServ!Services@ServiceS.IRCForumlari.NET" # OPTION: AUTH_OK_REGEX # JavaScript regular expression that should match when # AUTH_SERVICE has returned an acceptable response to # authentication. AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$" # OPTION: AUTHGATEPROVIDER # Authgate module to use, normally imported directly. # dummyauthgate does nothing. import dummyauthgate as AUTHGATEPROVIDER
6. Adım

Gerekli düzeltmeleri yaptıktan sonra "CTRL + X + Y + ENTER" yaparak dosyanızı kaydedin.

7. Adım

Önce

./compile.py

sonra

./run.py

komutunu uygulayarak kurulumu bitirin.

ALINTIDIR.

Miqrop, LoDoS ve NobRaN bunu beğendiler.


Kalbim Atar Cansız, Geçmez Gün Ahsız, Vahsız..
  Alıntı ile Cevapla
Alt 28 Ocak 2023, 07:09   #2
Çevrimdışı
Üyelik tarihi: 28 Ocak 2023
Konular: 66
Mesajlar: 1.085
Nerden: Sakarya
Cinsiyet: Erkek
Web Site: https://www.mircforumlari.net/
Alınan Beğeni: 1027
Beğendikleri: 2977
@NobRaN
Ruh Hali : : Enerji Dolu
Standart Cevap: Qwebirc Kurulumu [GÜNCEL, DETAYLI ve PRATİK]

Bu konuya humm diye cevap veriyorum.

RahmetLi bunu beğendi.
  Alıntı ile Cevapla
Alt 28 Ocak 2023, 09:10   #3
Çevrimdışı
1yLXqBHpAM.gif
Üyelik tarihi: 12 Aralık 2022
Konular: 51
Mesajlar: 1.831
Nerden: Adana
Cinsiyet: Erkek
Web Site: ForumTurk.ORG
IRC Sunucu: RakipSizSohbet.ORG
Alınan Beğeni: 1190
Beğendikleri: 1676
@LoDoS
Ruh Hali : : Urkek
Standart Cevap: Qwebirc Kurulumu [GÜNCEL, DETAYLI ve PRATİK]

Emeqine Saqlik Kral

  Alıntı ile Cevapla

Cevapla
Etiketler
100, 1000, admin, adres, ajax, analytics, asıl, bağlantı, bazı, bit, bize, çift, css, dev, dizi, dosyası, dosyasına, giriş, hem, içine, ile, istanbul, kiwiirc, kodu, konusu, kullanıcı, kırmızı, logo, mesajı, olan, proxy, renk, rus, set, show, sizden, size, sizlere, sonra, style, tekrardan, whois, yapabilir, yolda, yoldan, yolu, yolunda, yükle, yüzde, şifresi


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)