KiwiIRC Kurulumu

SheqiL

Hepiniz Haklısınız..
Katılım
7 Eki 2019
Mesajlar
1,161
Aldığı beğeni
23
Puanları
38
Konum
Fransa
Web sitesi
www.belalim.net
Kiwiirc çalışması için öncelikle node js eklentisi yüklememiz gerekmektedir.
Centos göre anlatıyorum ;
Node js eklentisi oto kurmak için alttaki komutu yazın.
PHP:
sudo yum install nodejs
Dosyaları çekmek içinde git eklentisini kuralım.
PHP:
sudo yum install git
Kiwiirc kurulumuna gecelim.
Önce dosyalarımızı çekelim.
PHP:
git clone https://github.com/prawnsalad/KiwiIRC.git && cd KiwiIRC
Uygulamamizi kurmaya başlıyalım.
PHP:
npm install
Kurulduktan sonra config dosyalarımızın çalısması için su komutu yazalim.
PHP:
cp config.example.js config.js
Üstteki komutu yaptıktan sonra config.js dosyasımızı açın ve düzenleyin.(ip,port,server)
PHP:
nano config.js
Config dosyamızı düzenledikten sonra dosyalarımızı yapılandıralım.
PHP:
./kiwi build
Kiwiirc başlatmak için ;
PHP:
./kiwi start
Kiwiirc kurulumu gerçekleşmiştir hayırlı olsun.

Bu kiwiirc config.js dosyasını direk kopyalıp gerekli yerleri sitenize göre degiştirip kullanabilirsiniz.
PHP:
var conf = {};
conf.user = "";
conf.group = "";
conf.log = "kiwi.log";
conf.servers = [];
conf.servers.push({
port:   9094,
address: "0.0.0.0"
});
conf.outgoing_address = {
IPv4: '0.0.0.0'
//IPv6: '::'
};
conf.identd = {
enabled: false,
port: 113,
address: "0.0.0.0"
};
conf.public_http = "client/";
//conf.client_transports = ['polling'];
conf.max_client_conns = 5;
conf.max_server_conns = 0;
conf.default_encoding = 'iso-8859-9';
conf.default_gecos = 'MİRCX Web Kullanicisi';
conf.default_ident = 'Webirc';
conf.quit_message = 'http://www.mircx.net';
conf.ircd_reconnect = true;
conf.client_plugins = [
// "http://server.com/kiwi/plugins/myplugin.html"
];
conf.module_dir = "../server_modules/";
conf.modules = [
// "control",
// "client_file_watcher",
];
conf.webirc_pass = "webircpassword";
conf.reject_unauthorised_certificates = false;
conf.http_proxies = ["127.0.0.1/32"];
conf.http_proxy_ip_header = "x-forwarded-for";
conf.http_base_path = "/kiwi";
conf.socks_proxy = {};
conf.socks_proxy.enabled = false;
conf.socks_proxy.all = false;
conf.socks_proxy.proxy_hosts = [
"irc.ircalem.com"
];
conf.socks_proxy.address = '127.0.0.1';
conf.socks_proxy.port = 1080;
conf.socks_proxy.user = null;
conf.socks_proxy.pass = null;
conf.client = {
server: '195.181.208.100',
port:    6664,
ssl:     false,
channel: '#sohbet',
channel_key: '',
nick:    'webuser_?',
settings: {
theme: 'relaxed',
text_theme: 'default',
channel_list_style: 'list',
scrollback: 250,
show_joins_parts: true,
show_timestamps: true,
use_24_hour_timestamps: true,
mute_sounds: false,
show_emoticons: true,
ignore_new_queries: false,
count_all_activity: false,
show_autocomplete_slideout: true,
locale: null // null = use the browser locale settings
},
window_title: 'MİRCX.NetWeb IRC'
};
conf.client_themes = [
'relaxed',
'mini',
'cli',
'basic'
];
// If set, the client may only connect to this 1 IRC server
//conf.restrict_server = "irc.kiwiirc.com";
//conf.restrict_server_port = 6667;
//conf.restrict_server_ssl = false;
//conf.restrict_server_password = "";
//conf.client.kiwi_server = '';
module.exports.production = conf;
 
Üst