Tabla de Contenidos
Unix/Linux Pre-requisitos
Construcción
Usted probablemente necesita contruir Synchronet para su sistema Unix/Linux del código fuente antes de esto se necesita instalar algunos programas primero:
Requiere
Required Component | Files | Debian Package | FreeBSD Port/Package |
---|---|---|---|
GNU make | gmake or make | make | devel/gmake |
GNU C/C++ Compiler | gcc and g++ | g++ | lang/gcc |
System C library header files | errno.h | linux-libc-dev | Part of system |
ncurses library and headers | libncurses.so and ncurses.h or curses.h | libncurses5-dev | Part of system |
Netscape Portable Runtime Library | libnspr4.so and nspr.h | libnspr4-dev | devel/nspr |
Perl | perl | lang/perl5.14 (version subject to change) | |
Python | python | lang/python |
Recomendación
Es posible que la contrucción sea un poco dificil para modificar su sistema:
Recommended Component | Files | Debian Package | FreeBSD port/package | Alternative (for i386 only) |
---|---|---|---|---|
Concurrent Versions System (CVS) | cvs | cvs | Part of system | ftp or wget |
Capabilities Library (Linux) | libcap.so and capability.h | libcap2-dev | Not available | optional |
GNU Debugger | gdb | gdb | Part of system | optional |
Programas de Terceros
Componentes externos son necesarios para correr Synchronet BBS:
Requerido
Opcional
Debian
Raspberry Pi
apt-get install build-essential libncurses5-dev g++ libnspr4-dev cvs libmozjs185-dev libzip-dev zip
Fedora,RedHat, Centos
Cambie el puerto de ssh Demonio al 2222
nano /etc/ssh/sshd_config
antes de comenzar has un yum update
Fedora,RedHat, Centos:
yum install glibc-devel glibc ncurses* nspr nspr-devel perl gcc gcc-c++ make libtool zlib-devel gdb libcap-devel cvs wget nano nmap libstdc++-devel policycoreutils-python patch zip unzip lrzsz gkermit
Selinux
semanage port -a -t ftp_port_t -p tcp 21 semanage port -a -t gotd_port_t -p tcp 17 semanage port -a -t telnet_port_t -p tcp 23 semanage port -a -t smtp_port_t -p tcp 25 semanage port -a -t gopher_port_t -p tcp 70 semanage port -a -t fingur_port_t -p tcp 79 semanage port -a -t http_port_t -p tcp 80 semanage port -a -t pop3_port_t -p tcp 110 semanage port -a -t nntp_port_t -p tcp 119 semanage port -a -t magenta-logic_port_t -p tcp 513 semanage port -a -t ircd_port_t -p tcp 6667 semanage port -a -t sshd_port_t -p tcp 2222 semanage port -a -t webmin_port_t -p tcp 10000 semanage port -a -t port_t -p tcp 24554 semanage port -a -t port_t -p udp 24554
Recomendación: Puerto 24554 es para Binkd no activar si no se utilizara
Firewall
firewall-cmd --permanent --add-port 21/tcp firewall-cmd --permanent --add-port 17/tcp firewall-cmd --permanent --add-port 23/tcp firewall-cmd --permanent --add-port 25/tcp firewall-cmd --permanent --add-port 70/tcp firewall-cmd --permanent --add-port 79/tcp firewall-cmd --permanent --add-port 80/tcp firewall-cmd --permanent --add-port 110/tcp firewall-cmd --permanent --add-port 119/tcp firewall-cmd --permanent --add-port 513/tcp firewall-cmd --permanent --add-port 6667/tcp firewall-cmd --permanent --add-port 2222/tcp firewall-cmd --permanent --add-port 10000/tcp firewall-cmd --permanent --add-port 24554/tcp firewall-cmd --permanent --add-port 24554/udp