n3tc4t / codius-install Goto Github PK
View Code? Open in Web Editor NEWCodius Installer For Centos, Ubuntu , Debian ...
License: MIT License
Codius Installer For Centos, Ubuntu , Debian ...
License: MIT License
Thinking out loud ).
Perhaps it would be better if you replace:
"moneyd xrp: configure" to "moneyd xrp: configure --advanced"?
https://xrpcommunity.blog/single-wallet-multiple-moneyd-instances/
Describe the issues
Add
To Reproduce
You can run the script to completion and note that the commands have not been executed.
Expected behavior
Add:
setsebool -P httpd_can_network_connect 1
yum install firewalld
systemctl start firewalld
firewall-cmd --zone=public --add-port=443/tcp --permanent
firewall-cmd --zone=public --add-port=7768/tcp --permanent
firewall-cmd --reload
Screenshots
N/A
This is very awesome! Thank you for putting this up.
Unfortunately, the version of hyper for Ubuntu that is installed by the bootstrap script is out of date and the port mapping is broken. We're building our own version for CentOS 7 which is the only OS we currently support.
However, I just opened an issue to create hyper builds for other OSes (codius/codiusd#61) so once this is done and a new bootstrap script is put up you'll only have to change that url and it will install the right version!
When the XRP secret is not correct, the script stops without error message, leaving the end user in doubt whether the script finished successfully or not.
While running the script I unfortunately miss clicked during the certificate issuing and stopped the installation. It is now saying that I do not have enough XRP in my wallet. Are the fund locked on the VPS and can I release them?
To clarify, after I sent 60 XRP to Exarpy, now when I log in my amount appears to have 19.999 for a second, then it drops to 9.99.
I have decided to transfer more to get it done though, but would be nice to know what is happening.
hi guys, any chance of getting 18.04 LTS (bionic) support?
When I look into the script code I don't see any contraindications why this won't work if Xenial is supported.
Add the ability to add a separate address and a separate secret, since sometimes access to the address occurs on a regular-key.
After entering wallet secret the script hangs. I let it sit for 10 minutes. When I hit enter a 2nd time it shows this output.
codius-install.sh: line 102: read: `[?] Running moneyd in ripple testnet ? [Y/n] ': not a valid identifier
[root@codius ~]#
I have tried entering "Y" before hitting enter but same issues.
[root@codius ~]# uname -a
Linux codius.zerpgames.com 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@codius ~]# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
[root@codius ~]#
I really like your script. works like a charm.
However, i'd like to use it to configure multiple hosts using the same xrp wallet.
This is possible using moneyd
moneyd xrp:configure --advanced
(see: https://xrpcommunity.blog/single-wallet-multiple-moneyd-instances/ )
Could you integrate the request for giving a unique host name.?
In /etc/nginx/conf.d/codius.conf
Some proxy fields under "Location" are in an incorrect order. This is preventing the enabling of Websocket support and thus causing the host to fail self test.
The correct order should be:
location / {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
This is described here: https://medium.com/codius/codiusd-1-2-0-upgrading-and-websocket-support-42f712a0cee9 where it is stated that the order of the proxy fields matters. The bolded fields must come first.
First off, i'm super green and don't know much....thank you so much for making this thing...it is incredibly useful and I've shared it more than once.
ok....
I'm Running option 2 - Check your system for codius errors
on the second check "Checking required running services" - codiusd comes back with a red "x".
when i run all the systemctl status commands...everything comes back green and running.
What am I missing here?
Appreciate any help.
Thanks,
FUBS
Saw this over at reddit and thought it was worth nailing down.
https://www.reddit.com/r/codius/comments/8t2h17/simple_script_to_install_codius/
I tried to install many times.
I have enough money in my wallet.
Constantly the same error 502.
Though if to check up that all services are started, a firewall - ok.
Ports 7768 and 3000 are not listening.
Firewall checked several times, all ok.
Does anyone have any ideas?
I have tried 3 secret keys.
it seems like the wget : wget https://raw.githubusercontent.com/xrp-community/codius-install/master/codius-install.sh -O codius-install.sh && bash codius-install.sh
is not working ?
bash: wget: command not found
Would be nice to have an option to check for updates to all three programs and then update them if a new update is out. You don’t even have to make it check, you can just run the commands to update them as part of the option.
Just a lot easier to update if it’s all automated in an option. Something to think about, but if it’s not possible that’s cool. Thanks :)
Have a "[root@codius1 ~]# moneyd xrp:info" --> "bash: moneyd: command not found" after update.
Hi there, love the script ... do have some ideas:
thnx for making this!
After running the command - wget https://raw.githubusercontent.com/xrp-community/codius-install/master/codius-install.sh -O codius-install.sh && bash codius-install.sh
Selected 2) Check your system for codius errors
[WARN] : It's look like codius is not running as expected ...
[+] Start Debuging ...
........................................
. Checking required installed packages .
........................................
node ✔
npm ✔
hyperd ✔
hyperctl ✔
moneyd ✔
codiusd ✔
certbot ✔
......................................
. Checking required running services .
......................................
hyperd ✔
moneyd ✔
codiusd ✔
nginx ✔
[?] Creating full services log file ?
I'm running on google cloud hosting.
Hi i run a check on errors and below are the status and errors found. how do i resolve this ? My certificate have not expired yet.
[WARN] : It's look like codius is not running as expected ...
[+] Start Debuging ...
........................................
. Checking required installed packages .
........................................
------------------------------------------
PACKAGE STATUS
------------------------------------------
node ✔
npm ✔
hyperd ✔
hyperctl ✔
moneyd ✔
codiusd ✔
certbot ✘
......................................
. Checking required running services .
......................................
------------------------------------------
SERVICE STATUS
------------------------------------------
hyperd ✔
moneyd ✔
codiusd ✘
nginx ✔
[?] Creating full services log file ?
[WARN] : With this action all codius services will be restart for debuging
Do you want to continue ? [y/N]: y
[!] Stoping services...
[!] Execute services and commands in debug mode ...
[*] This will take some time ...
[!] Killing debug proccess ...
[+] Starting services...
=============================================================================================================================================
[!] The Debuging Proccess is done .
[-] Please check /tmp/codius_debug-2018-07-12.15-46 for full log output
Describe the issues
Whenever I run the cleanup of codius from my server I get an issue
`WARN] : Thie action will remove packages listed below and all config files belong to them :
Continue Anyway ? [y/N]: y
yarn global v1.7.0
[1/4] Removing module moneyd...
error This module isn't specified in a manifest.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.`
To Reproduce
Steps to reproduce the behavior:
4
and hit ENTERExpected behavior
The codius host should be cleared and reset.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.