![]() |
![]() |
![]() |
#1 |
![]()
Üyelik tarihi: 01 Mart 2015
Mesajlar: 203 WEB Sitesi: www.code.com IRC Sunucusu: irc.code.com İlgi Alanı: Alınan Beğeni: 33 |
![]()
Merhabalar,
QwebIRC uygulamasını ubuntu sistemlere kurabilmenize fayda sağlayacak bir dökümandır. Kod:
apt-get install python-twisted libcap2-bin Kod:
apt-get install mercurial curl patch Kod:
apt-get install python-simplejson default-jre-headless Kod:
hg clone https://anarcat@bitbucket.org/qwebirc/qwebirc Kod:
curl https://bitbucket-assetroot.s3.amazonaws.com/qwebirc/qwebirc/20111012/152/qwebirc-ssl.patch | patch -p1 Devam ediyoruz. Kod:
adduser --system --group qwebirc Kod:
adduser qwebirc ssl-cert Kod:
sudo -u qwebirc /bin/bash Kod:
cp config.py.example config.py Editlemeniz gereken örnek config.py dosyası; * xyz.com'u kendi domaininiz ile değiştirin. * XXXXXXXX conf şifresidir, değiştirin. Kod:
--- config.py.example 2011-10-12 17:30:50.000000000 -0400 +++ config.py 2011-10-12 23:13:38.000000000 -0400 @@ -18,16 +18,16 @@ # Hostname (or IP address) of IRC server to connect to. # OPTION: IRCPORT # Port of IRC server to connect to. -IRCSERVER, IRCPORT = "irc.xyz.com", 6667 +IRCSERVER, IRCPORT = "localhost", 6667 # OPTION: SSLPORT # SSL port of IRC server to connect to. # If this option is uncommented it will override IRCPORT. -#SSLPORT = 6697 +SSLPORT = 6697 # OPTION: REALNAME # The realname field of IRC clients will be set to this value. -REALNAME = "http://xyz.com/" +REALNAME = "a user on http://xyz.com" # OPTION: IDENT # ident to use on irc, possible values include: @@ -72,12 +72,12 @@ # - 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 +WEBIRC_MODE = 'webirc' # OPTION: WEBIRC_PASSWORD # Used for WEBIRC_MODE webirc and cgiirc, see WEBIRC_MODE # option documentation. -#WEBIRC_PASSWORD = "fish" +WEBIRC_PASSWORD = "XXXXXXXX" # OPTION: CGIIRC_STRING # Command sent to IRC server in for cgiirc WEBIRC_MODE. @@ -90,12 +90,12 @@ # 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 = "http://xyz.com/" +BASE_URL = "https://xyz.com/" # OPTION: NETWORK_NAME # The name of your IRC network, displayed throughout the # application. -NETWORK_NAME = "XYZ Server" +NETWORK_NAME = "XYZ Server" # OPTION: APP_TITLE # The title of the application in the web browser. @@ -140,11 +140,11 @@ # # OPTION: FEEDBACK_FROM # E-mail address that feedback will originate from. -FEEDBACK_FROM = "iletisim@xyz.com" +FEEDBACK_FROM = "iletisim@xyz.com" # OPTION: FEEDBACK_TO: # E-mail address that feedback will be sent to. -FEEDBACK_TO = "iletisim@xyz.com" +FEEDBACK_TO = "iletisim@xyz.com" # OPTION: FEEDBACK_SMTP_HOST # Hostname/IP address of SMTP server feedback will be sent @@ -182,6 +182,7 @@ # 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" +ARGS = "-C /etc/ssl/certs/koumbit.net.crt -H /etc/ssl/certs/koumbit.net-chained.crt -k /etc/ssl/private/koumbit.net.key -p 443 -l /dev/null" # OPTION: SYSLOG_ADDR (optional) # Used in conjunction with util/syslog.py and -s option. auth.conf (password kısmına, config.py'de belirlediğimiz şifreyi giriyoruz.) Kod:
auth { user = "*@127.0.0.1"; password = "XXXXXXXX"; spoof = "webirc."; class = "users"; }; auth { user = "*@xyz.com"; password = "XXXXXXXX"; spoof = "webirc."; class = "users"; }; Kod:
loadmodule "src/modules/m_webirc.so"; Kod:
/rehash Kod:
apt-get --no-install-recommends install lighttpd Kod:
url.redirect = ( "^/.*" => "https://sohbet.xyz.com" ) Kod:
ln -s /etc/lighttpd/conf-available/50-qwebirc-redirect.conf /etc/lighttpd/conf-enabled /etc/init.d/lighttpd restart Kod:
./run.py Alıntı. |
![]() |
Alıntı
|
Etiketler |
için, kurulumu, qwebirc, sistemleri, ubuntu |
Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
Seçenekler | |
Stil | |
|
|
![]() |
||||
Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
QwebIRC Türkçe Karakterli Nick Almanın Çözümü! | Entrance | Qwebirc | 12 | 13 Aralık 2018 22:20 |
QwebIRC Türkçe Karakter Çözümü | Entrance | Qwebirc | 1 | 07 Kasım 2017 09:53 |
Centos, Fedora, Suse Kullanıcıları İçin QWebIRC Kurulumu! | Code | Qwebirc | 16 | 24 Eylül 2016 20:31 |
QwebIRC'i mobil uyumlu yapma. | Entrance | Qwebirc | 0 | 13 Temmuz 2016 17:19 |
İkinci Ubuntu Telefon Satışa Çıkıyor! | Nyks | Telefon, GSM, Tablet ve İşletim Sistemleri | 0 | 28 Ağustos 2015 15:02 |