Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

unable to run the command...(cat ~/.profile) in Indexing and Searching text within images with Apache Solr

avatar
New Contributor

I have downloaded leptonica and tesseract from the link given as in the tutorial " Indexing and Searching text within images with Apache Solr"

(" http://hortonworks.com/hadoop-tutorial/indexing-and-searching-text-within-images-with-apache-solr/ ")

but when i am running cat ~/.profile it shows an error ... file or path not found.

Please help me to resolve the issue.

3017-virtualbox-hortonworks-sandbox-with-hdp-24-28-03-2.png

1 ACCEPTED SOLUTION

avatar
Super Collaborator

I see you are logged in as root. If you run the ls -la command in your home directory, you should see at least a .bash_profile. You can add the exports in that file. Or you can create a .profile in your home directory.

View solution in original post

1 REPLY 1

avatar
Super Collaborator

I see you are logged in as root. If you run the ls -la command in your home directory, you should see at least a .bash_profile. You can add the exports in that file. Or you can create a .profile in your home directory.