script for headless miner
This one we don't install any gtk/wx craziness, and the whole thing becomes much faster as a result.
This commit is contained in:
parent
91d85c8ecc
commit
fb153a0e64
17
debian/install_scripts/install_headless_apt
vendored
Executable file
17
debian/install_scripts/install_headless_apt
vendored
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
>&2 echo "A public key must be provided."
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Since we don't need the 238 packages required to run wx applications, we
|
||||||
|
# might as well see if a headless miner can run on just a subset of erlang.
|
||||||
|
sudo apt -y install wget erlang-tools erlang-dev erlang-eunit erlang-inets
|
||||||
|
|
||||||
|
wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx
|
||||||
|
export PATH=$PATH:$HOME/bin
|
||||||
|
|
||||||
|
zx import realm install_scripts/qpq.zrf
|
||||||
|
zx import realm install_scripts/uwiger.zrf
|
||||||
|
zx run uwiger-gmhive_client -gmhc pubkey "$1"
|
3
debian/install_scripts/install_miner_apt
vendored
3
debian/install_scripts/install_miner_apt
vendored
@ -1,7 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
sudo apt -y install wget erlang --no-install-recommends
|
sudo apt -y install wget erlang --no-install-recommends
|
||||||
|
|
||||||
wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx
|
wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx
|
||||||
export PATH=$PATH:$HOME/bin
|
export PATH=$PATH:$HOME/bin
|
||||||
|
|
||||||
zx import realm install_scripts/qpq.zrf
|
zx import realm install_scripts/qpq.zrf
|
||||||
zx import realm install_scripts/uwiger.zrf
|
zx import realm install_scripts/uwiger.zrf
|
||||||
zx run qpq-gajumine
|
zx run qpq-gajumine
|
||||||
|
2
debian/install_scripts/install_wallet_apt
vendored
2
debian/install_scripts/install_wallet_apt
vendored
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# We actually only need
|
# We actually only need
|
||||||
# erlang-base erlang-tools erlang-dev erlang-eunit erlang-inets erlang-wx
|
# erlang-base erlang-tools erlang-dev erlang-eunit erlang-inets erlang-wx
|
||||||
# But erlang-wx gives 238 out of the 273 dependencies of a full erlang install.
|
# But erlang-wx gives 238 out of the 273 dependencies of a full erlang install.
|
||||||
@ -6,4 +7,5 @@ sudo apt -y install wget erlang --no-install-recommends
|
|||||||
|
|
||||||
wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx
|
wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx
|
||||||
export PATH=$PATH:$HOME/bin
|
export PATH=$PATH:$HOME/bin
|
||||||
|
|
||||||
zx run gajudesk
|
zx run gajudesk
|
||||||
|
1
debian/install_scripts/install_wallet_src
vendored
1
debian/install_scripts/install_wallet_src
vendored
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade
|
||||||
sudo apt -y install \
|
sudo apt -y install \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user