miércoles, 22 de febrero de 2017

instalación de OpenFire en CentOS


Openfire es un servidor de colaboración en tiempo real (RTC) bajo la licencia de código abierto Apache. Se utiliza el protocolo abierto sólo ampliamente adoptado para la mensajería instantánea, XMPP (también llamado Jabber). Openfire es increíblemente fácil de configurar y administrar, pero ofrece una seguridad de hierro y el rendimiento.


comandos a utilizar

## complementos necesario 
yum -y install wget java glibc.i686

## Descargar
wget http://download.igniterealtime.org/openfire/openfire-3.9.3-1.i386.rpm

## Descomprimir y Instalar 
rpm -Uvh openfire-3.9.3-1.i386.rpm

## Iniciar Servicio
/etc/init.d/openfire start

## Instalar Motor de Base de Datos 
yum -y install mysql-server

## Iniciar servicio 
/sbin/service mysqld start

## Configurar  y reiniciar servicio 
/usr/bin/mysql_secure_installation
/sbin/service mysqld restart

## Crear Base de Datos para OpenFire
/usr/bin/mysql -u root -p
CREATE DATABASE openfire;

## Iniciar Servicios automaticamente  después de reiniciar servidor 




http://IP del servidor :9090



VIDEO EN DESARROLLO 





 











domingo, 19 de febrero de 2017

Instalar y configurar vsftpd



sobre vsftpd vsftpd es una licencia GPL servidor FTP para sistemas UNIX, incluyendo Linux. Es seguro y muy rápido. Es estable. No tome mi palabra para ella, sin embargo. A continuación, vamos a ver evidencia que apoya las tres afirmaciones. También vamos a ver una lista de algunos sitios importantes que están felizmente usando vsftpd. Esto demuestra vsftpd es una solución madura y de confianza.




#actualizar
yum -y update

#instalar
vsftpd yum -y install vsftpd

#editar archivo vsftpd
vi /etc/vsftpd/vsftpd.conf

#modificar archivo Cambiar de YES A NO
# Allow anonymous FTP? (Beware - allowed by default if you comment this out). anonymous_enable=NO

#desabilitar selinux
vi /etc/sysconfig/selinux
SELINUX=disable

#crear carpeta
cd /home/
mkdir FTPSITES
cd FTPSITES

#crear grupo y usuario ftp
groupadd ftpusers

useradd -g ftpusers -d /home/FTPSITES/prueba/ -c prueba prueba

#clave usuario
passwd prueba

parametros 

-g ftpusers = el usuario pertenece al grupo ftp.
-d /home/FTPSITES/prueba = El directorio principal del usuario es /home/FTPSITES/prueba/.
-c “Nombre del Usuario” = el nombre completo del usuario.
prueba = la última palabra será el nombre de usuario



#activar servicio
/etc/init.d/vsftpd start
chkconfig vsftpd on

lunes, 13 de febrero de 2017

FTP_Filezilla_Server



FileZilla, la solución FTP gratuito. Tanto un cliente y un servidor están disponibles. Esta versión cuenta con software de código abierto de distribución gratuita en los términos de la Licencia Pública General de GNU


El soporte está disponible a través de nuestros foros , el wiki y los errores y la función de solicitud rastreadores.


Además, se encuentra la documentación sobre cómo compilar FileZilla y versiones compiladas para múltiples plataformas en la sección de desarrollo.






link de descargar https://filezilla-project.org/















miércoles, 8 de febrero de 2017

Instalación de Zimbra, CentOS

********************************

Domain     : dominio
Hostname   : mail
IP Address : 192.168.1.10
Gateway    : 192.168.1.1
********************************


## actualizar 

yum -y update 

## configuracion de Interface

vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.1.10
NETMASK=255.255.255.0
DNS1=192.168.1.10
GATEWAY=192.168.1.1
DNS2=192.168.1.1
DNS3=8.8.8.8
USERCTL=no

## reinicar interface 

service network restart
chkconfig network on

## desactivar firewall 

setenforce 0
service iptables stop
service ip6tables stop
chkconfig iptables off
chkconfig ip6tables off


## editar hosts

vi /etc/hosts

127.0.0.1     localhost
192.168.1.10 mail.orion.cl mail


## editar resolv 


vi /etc/resolv.conf

search orion.cl
nameserver 192.168.1.10
nameserver 192.168.1.1
nameserver 8.8.8.8

## ingresar hostname

hostname mail.orion.cl

## editar network

vi /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=mail.orion.cl

## desactivar servicio 

service sendmail stop
service postfix stop
chkconfig sendmail off
chkconfig postfix off

## instalar complementos 

yum -y install perl perl-core wget screen w3m elinks openssh-clients openssh-server bind bind-utils unzip nmap sed nc sysstat libaio rsync telnet aspell

## editar named

vi /etc/named.conf

listen-on port 53 { 127.0.0.1; any; };
allow-query     { localhost; any; };

zone "orion.cl" IN {
type master;
file "db.orion.cl";
allow-update { none; };
}; 


## crear named 

touch /var/named/db.orion.cl
chgrp named /var/named/db.orion.cl
vi /var/named/db.orion.cl

$TTL 1D
@       IN SOA  ns1.orion.cl. root.orion.cl. (
                                        0       ; serial
                                        1D      ; refresh
                                        1H      ; retry
                                        1W      ; expire
                                        3H )    ; minimum
@       IN      NS      ns1.orion.cl.
@       IN      MX      0 mail.orion.cl.
ns1     IN      A       192.168.1.10
mail    IN      A       192.168.1.10


## reiniciar servicio DNS

service named restart
chkconfig named on


nslookup mail.orion.cl
dig orion.cl mx

##informacion que debe de aparecer 

nslookup mail.orion.cl
Server:         192.168.1.10
Address:        192.168.1.10#53
Name: mail.orion.cl
Address: 192.168.1.10



##################################################################################

## instalar zimbra

cd /opt/
wget -c https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz


## descomprimir  y iniciar instalacion 

tar -zxvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155
sh install.sh

#### proceso de instalacion 

Do you agree with the terms of the software license agreement? [N] Y

Install zimbra-ldap [Y] Y
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] Y
Install zimbra-dnscache [Y] N
Install zimbra-snmp [Y] Y
Install zimbra-store [Y] Y
Install zimbra-apache [Y] Y
Install zimbra-spell [Y] Y
Install zimbra-memcached [Y] Y
Install zimbra-proxy [Y] Y

DNS ERROR resolving MX for mail.orion.cl
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] Yes
Create domain: [mail.orion.cl] orion.cl


1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-store:                            Enabled                       
        +Create Admin User:                    yes                           
        +Admin user to create:                 admin@orion.cl            
******* +Admin Password                        UNSET                         
        +Anti-virus quarantine user:           virus-quarantine.dgnsq8ewc@orion.cl
......
......
Address unconfigured (**) items  (? - help) 6
Store configuration

   1) Status:                                  Enabled                       
   2) Create Admin User:                       yes                           
   3) Admin user to create:                    admin@orion.cl            
** 4) Admin Password                           UNSET                         
   5) Anti-virus quarantine user:              virus-quarantine.dgnsq8ewc@orion.cl
......
......
Select, or 'r' for previous menu [r] 4

Password for admin@orion.cl (min 6 characters): [s8eNUeOms] Verys3cr3t


*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a

Save configuration data to a file? [Yes] Yes

Save config in file: [/opt/zimbra/config.24648] 
Saving config in /opt/zimbra/config.24648...done.

The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup10052014-214606.log



###ingresar a web  usuario

https://192.168.1.10   


###ingresar administrador 

https://192.168.1.10:7071