-
-
Save effrenus/1034c23f484c2d0c43cb to your computer and use it in GitHub Desktop.
User data для конфигурации инстансов при первом запуске
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update | |
apt-get install -y libjansson4 libjansson-dev libcurl4-gnutls-dev automake autoconf git-core screen make | |
su ubuntu | |
cd /home/ubuntu | |
git clone https://github.com/Neisklar/quarkcoin-cpuminer | |
cd quarkcoin-cpuminer | |
./autogen.sh | |
./configure CFLAGS="-O3" | |
make | |
wget your_config_URL | |
./minerd --config=config.json & | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment