Bitnami console

  • We have highlighted your search term environment for you. If you'd like to remove the search term, click here.

Bitnami Stack environment

The Bitnami console is a script to load the Stack environment. This console is useful to run any command included in the Stack, including mysql, php, openssl, ruby, rake and others. 

NOTE: If you are using Bitnami Cloud Hosting, a virtual machine or a cloud server, the Stack environment is loaded by default and the steps below are unnecessary.

linux_platform.png On Linux:

$ cd installdir
 $ ./use_application

For instance, in the Bitnami WordPress Stack:

$ cd /opt/wordpress-3.0
$ ./use_wordpress

win_platform.png On Windows:

There is a shortcut in Start -> BitNami Application Stack -> "Application console" or "Use Application Stack"

mac_platform.png On OS X:

Open a Terminal and type the following:

$ cd /Applications/application-version
$ ./use_application

For instance, in the Bitnami WordPress Stack:

$ cd /Applications/wordpress-3.0
$ ./use_wordpress
How to run a system command without the Stack environment?

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 usual the same libraries but different version are already installed in your system, f.e. 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, ou might see an error like the following:

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

or

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 a system command from a PHP application (f.e. "sendmail"):

sendmail_path = "env -i /usr/sbin/sendmail -t -i"

Comments

You must login to post a comment.

Attach file

Attachments