ya-installer's Introduction
ya-installer's People
ya-installer's Issues
cannot automatically install requestor in linux on arm based cpu's
people seeking to run a requestor on linux are advised to run the following command: curl -sSf https://join.golem.network/as-requestor | bash -
requestor primer however for a client running the script in linux (not Darwin) on an arm cpu this fails with the error message: golem-installer: invalid cputype: aarch64
i propose additional bash logic #44 to test for aarch64 on requestor installs to proceed as normally (with an additional logic to correctly resolve the url to aarch64 binaries) following the canonical pattern set by the releases thus far.
closing this issue should also close #24 (in addition to #44)
Verify correct system datetime
Having incorrect datetime could cause the ssl certificate verification failure and break installation process.
A sample output with date set in the past:
ederenn@GOLEM2008-VM-UBNT18:~$ curl -ksSf https://join.golem.network/as-provider | bash -
By installing & running this software you declare that you have read, understood and hereby accept the disclaimer and
privacy warning found at https://handbook.golem.network/see-also/terms
Do you accept the terms and conditions? [yes/no]: yes
golem-installer: installing to /home/ederenn/.local/bin
Component Version
----------- --------------------
golem core 0.10.0 curl: (60) SSL certificate problem: certificate is not yet valid
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gzip: stdin: unexpected end of file
tar: Child returned status 1
We should add this error message to handbook troubleshooting section
Container / Compose for small test enviroments.
ENV
Test
Feature request: curl commands for latest DEV/-rc version
Hey, @core is it possible to install the latest draft release of yagna with the official installation script without providing the explicit version? If not, would it be possible to add this functionality?
Support ARM by running as x86_64
One of our Discord users popped up and wanted to raise an issue to support M1 Macbooks by running the software through Rosetta. It appears to be a simple solution, which could possibly be merged for now?
He added this to the installer.sh
detect_dist() {
local _ostype _cputype
_ostype="$(uname -s)"
_cputype="$(uname -m)"
if [ "$_ostype" = Darwin ] && [ "$_cputype" = i386 ]; then
# Darwin `uname -m` lies
if sysctl hw.optional.x86_64 | grep -q ': 1'; then
_cputype=x86_64
fi
fi
# Apple Silicon using Rosetta 2
if [ "$_ostype" = Darwin ] && [ "$_cputype" = arm64 ]; then
_cputype=x86_64
fi
case "$_cputype" in
x86_64 | x86-64 | x64 | amd64)
_cputype=x86_64
;;
*)
err "invalid cputype: $_cputype"
;;
esac
case "$_ostype" in
Linux)
_ostype=linux
;;
Darwin)
_ostype=osx
;;
MINGW* | MSYS* | CYGWIN*)
_ostype=windows
;;
*)
err "invalid os type: $_ostype"
esac
echo -n "$_ostype"
}
Credit @SimonLovskog
Specifically this part
# Apple Silicon using Rosetta 2
if [ "$_ostype" = Darwin ] && [ "$_cputype" = arm64 ]; then
_cputype=x86_64
fi
test issue to check the workflow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.