Advertisement
Guest User

Untitled

a guest
Apr 1st, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. Files needed :
  2. 1-Apache24
  3. 2-Rails
  4. 3-Ruby
  5. 4-mysql
  6. 5-Redmine
  7.  
  8.  
  9. ***
  10. 1-Apahce24
  11. ***
  12. Run Apache24 installer into C:\ directory.
  13. Apache24 service should start automaticly ... For test go into browser and enter : localhost.(it Works!)
  14.  
  15. ***
  16. 2-Rails
  17. ***
  18. Run RailsInstaller.exe into C:\ directory.
  19.  
  20. ***
  21. 3-Ruby
  22. ***
  23. Run Ruby.exe installer into C:\ diretory.
  24.  
  25. ***
  26. 4-mysql
  27. ***
  28. Install msql5.0 - 5.5
  29. Then create this query in SQL editor.
  30. CREATE DATABASE redmine CHARACTER SET utf8;
  31. CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';
  32. GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';
  33.  
  34. ***
  35. 5-Redmine
  36. ***
  37. copy Redmine files/folders into Apache24\htdocs directory.
  38. Add the following text into Apahce24\conf httpd.conf
  39.  
  40. <IfModule !mod_proxy.c>
  41. LoadModule proxy_module modules/mod_proxy.so
  42. </IfModule>
  43. <IfModule !mod_proxy_http.c>
  44. LoadModule proxy_http_module modules/mod_proxy_http.so
  45. </IfModule>
  46. <IfModule !mod_proxy_balancer.c>
  47. LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  48. </IfModule>
  49.  
  50. ProxyPass / balancer://redmine_cluster
  51. ProxyPassReverse / balancer://redmine_cluster
  52.  
  53. <Proxy balancer://redmine_cluster>
  54. BalancerMember http://127.0.0.1:3000
  55. </Proxy>
  56. LoadModule setenvif_module modules/mod_setenvif.so
  57. LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
  58.  
  59. Go to Apach24\htdocs\conf
  60. Rename database.yml.example to database.yml
  61. OverWrite with this text
  62.  
  63. production:
  64. adapter: mysql2
  65. database: redmine
  66. host: localhost
  67. username: redmine
  68. password: my_password
  69. encoding: utf8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement