On a vanilla linux vps please run this command
bash install-server.sh
Depending on your security level in your shell, the root password can be asked during the installation script to execute sudo
commands during installation.
git clone https://github.com/rupayaproject/Apollo
If you don't have Golang and/or rupaya installed yet, run our installation script:
cd Apollo
bash install-server.sh
.
Follow the prompts and accept/enter when asked. Once finished you might be asked to close/restart the terminal.
On a successfull install you should have rupaya
as a directory alongside Apollo
.
Optional: create a directory to store the masternode/chain data:
mkdir YOUR_DATADIR
From within the Apollo directory, run bash apollo.sh start
.
The start command will execute the configuration helper. Please follow the steps displayed on the console to setup Apollo once.
Run the apollo scipt by executing bash apollo.sh
along with one of the following parameters:
start
Launches the masternodestop
Stops the rupaya masternodesimport
Allows a user to import a private keyforce-close
Force close all running rupaya instancesupdate
Update the Apollo files to their latest versionlog
Shows the daemon output. Ctrl+c to exit.clean
Remove the entire datadir
Hint! You can run all these actions in one go by running bash apollo.sh start
. This executes all needed steps in a single command.
Enter any key in your console to let the masternode run in the background.
Check if you are displayed on our stats page http://stats.rupx.io
Send our developers a DM to receive some testnet tokens in order to activate and setup your masternode.
bash apollo.sh start
for the first time.
It will ask you if you want to create a new coinbase account, or import an existing one.
The password will be saved in /Apollo/.pwd
and the address will be saved in /Apollo/testnet.env
.
Complete the setup helper. This will then start the node and begin syncing.
Run bash apollo.sh import
and follow the steps.
You will need to go to https://gov.rupx.io/
There you must click the login
button. If you use metamask, you need to connect to a custom network first
RPC URL: https://rpc.rupx.io
Chain ID: 77
Symbol RUPX
Nickname RUPAYA
cd && git clone https://github.com/rupayaproject/rupaya && cd rupaya && git checkout rebrand && make rupaya && sudo rm /usr/local/bin/rupaya && sudo cp build/bin/rupaya /usr/local/bin
To return to the stable version:
cd && cd rupaya && git checkout master && make rupaya && sudo rm /usr/local/bin/rupaya && sudo cp build/bin/rupaya /usr/local/bin
Note: You might need sudo
permissions to run any commands below.
On first install: chmod: changing permissions of FILE/DIR denied
: rerun chmod -R 755 Apollo
with sudo
permissions.
permission denied
when running .sh
files: First execute chmod +x FILE_NAME
to grant permissions
When updating via git pull
: error: Your local changes to the following files would be overwritten by merge:
Stash the local changes made by the chmod
action by executing git stash
first.
Whenever new updates are available, please run bash upgrade-rupaya.sh
.
cd && rm -rf Apollo && git clone https://github.com/rupayaproject/Apollo && chmod -R 755 Apollo/ && cd Apollo
This will remove the repository and reinstall it completely.
After creating the initial account, chances are likely that your node will start without unlocking the account first. Until this is fixed, we recommend you, after first run, to stop the node and restart it. Check the logs to confirm it's running!.