Here I share about installing, and hardware resource used by mozilla hubs.
Im from indonesia and someone in china ask me to install this hubs on their server (in china mainland). via ssh remote.
The hardware is 8cpu 32g ram 40gb disk
You can use the VPN, i use nord VPN and select hongkong location (nearest). in this vpn not provide connection directly on mainland china. So i choose hongkong that near from china. then the server internet by magic is fast.
Using ubuntu 18 (python 3.6) i got many problem. then i ask him to install ubuntu 20.
Ubuntu 20 comes with python 3.8 which is supporting the mediasoup v3 in dialog
When i install spoke with yarn install
it says can't connect blabla...
then i run ping github.com
and got 100% lost packet.
then i restart the server sudo reboot
and still not work.
then i do gnutls_handshake() failed GIT repository – AWS codecommit and How to resolve "git pull,fatal: unable to access 'https://github.com...': Empty reply from server" and still not work
then i just git clone the repo
like three.js
and gltf-webpack-loader
then i make it local library (on vps) with yarn link
and on package.json
in spoke dir i remove that three.js
and gltf-webpack-loader
so i do
yarn install
yarn link three
yarn link gltf-webpack-loader
I succeed install elixir with asdf but not erlang
Then i install erlang 23.3 with .deb
file. visit this to download
What i do is delete .git
folder on hubs-actions-runner/reticulum/_work/reticulum/reticulum
then run mix deps.get
again
Sometimes the server is unlogic.
Problem A + solution A -> fail
Problem A + solution B -> fail
Couple hour later or doing restart / or change my VPN location
Problem A + solution A -> suceess
Here the answer:
Hello, check that your server is a machine in Shenzhen, the github you are visiting is an overseas site, and the mainland server accesses overseas sites through international links and operator routing nodes, which will be subject to international link congestion, and operators Outbound routing restrictions are prone to network link congestion, unstable access, and excessive access delay.
Check that your server is using the EIP, try changing the EIP and try again.
I hope this can help you to installing mozilla hubs. You have other experience, please send me pull request. you can help more people.