-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstall_requirements.sh
53 lines (41 loc) · 2.07 KB
/
install_requirements.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
echo ============================================================
echo ==================== Y I C O I N ===========================
echo ============================================================
#################################################################
# Update Ubuntu and install prerequisites for running YiCoin #
#################################################################
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
#################################################################
# Install all necessary packages for building YiCoin #
#################################################################
sudo apt-get install -y build-essential libssl-dev
sudo apt-get install -y libboost-all-dev git libdb5.3++-dev
sudo apt-get install -y libminiupnpc-dev screen
#################################################################
# Creating local wallet folder to download and install YiCoin #
#################################################################
sudo mkdir /wallets
sudo chmod 777 /wallets
#################################################################
# Downloading source code from Github #
#################################################################
git clone https://github.com/YiDeveloper/Yi.git yicoin
cd yicoin
#################################################################
# Changing permission to run #
#################################################################
cd ./src/leveldb
chmod +x build_detect_platform
cd ../..
#################################################################
# Compiling daemon #
#################################################################
make -f makefile.unix
#################################################################
# Infos #
#################################################################
echo Visit: https://yicoin.eu/
echo Check guides how to create masternodes and news about YiCoin