Need a help in completing this task , i have installed httpd package and changed port from 80 to 8080 in httpd conf file. Now , i am stuck at 3 rd step how to proceed . Could you plz let me know what conf changes i have to do and in which files ?
create virtualhost conf file.
At the third step you need to deploy the files from thor:/home/thor/data and thor:/home/thor/ecommerce onto the shared directory at ststr01:/data and serve it via httpd. I used the scp command to copy the files.
Thanks for reply , could you please let me know from which server i have to copy files /home/thor/beta and ecommerce to storage server ststr01:./data ?
Put it in /var/www/html/ecommerce and /var/www/html/beta and write a virtualhost config file in conf.d of apache and locate this location in that file.
Hope this will give you an idea.
scp -r ecommerce/ natasha@ststor01:/var/www/html
to move complete folder to share storage
This worked for me:
On all App server,
yum install httpd -y
yum install openssh-clients
systemctl restart sshd
scp -r /home/thor/media tony@stapp01:/tmp
scp -r /home/thor/demo tony@stapp01:/tmp
scp -r /home/thor/media steve@stapp02:/tmp
scp -r /home/thor/demo steve@stapp02:/tmp
scp -r /home/thor/media banner@stapp03:/tmp
scp -r /home/thor/demo banner@stapp03:/tmp
from any one of appserver move the folder on the correct location
mv /tmp/media /var/www/html
mv /tmp/demo /var/www/html
Again from all APP server,
change the Listen 8080 at vi /etc/httpd/conf/httpd.conf
systemctl start httpd
systemctl enable httpd
Validate the solution from Jumphost,
Review option is available now. You can try there. Community members will help you.