🔔 Çevrimdışı bildirim almak ister misiniz?
Bir konuya etiketlendiğinizde, özel mesaj aldığınızda, bir mesajınız alıntılandığında forumda olmasanız bile anlık bildirim almak için lütfen izni verin.
Kiwi IRC kurulumu yaparken hatalar aldım. Hataları aşağıda paylaşıyorum ve yardımlarınızı talep ediyorum.
Kod: Kodu kopyalamak için üzerine çift tıklayın!
*Download the Kiwi source or clone the git repository
$ git clone [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] && cd KiwiIRC
*Install the dependencies
$ npm install
*Copy and edit the configuration as needed
$ cp config.example.js config.js
$ nano config.js
*Make sure the client code is built
$ ./kiwi build
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
KiwiIRC'i başlatma komutundan sonraki aldığım hatalar yukarıdaki resimde gibidir.
config.js 'deki kodlar ise;
Kod: Kodu kopyalamak için üzerine çift tıklayın!
var conf = {};
// Run the Kiwi server under a different user/group
conf.user = "";
conf.group = "";
// Log file location
conf.log = "kiwi.log";
/*
* Server listen blocks
*/
// Do not edit this line!
conf.servers = [];
// Example server block
conf.servers.push({
port: 7778,
address: "185.126.179.217"
});
// Example SSL server block
//conf.servers.push({
// port: 7777,
// address: "185.126.179.217",
//
// ssl: true,
// ssl_key: "server.key",
// ssl_cert: "cert.pem"
//});
// Network interface for outgoing connections
conf.outgoing_address = {
IPv4: '185.126.179.217'
//IPv6: '::'
};
// Do we want to enable the built in Identd server?
conf.identd = {
enabled: false,
port: 113,
address: "185.126.179.217"
};
// Where the client files are
conf.public_http = "client/";
// Transports available to the client.
// Behind an Apache reverse proxy? Uncomment the below - Apache does not support websockets!
//conf.client_transports = ['polling'];
// Max connections per connection. 0 to disable
conf.max_client_conns = 5;
// Max connections per server. 0 to disable.
// Setting is ignored if:
// - There is a WEBIRC password configured for the server,
// - Kiwi is configured to send the client's ip as a username for the server, or
// - Kiwi is running in restricted server mode.
conf.max_server_conns = 0;
/*
* Default encoding to be used by the server
* As specified and limited to iconv-lite library support.
*/
conf.default_encoding = 'utf8';
/*
* Default GECOS (real name) for IRC connections
* %n will be replaced with the users nick
* %h will be replaced with the users hostname
*/
conf.default_gecos = '%n is using a Web IRC client';
/*
* Default ident / username for IRC connections
* %n will be replaced with the users nick
* %h will be replaced with the users hostname
* %i will be replaced with a hexed value of the users IP
*/
conf.default_ident = '%i';
/*
* Default quit message
* If a browser gets disconnected without sending a QUIT command, this
* message will be used instead.
*/
conf.quit_message = ' Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. A hand-crafted IRC client';
/*
* Auto reconnect if the IRC server disconnects a kiwi user
* Hundreds of connected users getting disconnected then reconnecting at once may see
* high CPU usage causing further dropouts. Set to false if under high usage.
*/
conf.ircd_reconnect = true;
/*
* Client side plugins
* Array of URLs that will be loaded into the browser when the client first loads up
* See http://github.com/prawnsalad/KiwiIRC/wiki/Client-plugins
*/
conf.client_plugins = [
// "http://server.com/kiwi/plugins/myplugin.html"
];
// Directory to find the server modules
conf.module_dir = "../server_modules/";
// Which modules to load
conf.modules = [
// Open a TCP port to control the Kiwi server (default port 8888)
// "control",
// Automatically reload CSS files when a theme changes
// "client_file_watcher",
];
// WebIRC password enabled for this server
conf.webirc_pass = "";
// Use the above *OR* the below webirc_pass option
// Multiple WebIRC passwords may be used for multiple servers
//conf.webirc_pass = {
// "irc.mirckeyfi.net": "configured_webirc_password",
// "127.0.0.1": "foobar"
//};
// Whether to verify IRC servers' SSL certificates against built-in well-known certificate authorities
conf.reject_unauthorised_certificates = false;
/*
* Reverse proxy settings
* Reverse proxies that have been reported to work can be found at:
* https://kiwiirc.com/docs/installing/proxies
*/
// Whitelisted HTTP proxies in CIDR format
conf.http_proxies = ["127.0.0.1/32"];
// Header that contains the real-ip from the HTTP proxy
conf.http_proxy_ip_header = "x-forwarded-for";
// Base HTTP path to the KIWI IRC client (eg. /kiwi)
conf.http_base_path = "/kiwi";
/*
* SOCKS (version 5) proxy settings
* This feature is only available on node 0.10.0 and above.
* Do not enable it if you're running 0.8 or below or Bad Things will happen.
*/
conf.socks_proxy = {};
// Enable proxying outbound connections through a SOCKS proxy
conf.socks_proxy.enabled = false;
// Proxy *all* outbound connections through a SOCKS proxy
conf.socks_proxy.all = false;
// Use SOCKS proxy for these hosts only (if conf.sock_proxy.all === false)
conf.socks_proxy.proxy_hosts = [
"irc.mirckeyfi.net"
];
// Host and port for the SOCKS proxy
conf.socks_proxy.address = '127.0.0.1';
conf.socks_proxy.port = 1080;
// Username and password for the SOCKS proxy
// Set user to null to disable password authentication
conf.socks_proxy.user = null;
conf.socks_proxy.pass = null;
// Default settings for the client. These may be changed in the browser
conf.client = {
server: 'irc.mirckeyfi.net',
port: 6697,
ssl: true,
channel: '#kiwiirc',
channel_key: '',
nick: 'kiwi_?',
settings: {
theme: 'relaxed',
text_theme: 'default',
channel_list_style: 'tabs',
scrollback: 250,
show_joins_parts: true,
show_timestamps: false,
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: 'Kiwi IRC'
};
// List of themes available for the user to choose from
conf.client_themes = [
'relaxed',
'mini',
'cli',
'basic'
];
// If set, the client may only connect to this 1 IRC server
//conf.restrict_server = "irc.mirckeyfi.net";
//conf.restrict_server_port = 6667;
//conf.restrict_server_ssl = false;
//conf.restrict_server_password = "";
/*
* If running multiple kiwi servers you may specify them here.
* Note: All kiwi servers must have the same conf.http_base_path config option.
*
* To force the client to connect to one other kiwi server, use:
* conf.client.kiwi_server = 'https://kiwi-server2.com';
*
* To force the client to connect to a random kiwi server from a list, use:
* conf.client.kiwi_server = ['https://kiwi-server1.com', 'https://kiwi-server2.com'];
*/
//conf.client.kiwi_server = '';
/*
* Do not amend the below lines unless you understand the changes!
*/
module.exports.production = conf;
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] ~]# yum install nodejs
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.radoreservers.com
* epel: repo.boun.edu.tr
* extras: centos.turhost.com
* updates: mirror.radoreservers.com
Package nodejs-0.10.48-3.el6.i686 already installed and latest version
Nothing to do
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] ~]# cd Ki*
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] KiwiIRC]# ./kiwi build
module.js:340
throw err;
^
Error: Cannot find module 'daemonize2'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/root/KiwiIRC/server/helpers/launcher.js:20:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] KiwiIRC]#
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] ~]# yum install nodejs
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.radoreservers.com
* epel: repo.boun.edu.tr
* extras: centos.turhost.com
* updates: mirror.radoreservers.com
Package nodejs-0.10.48-3.el6.i686 already installed and latest version
Nothing to do
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] ~]# cd Ki*
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] KiwiIRC]# ./kiwi build
module.js:340
throw err;
^
Error: Cannot find module 'daemonize2'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/root/KiwiIRC/server/helpers/launcher.js:20:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] KiwiIRC]#
KiwiIRC dizini içinde;
./kiwi build'den önce,
npm install
komutunu uygulayıp ondan sonra build edin.
KiwiIRC dizini içinde;
./kiwi build'den önce,
npm install
komutunu uygulayıp ondan sonra build edin.
Kod: Kodu kopyalamak için üzerine çift tıklayın!
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] KiwiIRC]# npm install
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm ERR! Error: CERT_UNTRUSTED
npm ERR! at SecurePair.<anonymous> (tls.js:1430:32)
npm ERR! at SecurePair.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:1029:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:521:13)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:341:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:418:25)
npm ERR! at doWrite (_stream_writable.js:226:10)
npm ERR! at writeOrBuffer (_stream_writable.js:216:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:183:11)
npm ERR! at write (_stream_readable.js:602:24)
npm ERR! at flow (_stream_readable.js:611:7)
npm ERR! at Socket.pipeOnReadable (_stream_readable.js:643:5)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]groups.com>
npm ERR! System Linux 2.6.32-042stab123.9
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /root/KiwiIRC
npm ERR! node -v v0.10.48
npm ERR! npm -v 1.3.6
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm http GET [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/KiwiIRC/npm-debug.log
npm ERR! not ok code 0
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] KiwiIRC]# ./kiwi build
module.js:340
throw err;
^
Error: Cannot find module 'daemonize2'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/root/KiwiIRC/server/helpers/launcher.js:20:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
[root@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] KiwiIRC]#