The Bitnami Console is a script to load the Bitnami Stack environment. This console is useful to run any command included in the stack.
Bitnami stacks ship all the requirements and libraries necessary for deploying a Web application. All the binaries in the stack are linked to these libraries and version. It is common for the same libraries (but different versions) to be already installed in your system (eg. libjpeg.so or libpng.so).
When you run a system command that is not included in the stack, this binary might need to use the system library version instead of the stack library version. In this case, you might see an error like this:
Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /opt/local/lib/libJPEG.dylib
Can't load '/opt/bitnami/perl/lib/5.8.8/x86_64-linux/auto/File/Glob/Glob.so' for module File::Glob: /opt/bitnami/perl/lib/5.8.8/x86_64-linux/auto/File/Glob/Glob.so: undefined symbol: PL_sv_undef at /opt/bitnami/perl/lib/5.8.8/x86_64-linux/XSLoader.pm line 70.
In this case, run the command using env -i to first clear the environment. For example, to run the system sendmail command from a PHP application, use this:
sendmail_path = "env -i /usr/sbin/sendmail -t -i"
The Bitnami Console is a script to load the Bitnami stack environment. This console is useful to run any command included in the stack, including mysql, php, openssl, ruby, rake and others.
To run this script, execute the command below.
At the console:
$ cd installdir $ ./use_APPNAME
For instance, to run it in the Bitnami WordPress Stack on Linux:
$ cd /opt/wordpress-3.0 $ ./use_wordpress
Use the shortcut in the Start menu under "Start -> Bitnami APPNAME Stack -> Application console" or "Use APPNAME Stack".
Currently, only options for configuring the application URL are supported. The available options depend on the application.
The options are:
–appurl /: Move your application URL to / removing the prefix /APP-NAME from the URL. Only the / is accepted and reverting this change using the command line tool is not currently supported.
–machine_hostname NAME: Updates your application to use the specified machine hostname NAME (or specified IP address) if it depends on this value to work properly.