ASTPP (4.0)
installation
By Yevgeniya Suminova on 2021-03-10
Contents
1. VPS server Centos 7
2. To know how to point subdomain to an
IP
Video
instructions used: https://www.youtube.com/watch?v=fFIuCyEMEq4
1. Order /reinstall a VPS with Centos 7
operation system.
2. Enter via SSH to the server
ssh centos@51.79.54.205
3. Change to root user
sudo su
4. enter to the root directory
cd
5. type “ls”. This is what you must
see:
6. Check your OS version
cat /etc/redhat-release
7. Run following command:
sudo yum install epel-release
8. Confirm by “y”
9. Install wget. (Confirm with “y”)
yum install wget
10. Run the following:
wget https://raw.githubusercontent.com/iNextrix/ASTPP/v4.0.1/install.sh -O install.sh
11. Check it is downloaded
ls
12. Give permission to the file:
chmod +x install.sh
13. Proceed with installation
./install.sh
14. Process seems freezed at this point:
Just wait, it will continue in a while. Do not
type anything
15. You need to agree with the license.
Hit Enter until you reach 100%
16. Type “YES” and Enter
17. Enter domain
18. Enter email address. I took
contact@4z.com
19. It will take a while and will install
different packages: Mysql, then FreeSwitch and other packages and dependencies as
well
20. You will be asked to enter some
information like Country, email, etc… See the screenshot and do the same
21. You will be asked: Do you want to
install and configure Fail2ban ? (y/n) => Hit “y”
22. Fill fail2ban@4z.com for both client’s
and sender email addresses:
23. You will see the following:
24. Reboot your server:
systemctl reboot
25. Now we need to generate SSL
certificate. For that install certbot:
sudo yum install certbot-nginx
26. Generate the certificate for your
domain
sudo certbot --nginx -d astpp.4z.com
27. It will request you for the email
address. Use contact@4z.com
28. It will ask you the following;
29. Type “Y”
30. Type “N” for the next question:
31. You will see “Congratulations!” if
it is successful.
32. You are done with installation!
33. Now go to web interface https://astpp.4z.com
and change admin’s password
4z.com