How to remove cache from facebook share api

Many time we are facing issue with updating content and image on our website on Facebook share window .Normally it will not show the new it will always show cached image and content. TO remove cached image and show latest data you can use below facebook link.click below link and pastes your website address and click on fetch new scrape button.It will show new fetch information their.

https://developers.facebook.com/tools/debug/og/object/

 

How to install FTP and add user SSH command

#sudo yum install vsftpd

Open up the FTP ports on your instance

Also add port range 1024-1048

 

# sudo vi /etc/vsftpd/vsftpd.conf
Disable 
anonymous_enable=YES to(NO)
 
Add this end of the file
 pasv_enable=YES
pasv_min_port=1024
pasv_max_port=1048
pasv_address=<Public IP of your instance> (****public ip address)
 
local_root=/var/www/html (path of ftp)
 
 
# sudo /etc/init.d/vsftpd restart (restart service)
 
# sudo adduser vinee
# sudo passwd vinee(Set password)
#sudo vi /etc/vsftpd/vsftpd.conf
chroot_local_user=YES(un command security issue restrict users)
# sudo /etc/init.d/vsftpd restart
# find /var/www/html -type d -exec chmod 777 {} \; (permission)
 
#sudo usermod -a -G www vine