Tekil Mesaj gösterimi
Alt 05 Ekim 2019, 03:18   #1
Çevrimdışı
Adem

KiwiIRC Kurulumu


Reklam

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
1
sudo yum install nodejs
Dosyaları çekmek içinde git eklentisini kuralım.

sudo yum install git
1
sudo yum install git
Kiwiirc kurulumuna gecelim.
Önce dosyalarımızı çekelim.

git clone https://github.com/prawnsalad/KiwiIRC.git && cd KiwiIRC
1
git clone https://github.com/prawnsalad/KiwiIRC.git && cd KiwiIRC
Uygulamamizi kurmaya başlıyalım.

npm install
1
npm install
Kurulduktan sonra config dosyalarımızın çalısması için su komutu yazalim.

cp config.example.js config.js
1
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
1
nano config.js
Config dosyamızı düzenledikten sonra dosyalarımızı yapılandıralım.

./kiwi build
1
./kiwi build
Kiwiirc başlatmak için ;

./kiwi start
1
./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 = 'https://www.ircalem.com';
conf.ircd_reconnect = true;
conf.client_plugins = [
// "https://server.com/kiwi/plugins/myplugin.html"
];
conf.module_dir = "../server_modules/";
conf.modules = [
// "control",
// "client_file_watcher",
];
conf.webirc_pass = "webircpassword";
conf.reject_unauthorised_certi ficates = 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;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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 = 'https://www.ircalem.com';
conf.ircd_reconnect = true;
conf.client_plugins = [
// "https://server.com/kiwi/plugins/myplugin.html"
];
conf.module_dir = "../server_modules/";
conf.modules = [
// "control",
// "client_file_watcher",
];
conf.webirc_pass = "webircpassword";
conf.reject_unauthorised_certi ficates = 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;
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
1
sudo yum install nodejs
Dosyaları çekmek içinde git eklentisini kuralım.

sudo yum install git
1
sudo yum install git
Kiwiirc kurulumuna gecelim.
Önce dosyalarımızı çekelim.

git clone https://github.com/prawnsalad/KiwiIRC.git && cd KiwiIRC
1
git clone https://github.com/prawnsalad/KiwiIRC.git && cd KiwiIRC
Uygulamamizi kurmaya başlıyalım.

npm install
1
npm install
Kurulduktan sonra config dosyalarımızın çalısması için su komutu yazalim.

cp config.example.js config.js
1
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
1
nano config.js
Config dosyamızı düzenledikten sonra dosyalarımızı yapılandıralım.

./kiwi build
1
./kiwi build
Kiwiirc başlatmak için ;

./kiwi start
1
./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 = 'https://www.ircalem.com';
conf.ircd_reconnect = true;
conf.client_plugins = [
// "https://server.com/kiwi/plugins/myplugin.html"
];
conf.module_dir = "../server_modules/";
conf.modules = [
// "control",
// "client_file_watcher",
];
conf.webirc_pass = "webircpassword";
conf.reject_unauthorised_certi ficates = 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;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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 = 'https://www.ircalem.com';
conf.ircd_reconnect = true;
conf.client_plugins = [
// "https://server.com/kiwi/plugins/myplugin.html"
];
conf.module_dir = "../server_modules/";
conf.modules = [
// "control",
// "client_file_watcher",
];
conf.webirc_pass = "webircpassword";
conf.reject_unauthorised_certi ficates = 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;
  Alıntı ile Cevapla

IRCForumu.Net - Reklam Alanı