If you are not on a shared hosting package, you may not know the paths of certain binaries, apps, etc, such as Ffmpeg, PHP, FlvTool2, etc. In this article, I will tell you a way of knowing your binaries paths. You must have SSH access to your Linux (not Windows) server. You do not need root access.
Difficulty level: Medium (Easy if you have basic Linux terminal knowledge).
NOTE: In this tutorial, I will not cover how to establish a SSH connection (that is coming soon!)
1. Establish a SSH connection to your server.
+In this article, we will have as example the need of flvtool++’s path along with Ffmpeg’s. The command to find the path of anything is ‘which’.
2. To find flvtool++’s path, we will type:
3. To find Ffmpeg’s path, we will type:
+Remember foo is not equal to FOO. It IS case-sensitive. Just keep that in mind!
In my case, I do not have flvtool++ installed, so it will not output anything. It will look like this:
And that is all! You can find the path of anything with this command. Have fun with it, and please do not hesitate to contact me with comments, suggestions, problems, etc.
Have a nice day!
Owner of www.Juapo2Services.com