Guest User

the next big command updates system packages, removes unnece

a guest
Nov 13th, 2016
235
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cd /root; echo "deb http://ftp.us.debian.org/debian jessie-backports main" >> /etc/apt/sources.list; apt-get update; apt-get -y purge apache2 postfix; apt-get install -y openjdk-8-jre fail2ban mc nano wget; wget "https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.10.3.zip"; unzip nxt-client-1.10.3.zip; wget "https://www.dropbox.com/s/yktn0yvd5ttdwnb/nxt_db_peerexplorer.zip?dl=1" -O /root/nxt_db.zip; unzip nxt_db.zip; echo "@reboot cd /root/nxt; ./run.sh" >> /var/spool/cron/crontabs/root; chmod 600 /var/spool/cron/crontabs/root; chown root.crontab /var/spool/cron/crontabs/root; /etc/init.d/cron restart; cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local; sed -i '80s/banaction = iptables-multiport/banaction = iptables/g' /etc/fail2ban/jail.local; /etc/init.d/fail2ban restart;
RAW Paste Data