AMI snapshot will not have locate command by default. Install them on your own.
[root@ip-10-194-11-42 ec2-user]# yum install mlocate
[root@ip-10-194-11-42 ec2-user]# updatedb
Here we go;
[root@ip-10-194-11-42 ec2-user]# locate httpd.conf
/etc/httpd/conf/httpd.conf
/etc/lighttpd/lighttpd.conf
/usr/share/doc/lighttpd-1.4.28/lighttpd.conf
[root@ip-10-194-11-42 ec2-user]# yum install mlocate
[root@ip-10-194-11-42 ec2-user]# updatedb
Here we go;
[root@ip-10-194-11-42 ec2-user]# locate httpd.conf
/etc/httpd/conf/httpd.conf
/etc/lighttpd/lighttpd.conf
/usr/share/doc/lighttpd-1.4.28/lighttpd.conf
Thanks ! It works !!
ReplyDeleteWhat a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much.
ReplyDeleteAmazon
Very Nice, this is the best information about server hosting. It may useful for anyone. Similar Germany VPS Server give the complete information related Hosting Services.
ReplyDeleteVery nice post about Server setup and configuration. You may also more information about server setup then visit my link USA Dedicated Server.
ReplyDeleteI love this blog! It is very useful for everyone. You wrting skill very creative. Moreover I you to know more about VPS Server hosting, I can help you. As it for click my link India VPS Server. Thank for You
ReplyDelete