- #/bin/sh
- apt-get -y update
- sleep 2
- apt-get -y upgrade
- sleep 2
- apt-get install -y openssh-server
- sleep 2
- apt-get install -y git
- sleep 2
- apt-get install -y libssl-dev
- sleep 2
- apt-get install -y libcurl4-openssl-dev
- sleep 2
- apt-get install -y automake
- sleep 2
- apt-get install -y g++ 5.4
- sleep 2
- apt-get install -y build-essential
- sleep 2
- apt-get install -y autoconf
- sleep 2
- apt-get install -y libtool
- sleep 2
- apt-get install -y libjansson-dev
- sleep 2
- apt-get install -y libcurl4-gnutls-dev
- sleep 2
- apt-get install -y libncurses5-dev
- sleep 2
- apt-get install -y libudev-dev
- sleep 2
- apt-get install -y libusb-1.0-0-dev
- sleep 2
- apt-get install -y uthash-dev
- sleep 2
- apt-get install -y libgcrypt20-dev
- sleep 2
- apt-get install -y autoconf
- sleep 2
- apt-get install -y automake
- sleep 2
- apt-get install -y pkg-config
- sleep 2
- apt-get install -y libncursesw5-dev
- sleep 2
- apt-get install -y libevent-dev
- sleep 2
- apt-get install -y libmicrohttpd-dev
- sleep 2
- apt-get install -y libhidapi-dev
- sleep 2
- apt-get install -y libevent-dev
- sleep 2
- apt-get install -y libi2c-dev
- sleep 2
- apt-get install -y yasm
- sleep 2
- apt-get install -y libevent-dev
- sleep 2
- apt-get install -y software-properties-common
- sleep 2
- add-apt-repository -y ppa:bitcoin/bitcoin
- sleep 2
- apt -y update
- sleep 2
- apt -y upgrade
- sleep 2
- apt -y autoremove
- sleep 2
- #installazione apache2
- apt-get install -y apache2
- sleep 2
- systemctl start apache2.service
- #installazione PHP su apache2
- sleep 2
- apt-get install -y php
- sleep 2
- apt-get install -y php-{bcmath,bz2,intl,gd,mbstring,mcrypt,mysql,zip} && apt-get install libapache2-mod-php -y
- sleep 2
- #attivazione apache al boot
- systemctl enable apache2.service
- sleep 2
- systemctl enable mysql.service
- sleep 2
- #restart apache
- sleep 2
- systemctl restart apache2.service
- sleep 2
- #installazione minera
- apt-get install -y redis-server git screen php7.0-cli php7.0-curl
- sleep 2
- cd /var/www
- sleep 2
- git clone https://github.com/getminera/minera
- sleep 2
- cd minera
- sleep 2
- ./install_minera.sh
- #fine
[text] erfgtwer
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: