Advertisement
Markety

Markety Installation Commands

Jan 26th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  Copy and paste the following commands in your VPS. Make sure to paste them correctly and in order.
  2.  
  3. sudo apt update
  4. sudo apt install apache2
  5. sudo ufw allow 'Apache'
  6. sudo ufw enable
  7. sudo systemctl status apache2
  8. sudo nano /etc/vsftpd.conf
  9.  
  10.  Now a text editor will open, make sure listen=NO
  11.  CTRL + X to close
  12.  
  13. sudo systemctl restart vsftpd
  14. sudo ufw allow 20/tcp
  15. sudo ufw allow 21/tcp
  16. sudo ufw allow 990/tcp
  17. sudo ufw allow 40000:50000/tcp
  18. sudo systemctl restart vsftpd
  19. sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem
  20. sudo systemctl restart vsftpd
  21. sudo adduser sammy
  22. sudo systemctl restart vsftpd
  23. sudo ufw allow 22/tcp
  24. sudo systemctl restart vsftpd
  25. sudo systemctl restart apache2
  26. sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
  27. sudo nano /etc/apache2/mods-enabled/dir.conf
  28. sudo systemctl restart apache2
  29. sudo systemctl status apache2
  30. apt install php7.2
  31. sudo systemctl restart apache2
  32. sudo service apache2 restart
  33. sudo service apache2 start
  34. journalctl -xe
  35. sudo service apache2 start
  36. sudo service apache2 restart
  37. sudo a2enmod rewrite
  38. sudo service apache2 restart
  39. sudo systemctl restart apache2
  40. sudo apt install php7.2-gd
  41. sudo systemctl restart apache2
  42. sudo apt install php7.2-MBString
  43. sudo apt install php7.2-pdo
  44. sudo apt install php7.2-mysql
  45. sudo systemctl restart apache
  46. sudo service apache2 restart
  47. sudo apt install php7.2-sqlite3
  48. sudo service apache2 restart
  49. sudo chown -R www-data:www-data /var/www/storage/cache
  50. sudo chown -R www-data:www-data /var/www/admin/storage/cache
  51. cd ../
  52. cd var
  53. cd www
  54. cd admin
  55. cd html
  56. sudo chown -R www-data:www-data admin/storage
  57. sudo chown -R www-data:www-data cache
  58. composer update
  59. apt install composer
  60. composer update
  61. sudo apt install php7.2-curl
  62. composer update
  63. apt-get install curl
  64. sudo apt-get install php7.2-curl
  65. sudo service apache2 restart
  66. composer update
  67. sudo service apache2 restart
  68. composer updatecd ../
  69. cd ../
  70. sudo chown -R www-data:www-data html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement