Install operating system in VPS control panel
Login with putty
root / user / server ip – Change the password if prompted
Type nano /etc/yum.repos.d/mariadb.repo on command line.
If nano command not found use the following code –
sudo yum install -y nano
Copy and paste the following –
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Use ctrl+O to Save.
Elastic Search Install
— yum -y install java-1.8.0-openjdk
— wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.1-x86_64.rpm (Use sudo yum install wget if wget command not found)
— wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.1-x86_64.rpm.sha512
— yum install perl-Digest-SHA -y
— shasum -a 512 -c elasticsearch-7.9.1-x86_64.rpm.sha512
— yum install sudo
— sudo rpm –install elasticsearch-7.9.1-x86_64.rpm
— sudo chkconfig –add elasticsearch
— sudo -i service elasticsearch start
— sudo -i service elasticsearch stop
Restart server startup run elastic search on vps
— sudo /bin/systemctl daemon-reload
— sudo /bin/systemctl enable elasticsearch.service
— sudo reboot
Check elastic search runs or not
curl -XGET ‘localhost:9200/_cat/health?v&pretty’
Plesk install
Go to https://get.plesk.com and follow their direction. When Installation Completed notification shows up don’t forget to copy the admin url.
Install PHP on Plesk
Tools > Update > add remove > web host > php > install php 7.3 7.2