Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
galene
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
galene
Commits
2bda3af4
Commit
2bda3af4
authored
Jan 25, 2021
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add section about cross-compiling to README.
parent
aa695380
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
README
README
+26
-1
No files found.
README
View file @
2bda3af4
...
@@ -50,7 +50,7 @@ You should be able to access Galène at `https://localhost:8443`. Connect
...
@@ -50,7 +50,7 @@ You should be able to access Galène at `https://localhost:8443`. Connect
to the group that you have just set up in two distinct browser windows,
to the group that you have just set up in two distinct browser windows,
then press *Ready* in one of the two; you should see a video in the other.
then press *Ready* in one of the two; you should see a video in the other.
If you have set up a TURN server, type
*/relay-test*
in the chat box; if
If you have set up a TURN server, type
`/relay-test`
in the chat box; if
the TURN server is properly configured, you should see a message saying
the TURN server is properly configured, you should see a message saying
that the relay test has been successful. (The relay test will fail if you
that the relay test has been successful. (The relay test will fail if you
didn't configure a TURN server; this is normal, and nothing to worry
didn't configure a TURN server; this is normal, and nothing to worry
...
@@ -77,6 +77,31 @@ forward, at a minimum, ports 8443 and 1194. In addition, you should add
...
@@ -77,6 +77,31 @@ forward, at a minimum, ports 8443 and 1194. In addition, you should add
the option `-turn 192.0.2.1:1194` to Galène's command line, where `192.0.2.1`
the option `-turn 192.0.2.1:1194` to Galène's command line, where `192.0.2.1`
is your NAT's external (global) IPv4 address.
is your NAT's external (global) IPv4 address.
## Cross-compile for your server
If your server runs a different OS or has a different CPU than your build
machine, you will need to recompile the binary for the server.
For a Linux server with an Intel or AMD CPU:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags='-s -w'
For a Raspberry Pi 1:
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build -ldflags='-s -w'
For a BeagleBone or a Raspberry Pi 2 or later:
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -ldflags='-s -w'
For a 64-bit ARM board (Olimex Olinuxino-A64, Pine64, etc.):
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags='-s -w'
For a 32-bit MIPS board with no hardware floating point (WNDR3800, etc.):
CGO_ENABLED=0 GOOS=linux GOARCH=mips GOMIPS=softfloat go build -ldflags='-s -w'
## Deploy to your server
## Deploy to your server
Set up a user *galene* on your server, then do:
Set up a user *galene* on your server, then do:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment