Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Copy and paste the following commands in your VPS. Make sure to paste them correctly and in order.
- sudo apt update
- sudo apt install apache2
- sudo ufw allow 'Apache'
- sudo ufw enable
- sudo systemctl status apache2
- sudo nano /etc/vsftpd.conf
- Now a text editor will open, make sure listen=NO
- CTRL + X to close
- sudo systemctl restart vsftpd
- sudo ufw allow 20/tcp
- sudo ufw allow 21/tcp
- sudo ufw allow 990/tcp
- sudo ufw allow 40000:50000/tcp
- sudo systemctl restart vsftpd
- sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem
- sudo systemctl restart vsftpd
- sudo adduser sammy
- sudo systemctl restart vsftpd
- sudo ufw allow 22/tcp
- sudo systemctl restart vsftpd
- sudo systemctl restart apache2
- sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
- sudo nano /etc/apache2/mods-enabled/dir.conf
- sudo systemctl restart apache2
- sudo systemctl status apache2
- apt install php7.2
- sudo systemctl restart apache2
- sudo service apache2 restart
- sudo service apache2 start
- journalctl -xe
- sudo service apache2 start
- sudo service apache2 restart
- sudo a2enmod rewrite
- sudo service apache2 restart
- sudo systemctl restart apache2
- sudo apt install php7.2-gd
- sudo systemctl restart apache2
- sudo apt install php7.2-MBString
- sudo apt install php7.2-pdo
- sudo apt install php7.2-mysql
- sudo systemctl restart apache
- sudo service apache2 restart
- sudo apt install php7.2-sqlite3
- sudo service apache2 restart
- sudo chown -R www-data:www-data /var/www/storage/cache
- sudo chown -R www-data:www-data /var/www/admin/storage/cache
- cd ../
- cd var
- cd www
- cd admin
- cd html
- sudo chown -R www-data:www-data admin/storage
- sudo chown -R www-data:www-data cache
- composer update
- apt install composer
- composer update
- sudo apt install php7.2-curl
- composer update
- apt-get install curl
- sudo apt-get install php7.2-curl
- sudo service apache2 restart
- composer update
- sudo service apache2 restart
- composer updatecd ../
- cd ../
- sudo chown -R www-data:www-data html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement