Guest User

Untitled

a guest
Aug 17th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. wget https://modx.com/download/direct?id=modx-2.6.5-pl.zip
  2.  
  3. unzip modx-2*
  4. cd modx-2*
  5. cp -R * /var/www/xxxx
  6. cp ht.access /var/www/xxxx/.htaccess
  7. cd /var/www/xxxx
  8. mkdir assets
  9. mkdir assets/components
  10. mkdir assets/files
  11. mkdir core/components
  12. touch core/config/config.inc.php
  13. chgrp -R www-data *
  14. chown -R www-data *
  15. chmod -R 750 *
  16. chmod -R 770 core/packages
  17. chmod -R 770 core/cache
  18. chmod -R 770 core/export
  19. chmod -R 770 core/components
  20. chmod 770 core/config/config.inc.php
  21. chmod -R 770 manager
  22. chmod -R 770 assets
  23. chmod -R 770 connectors
  24. cd ..
  25. chgrp -R www-data xxxx
  26. chmod 770 xxxx
  27.  
  28. http://xxxx.com/setup
  29.  
  30. cd /var/www/xxxx
  31. rm -r setup
  32.  
  33. cd core/config
  34. chmod 440 config.inc.php
Add Comment
Please, Sign In to add comment