Advertisement
Guest User

maya setup script ubuntu

a guest
May 4th, 2013
1,799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.75 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. read -p "first of all you must unrar all the crack files in the script execution dir along with maya installation files and the modified (according to crack instructions) lic.dat [enter to contunue]"
  4.  
  5.  
  6. #ubuntu 13.04 setup script
  7.  
  8. sudo apt-get install libssl1.0.0 libcrypto++9 libxpm4 libxp6 libxmu6 libxi6 libxt6 libxext6 libstdc++6 libx11-6 libtiff5 libxinerama libfam0 libsm6 libice6 libxau6 libxcb1 libjpeg62 libffi6 liborc0.4.0 libnss3 libnspr4 alien csh tcsh lsb libmotif3
  9.  
  10. sudo ln -s /usr/lib/x86_64-linux-gnu/libssl3.so /usr/lib/libssl.so.10
  11. sudo ln -s /usr/lib/libcrypto++.so.9  /usr/lib/libcrypto.so.10
  12.  
  13. for i in `ls | grep .rpm`
  14.   do sudo alien -cdk $i
  15. done
  16.  
  17. sudo dpkg -i *.deb
  18.  
  19. sudo cp libadlmint.so.7.0.51 /usr/autodesk/matchmover2014-x64/libadlmint.so.7.0.51
  20. sudo cp libadlmint.so.7.0.51 /usr/autodesk/maya2014-x64/lib/libadlmint.so.7.0.51
  21.  
  22. sudo cp adskflex /opt/flexnetserver/adskflex
  23. sudo cp lic.dat /opt/flexnetserver/lic.dat
  24.  
  25. tcsh
  26. setenv LD_LIBRARY_PATH /opt/Autodesk/Adlm/R7/lib64
  27. sudo /usr/autodesk/maya2014-x64/bin/adlmreg -i S 657F1 657F1 2014.0.0.F 666-69696969 /var/opt/Autodesk/Adlm/Maya2014/MayaConfig.pit
  28. exit
  29.  
  30. sudo echo -e 'MAYA_LICENSE=657F1\nMAYA_LICENSE_METHOD=network' > /usr/autodesk/maya2014-x64/bin/License.env
  31. sudo echo -e 'SERVER 127.0.0.1 0\nUSE_SERVER' > /var/flexlm/maya.lic
  32.  
  33. sudo mkdir /usr/tmp
  34. sudo chmod -R 777 /usr/tmp
  35.  
  36. chmod +x /opt/flexnetserver/lmgrd
  37. /opt/flexnetserver/lmgrd -z -c /opt/flexnetserver/lic.dat&
  38.  
  39. read -p "thats it! the license server has alredy been started however you should add /opt/flexnetserver/lmgrd -z -c /opt/flexnetserver/lic.dat& to your startup applications init.d or whatever so it starts automatically after reboot, just type maya to start it [enter to contunue]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement