KiwiIRC Kurulumu


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.
sudo yum install nodejs
Dosyaları çekmek içinde git eklentisini kuralım.
sudo yum install git
Kiwiirc kurulumuna gecelim.
Önce dosyalarımızı çekelim.
git clone https://github.com/prawnsalad/KiwiIRC.git && cd KiwiIRC

Uygulamamizi kurmaya başlıyalım.
npm install

Kurulduktan sonra config dosyalarımızın çalısması için su komutu yazalim.
cp config.example.js config.js

Üstteki komutu yaptıktan sonra config.js dosyasımızı açın ve düzenleyin.(ip,port,server)
nano config.js

Config dosyamızı düzenledikten sonra dosyalarımızı yapılandıralım.
./kiwi build

Kiwiirc başlatmak için ;
./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.

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 = 'IRCALEM Web Kullanicisi';
conf.default_ident = 'Webirc';
conf.quit_message = 'http://www.ircalem.com';
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: 'IRCALEM.Com Web 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;

3 Yorumlar

Daha yeni Daha eski