====== Unix/Linux Pre-requisitos ======

===== Construcción =====
Usted probablemente necesita contruir Synchronet para su sistema Unix/Linux del [[es:dev:source|código fuente]] antes de esto se necesita instalar algunos programas primero:

==== Requiere ====
^ Required Component                      ^ Files ^ Debian Package ^ FreeBSD Port/Package ^
| [[http://www.gnu.org/software/make/|GNU make]] | ''[[:install:nix:make|gmake]]'' or ''make'' | [[http://packages.debian.org/stable/make|make]] | devel/gmake |
| [[http://gcc.gnu.org/|GNU C/C++ Compiler]]    | ''gcc'' and ''g++'' | [[http://packages.debian.org/stable/g++|g++]]   | lang/gcc |
| System C library header files |''errno.h'' | [[http://packages.debian.org/stable/linux-libc-dev|linux-libc-dev]] | Part of system |
| [[http://www.gnu.org/software/ncurses/|ncurses library and headers]]  | ''libncurses.so'' and ''ncurses.h'' or ''curses.h'' | [[http://packages.debian.org/stable/libncurses5-dev|libncurses5-dev]] | Part of system |
| [[http://www.mozilla.org/projects/nspr/|Netscape Portable Runtime Library]]       | ''libnspr4.so'' and ''nspr.h'' | [[http://packages.debian.org/stable/libnspr4-dev|libnspr4-dev]] | devel/nspr |
| [[http://www.perl.org|Perl]] | ''perl'' | | lang/perl5.14 (version subject to change) |
| [[http://www.python.org|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) ^
| [[http://www.nongnu.org/cvs/|Concurrent Versions System]] (CVS)             | ''cvs'' | [[http://packages.debian.org/stable/cvs|cvs]]  | Part of system           | ''ftp'' or ''wget'' |
| Capabilities Library (Linux)            | ''libcap.so'' and ''capability.h'' | [[http://packages.debian.org/stable/libcap2-dev|libcap2-dev]]  | Not available | optional |
| GNU Debugger | ''gdb'' | [[http://packages.debian.org/stable/gdb|gdb]] | Part of system | optional |
===== Programas de Terceros =====

Componentes externos son necesarios para correr Synchronet BBS:

==== Requerido ====

^ Required Component                           ^ Files                  ^ Debian Package ^ FreeBSD port/package ^
| [[http://www.info-zip.org/|Info-ZIP]] zip    | ''zip''               | [[http://packages.debian.org/stable/zip|zip]] | archivers/zip |
| [[http://www.info-zip.org/|Info-ZIP]] unzip  | ''unzip''             | [[http://packages.debian.org/stable/unzip|unzip]] | archivers/unzip |

==== Opcional ====
^ Optional Component                      ^ Files                  ^ Debian Package ^ FreeBSD port/package ^ Comments ^
| [[http://www.ohse.de/uwe/software/lrzsz.html|lrzsz]]             | ''rz'' and ''sz''      | [[http://packages.debian.org/stable/lrzsz|lrzsz]] | comms/lrzsz | Use [[util:sexyz]] instead |
| [[http://www.columbia.edu/kermit/gkermit.html|G-Kermit]] | ''gkermit''            | [[http://packages.debian.org/stable/gkermit|gkermit]] | comms/gkermit | |

==== 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



===== See Also =====
  * [[:es:install:nix:prerequisites|Dependencies]]
  * [[:es:install:nix|Installation for UNIX Instructions]]
  * [[es:howto:binkd]]
{{tag>}}
