awsdjango

Run console commands

Log in to the server console as the bitnami user and run the command as usual. The required environment is automatically loaded for the bitnami user.

For example, you can run the following commands to check the versions of the components that are already installed:

$ php --version
PHP 5.5.25 (cli) (built: Jun  8 2015 12:31:52)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies


$ mysql --version
/opt/bitnami/mysql/bin/mysql.bin  Ver 14.14 Distrib 5.6.25, for linux-glibc2.5 (x86_64) using  EditLine wrapper


$ httpd -v
Server version: Apache/2.4.12 (Unix)
Server built:   Jun  8 2015 08:43:35
Last modification December 21, 2022