Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 2.8 KB

File metadata and controls

66 lines (41 loc) · 2.8 KB

Rocket.Chat for 1,000s on an Odroid XU4

Odroid XU4 has Octacore with 2 GB RAM

Powerful $75 Octacore 2GB RAM server

  • Samsung Exynos5422 Octa core CPUs
  • 2Gbyte LPDDR3 RAM PoP stacked
  • eMMC5.0 HS400 Flash Storage
  • 2 x USB 3.0 Host
  • Gigabit Ethernet port

Custom kernel configuration

Manually upgrading the kernel to 4.2 to support AppArmor is required before snap install will work.

The instructions for upgrading the kernel are found on Odroid's wiki.

This custom kernel configuration adds support for various Cloudshell necessities.

Make sure that in your boot.ini you reference the new dtb file instead of the old one:

fatload mmc 0:1 0x44000000 exynos5422-odroidxu4.dtb

You will also need to enable AppArmor in the boot line on boot.ini, example:

setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 apparmor=1 security=apparmor root=UUID=1b7c64c5-e2c1-4e51-a010-ed4a62ce75dd rootwait ro fsck.repair=yes net.ifnames=0"

If your Cloudshell LCD doesn't turn on, change the module definition on /etc/modprobe.d/odroid-cloudshell.conf to:

options fbtft_device name=hktft9340 busnum=1 rotate=270 gpios=reset:21,dc:22,led:18

Hardkernel is scheduled to officially update the kernel to 4.9 in February of 2017 so these changes should no longer be necessary by then.

Installing early availability Rocket.Chat armhf snap

Assuming you have Ubuntu 16.04 LTS and above kernel working.

Download the latest work-in-progress ARMHF Rocket.Chat snap from the ubuntu launchpad site:

https://launchpad.net/~sing-li/+snap/rocketchat-server/+build/16320/+files/rocketchat-server_0.48.2_armhf.snap

scp the snap onto your XU4 server.

Then use standard snap command to install Rocket.Chat:

sudo snap install ./rocketchat-server_0.48.2_armhf.snap --dangerous

Wait about a minute, and then check port 3000 for your working Rocket.Chat server!

Tiny Rocket.Chat server for thousands of users

Thanks to community genius @avnerus !

His sever setup - house in an Odroid CloudShell ($39), with its own LCD display :

CloudShell comes with its own LCD - can replace the need for a monitor

Teamed with a Samsung SSD, connected via Super Fast USB 3, and the server is ready for thousands of Rocket.Chat users:

SSD connected via USB 3 - ready for thousands of registered users