Solution:
Login to every appserver by ssh
ssh tony@stapp01
ssh steve@stapp02
ssh banner@stapp03
Then login as root
sudo su
Install httpd and openssh in all appservers
yum install httpd -y
yum install openssh-clients
systemctl restart sshd
Copy mentioned folders in the question to every appserver from jump host
scp -r /home/thor/news tony@stapp01:/tmp
scp -r /home/thor/apps tony@stapp01:/tmp
scp -r /home/thor/news steve@stapp02:/tmp
scp -r /home/thor/apps steve@stapp02:/tmp
scp -r /home/thor/news banner@stapp03:/tmp
scp -r /home/thor/apps banner@stapp03:/tmp
Then from any appserver move the folders to server html folder
mv /tmp/news /var/www/html
mv /tmp/apps /var/www/html
Next change Listen port to 8080 and restart httpd in all appservers
vi /etc/httpd/conf/httpd.conf
systemctl start httpd
systemctl enable httpd
Check from jump host
curl http://stapp01:8080/news/
curl http://stapp01:8080/apps/
curl http://stapp02:8080/news/
curl http://stapp02:8080/apps/
curl http://stapp03:8080/news/
curl http://stapp03:8080/apps/
Joomla has proved popular with web designers and web developers. Joomla offers designers and web developers with distinct advantages over competitors and allows them to provide customers with a powerful web presence in a cost effective manner. Multilingual Web Design Services
ReplyDelete