Pages

Thursday, March 28, 2019

How to install TAO on any remote web server

How to install TAO on any server?
https://forum.taotesting.com/discussion/469/i-want-to-install-tao-on-a-web-server-how-to-do-that



  1. go to https://www.taotesting.com/get-tao/official-tao-packages/ and download the latest 
  2. click and download the zip file
  3. unzip it 
  4. open an FTP program to upload the files inside this folder into another folder in your web server, let say you create a folder called tao
  5. connect to your web server via an FTP program such as FileZilla
  6. visit the URL http://iwant2study.org/tao/ to start the setup process or your own server location whether you have uploaded the tao package installation. The server should be already using Apache and PHP.
  7. in the unlikely event there is an error such as this kind https://forum.taotesting.com/discussion/619/edit-admin-removed-url#latest 

  8. the trick to solve this is to change the path to /tmp where previously it was not readable
  9. i recommend getting MathJax here https://hub.taotesting.com/articles/third-party-tools-and-libraries/enable-math-expression-in-items An already shrunk Mathjax archive is available here.
  10. download and save it on your desktop for example
  11. login to cpanel and use file manager to navigate to {YOUR_TAO_ROOT}/taoQtiItem/views/js/mathjax 
  12. unzip the file mathjax-shrunk.zip 
  13. it will expand the content in the file zip as shown.
  14. go back to check, click the re-check button, the warning should be gone now 


  15. after the folder checks the suitability of the web server, click Next for Server Setup, use your own credentials

  16. TAO 3.2
  17. step 3 Database setup, make sure to use database account say iwtstudy_tao, database user say iwtstudy_tao and database hostname must be localhost, the password is a bit tricky as I think I went on my cpanel - to create the database name and database user and give all rights to this user to the database.
  18. Tao 3.3 screen 
    extra path to the directory where TAO will store files in TAO3.3
  19. goto your cpanel  MySQL® Databases
  20. in MySQL® Database create a database name iwtstudy_tao 
  21. in the middle, create user iwtstudy_tao, giving it a very strong password, which needs to be used in the setup in step 3
  22. add this user to this database 
  23. give this database to this user all rights
  24. going back to step 3, click next
  25. step 4 add in your name email and username for the tao installation for later use as super admin
  26. step 5 read and agree and click next
  27. step 6 click install
  28. if successful, go to your installation and start exploring http://iwant2study.org/tao/
  29. if not successful, it is probably due to some settings like the password for database user is wrong
  30.  or post on the tao forum for more help.
  31. https://forum.taotesting.com/discussion/469/i-want-to-install-tao-on-a-web-server-how-to-do-that#latest enjoy!

3 comments: