You are here: Home > Psybnc > Install
How To Install psyBNC
-
wget http://ircd.zemra.org/psybnc/psyBNC-2.4BETA2.tar.gz
tar zxvf psyBNC-2.4BETA2.tar.gz
rm -rf psyBNC-2.4BETA2.tar.gz
cd psybnc
make
Country Name [DE]:
State/Province [Somewhere]:
Locality Name (eg, city) []:
Organization Name (eg, company) [tCl]:
Organizational Unit Name (eg, section) [psyBNC]:
Common Name (Full domain of your server) []:
- pico psybnc.conf (change the bnc PORT and save)
- ./psybnc
Other alternative
- wget http://ircd.zemra.org/psybnc/psyBNC-2.3.2-9.tar.gz
- tar -zxvf psyBNC-2.3.2-9.tar.gz
- rm -rf psyBNC-2.3.2-9.tar.gz
- cd psybnc
- make menuconfig
- make
- pico psybnc.conf
- ./psybnc
NOTE
If you get an error saying:�This needs the ncurses library. If it is not available, menuconf wont work. If you are using curses, use make menuconfig-curses instead.�
use :
- sudo apt-get install libncurses5-dev
- make
- pico psybnc.conf
- ./psybnc
How To Install psyBNC on FreeBSD
Login as root
- cd /usr/ports/irc/psybnc
- make install clean
- For example: downloading ncurses using wget:
-
$ mkdir /tmp/ncurses $ cd /tmp/ncurses $ wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
- Extract ncurses
-
$ cd /tmp/ncurses $ gzip -dc < ncurses-5.9.tar.gz | tar -xf - $ cd ncurses-5.9
- Build ncurses
-
$ ./configure --prefix=/usr $ make
- Install ncurses (must be root user)
-
# make install
You can also specify configuration options , leave in our case by default , simply exit the configurator and continue to compile and install .
To work psyBNC ( it should not be run as root), it is necessary to create a user under the rights which it will operate . Create a user command adduser. In this case , use the second option.
# AdduserUsername: psybnc
Full name:
Uid (Leave empty for default):
Login group [psybnc]:
Login group is psybnc. Invite psybnc into other groups? []
Login class [default]:
Shell (sh csh tcsh date bash nologin) [sh]: bash
Home directory [/ home / psybnc]:
Use password-based authentication? [Yes]:
Use an empty password? (Yes / no) [no]:
Use a random password? (Yes / no) [no]:
Enter password:
Enter password again:
Lock out the account after creation? [No]:
Username: psybnc
Password: *****
Full Name:
Uid: 1001
Class:
Groups: psybnc
Home: / home / psybnc
Shell: / usr / local / bin / bash
Locked: no
OK? (Yes / no): y
adduser: INFO: Successfully added (psybnc) to the user database.
Add another user? (Yes / no): n
Goodbye!
Log in with the user psybnc
Copy the configuration file in the home directory psyBNC this user and start the psyBNC:
cp /usr/local/etc/psybnc.conf.sample /home/bnc/psybnc.conf
psybnc
Launch is successful, the message:
Version 2.3.2-7 � 1999-2003
the most psychoid
and the cool lam3rz Group IRCnet
Configuration File: psybnc.conf
Language File: psyBNC Language File - English
No logfile specified, logging to log / psybnc.log
Listening on: 0.0.0.0 port 31337
psyBNC2.3.2-7-cBtITLdDMSNpE started (PID 3752)
Check for psybnc in running processes:
ps -aux | grep bnc
3752 p4 SJ 0: 00.01 psybnc
How To Install psyBNC on FreeBSD
Login as root
cd /usr/ports/irc/psybnc
make install clean
cp /usr/local/etc/psybnc.conf.sample /home/USERNAME/psybnc.conf
edit /home/USERNAME/psybnc.conf
psybnc (NOT ./psybnc, just psybnc to run your psyBNC)
Errors:
This needs the ncurses library.
By the time you read this, it is possible that the latest version has been updated. You may want to use a newer version, but it�s possible a newer version might not work the same way. To ensure a positive outcome, don�t upgrade unless you have a good reason to, or if the ncurses folks recommend you to do so on their website.
Prerequisites
ncurses has no prerequisites.
Downloading ncurses
The latest version of ncurses is 5.9. You can download this, or another version, at http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz. Assuming you want to install version 5.9: download ncurses-5.9.tar.gz; put this into a temporary folder, such as /tmp/ncurses, and follow the rest of these instructions to install it.
Installing ncurses
Files
This version of ncurses, when installed, produces several files: a few C headers /usr/include/ncurses.h and /usr/include/ncurses_dll.h, a libtool library libncurses.la, and static .a and shared .so versions of the following libraries libncurses, libncurses_g, and libncurses_p. Sometimes you will need to install these to a different place, but most libraries expect to be found in either /lib, /usr/lib, or /usr/local/lib. If you�d rather install these files under /usr/local/lib, for instance, you should pass �prefix=/usr/local to the configure script.