https://github.com/osdio/qoramonitor
A Node Monitor For Qora
https://github.com/osdio/qoramonitor
Last synced: 23 days ago
JSON representation
A Node Monitor For Qora
- Host: GitHub
- URL: https://github.com/osdio/qoramonitor
- Owner: osdio
- Created: 2014-09-16T02:40:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-31T10:41:21.000Z (over 10 years ago)
- Last Synced: 2025-05-07T08:57:53.689Z (23 days ago)
- Language: CSS
- Homepage:
- Size: 11.7 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
qoraMonitor
===========
> qoraMonitor is built for qora node. qoraMonitor can show whether your node is running well.## Getting start
### First install qora
If you are first install qora wallet. Plea as these step:
```
sudo su -
apt-get update
apt-get upgradeapt-get install openjdk-7-jdk screen unzip
mkdir qora
cd qora
wget http://coinia.net/qora/Qora.last.zip -O qora.zip
unzip -o qora.zip
cd Qoraecho -e '{\n"knownpeers":["146.185.141.232","162.243.170.76","42.159.153.145","88.198.69.99","85.21.237.35","193.242.149.63","113.250.226.131"],\n"minconnections": 10,\n"maxconnections": 100\n}'>settings.json
echo -e "java -Xmx512m -Djava.library.path=libs/native -jar Qora.jar -disablegui">run.sh
chmod 777 run.shscreen -d -m -S qora ./run.sh
```If you just to upgrade qora, you should fallow these step:
```
cd qorakill -9 `ps aux | grep 'jar Qora.jar \-' | awk '/root/ {print $2}'
wget http://coinia.net/qora/Qora.last.zip -O qora.zip
unzip -o qora.zip
cd Qora
rm -R data
rm -R walletecho -e '{\n"knownpeers":["146.185.141.232","162.243.170.76","42.159.153.145","88.198.69.99","85.21.237.35","193.242.149.63","113.250.226.131"],\n"minconnections": 10,\n"maxconnections": 100\n}'>settings.json
echo -e "java -Xmx512m -Djava.library.path=libs/native -jar Qora.jar -disablegui">run.sh
chmod 777 run.sh
screen -d -m -S qora ./run.sh
```### Then, intall qoraMonitor
#### First, install node.js
```
sudo apt-get update
sudo apt-get install nodejssudo apt-get install nodejs-legacy
sudo apt-get update
sudo apt-get install nodejs
```Then, you can text this to check:
```
node -v
```
#### Install npm (Node package manager)```
sudo apt-get update
sudo apt-get install npm
```
Check version of npm:```
npm -v
```#### Install qoraMonitor
```
cd
cd qora
sudo apt-get install gitgit clone https://github.com/soliury/qoraMonitor.git
cd qoraMonitor
cp settings.example.js settings.jsnpm install
sudo npm install forever -g
cd bin
forever start www
```Then you brower the url : `your ip `+ `:3000`
You will see the login page.
The default user is `qoranode`, password is `qoranode`.
If you want to change the login user and the password, you should edit the settings.js.
```
(function() {
module.exports = {
loginUserName: "qoranode", //login user name
loginPwd: "qoranode", //login password
cookie: "asdfaqweroqwejr098e0sdkjgoasduaoisd" //just text something here.
};}).call(this);
```This is the monitor page: