Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
servidores:general:rocketchat [2020/03/25 15:31] fmolinuevo [Instalación de Rocket.Chat] |
servidores:general:rocketchat [2020/03/29 20:58] (actual) fmolinuevo [Introducción] |
||
---|---|---|---|
Línea 1: | Línea 1: | ||
====== Instalando Rocket.Chat 3 en Debian 9 Stretch ====== | ====== Instalando Rocket.Chat 3 en Debian 9 Stretch ====== | ||
+ | |||
+ | |||
+ | //Por Félix Molinuevo, [[axrglobal>|AXR Global]]// **:::** //Fecha creación: **20200327**// | ||
===== Introducción ===== | ===== Introducción ===== | ||
Línea 62: | Línea 65: | ||
EOF | EOF | ||
</code> | </code> | ||
+ | |||
+ | Si se desea, se puede cambiar el puerto de escucha de Rocket.Chat editando el archivo del servicio y modificando en la línea correspondiente el host y el puerto para acceder a Rocket.Chat, ya que por defecto es localhost y puerto 3000: | ||
+ | |||
+ | Environment=MONGO_URL=mongodb://localhost:27017/rocketchat?replicaSet=rs01 MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01 ROOT_URL=http://localhost:3000/ PORT=3000 | ||
+ | |||
+ | Finalmente, configurar el motor de almacenamiento y replicación de MongoDB, y habilitar e iniciar los servicios MongoDB y Rocket.Chat: | ||
+ | |||
+ | <code bash> | ||
+ | sed -i "s/^# engine:/ engine: mmapv1/" /etc/mongod.conf | ||
+ | sed -i "s/^#replication:/replication:\n replSetName: rs01/" /etc/mongod.conf | ||
+ | systemctl enable mongod && systemctl start mongod | ||
+ | </code> | ||
+ | |||
+ | mongo --eval "printjson(rs.initiate())" | ||
+ | |||
+ | systemctl enable rocketchat && systemctl start rocketchat | ||
+ | |||
+ | ===== Configurar Rocket.Chat ===== | ||
+ | |||
+ | Utilizando un navegador web, ingresar a la URL indicada en la configuración de Rocket.Chat (http://direccion-del-servidor:3000). | ||
+ | |||
+ | Se debe seguir los pasos de configuración para crear un usuario administrador, e ingresar los datos de su servidor y organización. | ||
+ | |||
+ |