### Start All Bitnami Services Source: https://docs.bitnami.com/vmware-marketplace/how-to/understand-bncert Command to start all Bitnami services using the control script. This is the final step after resetting certificates and modifying configurations, ensuring all services are running. ```bash sudo /opt/bitnami/ctlscript.sh start ``` -------------------------------- ### Start Bitnami Apache Service (Bash) Source: https://docs.bitnami.com/vmware-marketplace/how-to/migrate-moodle This command starts the Apache web server component of the Bitnami stack. It's used after migration steps are completed to make the Moodle site accessible again. ```bash sudo /opt/bitnami/ctlscript.sh start apache ``` -------------------------------- ### Start Minikube Kubernetes Cluster Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Initializes and starts a single-node Kubernetes cluster using Minikube on your local machine. This command sets up the necessary virtual machine and Kubernetes components. ```shell minikube start ``` -------------------------------- ### Run Bitnami HTTPS Configuration Tool Source: https://docs.bitnami.com/vmware-marketplace/how-to/understand-bncert Executes the Bitnami HTTPS Configuration Tool to manage SSL certificates, including generation, renewal, and redirection setup. This command assumes the tool has been installed and is accessible. ```bash sudo /opt/bitnami/bncert-tool ``` -------------------------------- ### Download and Install Bitnami HTTPS Configuration Tool Source: https://docs.bitnami.com/vmware-marketplace/how-to/understand-bncert This snippet downloads the Bitnami HTTPS Configuration Tool, moves it to the correct directory, makes it executable, and creates a symbolic link for easy access. It is intended for 64-bit Linux operating systems. ```bash wget -O bncert-linux-x64.run https://downloads.bitnami.com/files/bncert/latest/bncert-linux-x64.run sudo mkdir /opt/bitnami/bncert sudo mv bncert-linux-x64.run /opt/bitnami/bncert/ sudo chmod +x /opt/bitnami/bncert/bncert-linux-x64.run sudo ln -s /opt/bitnami/bncert/bncert-linux-x64.run /opt/bitnami/bncert-tool ``` -------------------------------- ### Start memcached Server (Bash) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Starts the memcached server using Bitnami's control script. It first enables the control script and then uses the ctlscript.sh to start the memcached service. ```bash mv /opt/bitnami/memcached/scripts/ctl.sh.disabled /opt/bitnami/memcached/scripts/ctl.sh sudo /opt/bitnami/ctlscript.sh start memcached ``` -------------------------------- ### Install and Start memcached (apt-get & init.d) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs the memcached server package using apt-get and starts the service using the init.d script. This is a fallback for Bitnami stacks that do not bundle the memcached server. It also restarts the Apache web server. ```bash sudo apt-get install memcached sudo /etc/init.d/memcached start sudo /opt/bitnami/ctlscript.sh restart apache ``` -------------------------------- ### Install Ruby and Redis Gem Source: https://docs.bitnami.com/aws/apps/appsmith/administration/create-cluster Installs Ruby and the Redis gem, which are prerequisites for manually creating a Redis cluster. This command is executed on a Debian-based system. ```bash sudo apt-get install ruby sudo gem install redis ``` -------------------------------- ### Access Kubernetes Dashboard with kubectl Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Starts a proxy server to access the Kubernetes Dashboard from your local machine. This command makes the Web UI available at `localhost:8001/ui` for cluster management. ```bash kubectl proxy ``` -------------------------------- ### Start Redis Server Node Source: https://docs.bitnami.com/aws/apps/appsmith/administration/create-cluster Starts a Redis server instance for a specific node, listening on the normal client port and the cluster-bus port. This command is executed within each PORT-x directory. ```bash cd PORT-x ../redis-server ./PORT-x.conf ``` -------------------------------- ### Compile and Install PDO_IBM Module for PHP Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php These commands guide the compilation and installation of the PDO_IBM PHP module. It involves downloading the source, configuring it, and then building and installing the extension. ```bash wget https://pecl.php.net/get/PDO_IBM-1.3.6.tgz tar xzf PDO_IBM-1.3.6.tgz cd PDO_IBM-1.3.6 phpize ./configure make sudo make install ``` -------------------------------- ### Compile and Install OCI8 Module for PHP Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php This set of commands compiles and installs the OCI8 PHP module. It requires downloading the module source, configuring it with InstantClient path, and then building and installing it. Ensure InstantClient is installed and paths are correct. ```bash cd /tmp wget https://pecl.php.net/get/oci8-2.2.0.tgz tar xzf oci8-2.2.0.tgz cd oci8-2.2.0 phpize ./configure --with-oci8=instantclient,/home/bitnami/instantclient_19_6 make sudo make install ``` -------------------------------- ### Control Redis Cluster using create-cluster Source: https://docs.bitnami.com/aws/apps/appsmith/administration/create-cluster Provides commands to manage a Redis cluster automatically created by the 'create-cluster' utility, including starting, creating, stopping, and cleaning up the cluster. ```bash ./create-cluster start ./create-cluster create ./create-cluster stop ./create-cluster clean ``` -------------------------------- ### Compile and Install OCI8 PHP Extension Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Compiles and installs the OCI8 PHP extension from source, linking against Oracle InstantClient. Requires InstantClient Basic and SDK to be pre-installed. ```bash cd /tmp wget https://pecl.php.net/get/oci8-2.2.0.tgz tar xzf oci8-2.2.0.tgz cd oci8-2.2.0 phpize ./configure --with-oci8=instantclient,/home/bitnami/instantclient_19_6 make sudo make install ``` -------------------------------- ### Navigate Plugins Directory and Get Plugin File (Shell) Source: https://docs.bitnami.com/vmware-marketplace/apps/redmine/configuration/install-plugins Moves into the 'plugins' subdirectory within the Redmine installation and prepares to download or clone a plugin. Assumes the user is in the Redmine installation directory. ```shell cd plugins ``` -------------------------------- ### Execute PHP Script for ZipArchive Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Command to execute a PHP script, specifically 'sample.php', using the PHP interpreter provided by Bitnami. This is used in conjunction with the ZipArchive example script to process zip files. ```bash /opt/bitnami/php/bin/php sample.php ``` -------------------------------- ### Enable and Start Varnish Service (Bash) Source: https://docs.bitnami.com/general/apps/wordpress/administration/configure-use-varnish Enables the Varnish service to start automatically on boot and then starts the service. This is a prerequisite for using Varnish. ```bash sudo systemctl enable bitnami.varnish sudo systemctl start bitnami.varnish ``` -------------------------------- ### Install WordPress Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-eks Installs the Bitnami WordPress Helm chart from a Docker registry. Ensure Helm is installed before running this command. This command initiates the deployment of WordPress and its dependencies. ```bash helm install wordpress oci://registry-1.docker.io/bitnamicharts/wordpress ``` -------------------------------- ### Install Minikube CLI (Linux/macOS) Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Downloads and installs the Minikube command-line tool for Linux or macOS. It fetches the latest release, makes it executable, and places it in a directory included in the system's PATH. Ensure you replace OS_DISTRIBUTION with 'linux' or 'darwin'. ```shell curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-OS_DISTRIBUTION-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ ``` -------------------------------- ### Install kubectl CLI (Linux/macOS) Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Downloads and installs the kubectl command-line tool for interacting with Kubernetes clusters. It fetches the stable release, makes it executable, and places it in the system's PATH. Replace OS_DISTRIBUTION with the appropriate value for your OS (e.g., 'linux', 'darwin'). ```shell curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/OS_DISTRIBUTION/amd64/kubectl chmod +x ./kubectl sudo mv ./kubectl /usr/local/bin/kubectl ``` -------------------------------- ### Install WordPress using Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Installs WordPress on Minikube using Helm. This command specifies the MariaDB image and sets `serviceType=NodePort` for Minikube compatibility, allowing access to the WordPress deployment. ```bash helm install wordpress oci://registry-1.docker.io/bitnamicharts/wordpress --set mariadb.image=bitnami/mariadb:10.1.21-r0 --set serviceType=NodePort ``` -------------------------------- ### Install Helm v3 CLI Source: https://docs.bitnami.com/kubernetes/get-started-gke Installs Helm v3 by downloading and executing an installation script. This script fetches the latest version of Helm and makes it available for managing Kubernetes applications. An alternative installation method using Homebrew for OS X is also mentioned. ```bash curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get-helm-3 > get_helm.sh chmod 700 get_helm.sh ./get_helm.sh ``` -------------------------------- ### Configure Automatic Redis Cluster Source: https://docs.bitnami.com/aws/apps/appsmith/administration/create-cluster Creates a configuration script for the 'create-cluster' utility to define cluster parameters such as the starting port, timeout, number of nodes, and replicas. ```bash PORT=STARTING-PORT-NUMBER TIMEOUT=2000 NODES=6 REPLICAS=1 ``` -------------------------------- ### Create Redis Cluster Directory Structure Source: https://docs.bitnami.com/aws/apps/appsmith/administration/create-cluster Sets up the necessary directory structure for a Redis cluster, creating a main directory and subdirectories for each node (port). ```bash mkdir -p my-cluster cd my-cluster mkdir PORT-1 PORT-2 PORT-3 PORT-4 PORT-5 PORT-6 ``` -------------------------------- ### Compile and Install OAuth PHP Extension Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Downloads, compiles, and installs the OAuth PHP extension from source. This process involves fetching the tarball, configuring, compiling, and installing the module. ```bash wget http://pecl.php.net/get/oauth-2.0.5.tgz tar xzf oauth* cd oauth-* phpize ./configure make sudo make install ``` -------------------------------- ### Install kubectl CLI Source: https://docs.bitnami.com/kubernetes/get-started-gke Installs the Kubernetes command-line tool (kubectl) by downloading the binary, making it executable, and moving it to the system's PATH. Requires specifying the OS distribution. Includes commands to verify installation and cluster status. ```bash curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/OS_DISTRIBUTION/amd64/kubectl chmod +x ./kubectl sudo mv ./kubectl /usr/local/bin/kubectl kubectl cluster-info kubectl get nodes kubectl describe node ``` -------------------------------- ### Describe Kubernetes Node Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Provides detailed information about each node in the Kubernetes cluster, including its status, capacity, and conditions. ```shell kubectl describe node ``` -------------------------------- ### Verify kubectl Installation Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Checks if the kubectl command-line tool is correctly installed and configured to communicate with the Kubernetes cluster. It displays information about the cluster's services. ```shell kubectl cluster-info ``` -------------------------------- ### Compile and Install Phpredis Module for PHP Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php This sequence compiles and installs the phpredis extension. It involves downloading the source, preparing it with phpize, configuring, building, and installing the module. ```bash wget https://pecl.php.net/get/redis-VERSION.tgz tar xzf redis-VERSION.tgz cd redis-VERSION phpize ./configure make sudo make install ``` -------------------------------- ### Compile and Install Redis PHP Extension Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Downloads, compiles, and installs the phpredis extension from source. Replace VERSION with the specific version number. ```bash wget https://pecl.php.net/get/redis-VERSION.tgz tar xzf redis-VERSION.tgz cd redis-VERSION phpize ./configure make sudo make install ``` -------------------------------- ### Install Helm v3 on Kubernetes Cluster Source: https://docs.bitnami.com/kubernetes/get-started-eks This snippet provides the commands to download and install Helm v3 on a Kubernetes cluster. It uses curl to fetch a script, makes it executable, and then runs the script. A tip is included for macOS users to install Helm via Homebrew. ```bash curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get-helm-3 > get_helm.sh chmod 700 get_helm.sh ./get_helm.sh ``` -------------------------------- ### Install Redis using Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Deploys the Redis application on a Kubernetes cluster using a Helm chart. This command fetches the chart from a Docker registry and installs it. For Minikube, `serviceType=NodePort` is recommended. ```bash helm install redis oci://registry-1.docker.io/bitnamicharts/redis ``` ```bash helm install redis oci://registry-1.docker.io/bitnamicharts/redis --set serviceType=NodePort ``` -------------------------------- ### Execute SQL Commands in MariaDB Source: https://docs.bitnami.com/kubernetes/get-started-tmc Example SQL commands to verify the functionality of the deployed MariaDB instance, including creating a database, a table, inserting data, and selecting data. ```sql USE my_database; CREATE TABLE accounts (id INT NOT NULL, username VARCHAR(255) NOT NULL); INSERT INTO accounts VALUES (1, 'james'), (2, 'john'); SELECT * FROM accounts; exit ``` -------------------------------- ### Download and Unzip BigBlueButtonBn and RecordingsBn Plugins Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-plugins-bigblue-recording This snippet downloads the latest versions of the BigBlueButtonBn and RecordingsBn plugins using wget and then unzips them. Ensure you have wget and unzip installed. The output will be extracted plugin folders. ```shell wget https://https://moodle.org/plugins/pluginversions.php?plugin=mod_bigbluebuttonbn/mod_bigbluebuttonbn_moodle31_2016051905.zip unzip mod_bigbluebuttonbn_moodle31_2016051905.zip wget https://https://moodle.org/plugins/pluginversions.php?plugin=mod_recordingsbn/mod_recordingsbn_moodle31_2016051904.zip unzip mod_recordingsbn_moodle31_2016051904.zip ``` -------------------------------- ### Install MongoDB using Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Installs the MongoDB application on Minikube using a Helm chart. The `--set serviceType=NodePort` flag is used to ensure compatibility with Minikube's limitations. ```bash helm install mongodb oci://registry-1.docker.io/bitnamicharts/mongodb --set serviceType=NodePort ``` -------------------------------- ### Check OAuth Extension Loaded (Bash) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Verifies if the OAuth PHP extension is loaded and available. It executes `php -i` to get PHP configuration details and uses `grep` to filter for 'oauth'. ```bash php -i | grep -i oauth ``` -------------------------------- ### Install PEAR Mail and Net_SMTP Modules for PHP Email Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/troubleshooting/send-mail Installs the necessary PEAR Mail and Net_SMTP modules required for sending emails via an external SMTP server in PHP. This is a prerequisite for the PHP email script example. ```bash sudo /opt/bitnami/php/bin/pear install pear/Net_SMTP pear/Mail-1.4.1 ``` -------------------------------- ### Install MongoDB PECL Extension (Shell) Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs the MongoDB PECL extension using the 'pecl install mongodb' command. This command automatically builds and installs the extension. It notes that the php.ini location might need manual configuration. ```shell sudo pecl install mongodb ``` -------------------------------- ### Compile and Install PDO_IBM PHP Extension Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Downloads, compiles, and installs the PDO_IBM PHP extension from source. Requires the IBM Data Server Driver Package to be installed separately. ```bash wget https://pecl.php.net/get/PDO_IBM-1.3.6.tgz tar xzf PDO_IBM-1.3.6.tgz cd PDO_IBM-1.3.6 phpize ./configure make sudo make install ``` -------------------------------- ### Install Redmine Plugin with Bundler (Shell) Source: https://docs.bitnami.com/vmware-marketplace/apps/redmine/configuration/install-plugins Installs the plugin using Bundler, a Ruby dependency management tool. It navigates back to the Redmine root directory, installs gems, and then runs the Redmine plugin installation rake task. Requires 'bundle install' and 'bundle exec rake' commands. ```shell cd - bundle install bundle exec rake redmine:plugins NAME=PLUGIN_NAME RAILS_ENV=production ``` -------------------------------- ### Navigate to Plugins Directory and Unzip Agile Plugin Source: https://docs.bitnami.com/vmware-marketplace/apps/redmine/configuration/install-plugin-agile This snippet first navigates to the Redmine plugins directory and then unzips the Agile plugin archive. It requires the `unzip` utility and assumes the plugin zip file is present. Replace `VERSION-EDITION` with actual version and edition details. It prepares the plugin files for installation. ```bash cd plugins unzip redmine_agile_VERSION-EDITION.zip ``` -------------------------------- ### Create Redis Cluster using redis-trib.rb Source: https://docs.bitnami.com/aws/apps/appsmith/administration/create-cluster Initializes and creates a Redis cluster using the redis-trib.rb script. It specifies the number of replicas per primary node and lists the IP addresses and ports of the nodes. ```bash ./redis-trib.rb create --replicas 1 127.0.0.1:PORT1 127.0.0.1:PORT-2 127.0.0.1:PORT-3 127.0.0.1:PORT-4 127.0.0.1:PORT-5 127.0.0.1:PORT-6 ``` -------------------------------- ### Install OAuth PECL Extension (Bash) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs the OAuth PECL extension. This process involves downloading the source, extracting it, configuring the build using phpize and ./configure, compiling with make, and finally installing the compiled module. It requires development tools and libraries. ```bash wget http://pecl.php.net/get/oauth-2.0.5.tgz tar xzf oauth* cd oauth-* phpize ./configure make sudo make install ``` -------------------------------- ### Install MongoDB PECL Extension (Bash) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs the MongoDB PECL extension using the `pecl install` command. This command downloads and compiles the latest stable version of the MongoDB driver for PHP. It indicates the installation path and prompts to add the extension to php.ini. ```bash sudo pecl install mongodb ``` -------------------------------- ### Install OAuth PHP Extension Dependencies Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs necessary system packages required to compile and install the OAuth PHP extension. This includes build tools, development libraries for PCRE and cURL. ```bash sudo apt-get update sudo apt-get install build-essential libtool autoconf unzip wget libpcre++-dev libcurl4-gnutls-dev ``` -------------------------------- ### Install Prerequisites for APCu Module Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs essential development packages required for compiling PHP modules like APCu from source. Includes updating the package list and installing build tools, libraries, and utilities. ```shell sudo apt-get update sudo apt-get install build-essential libtool autoconf unzip wget ``` -------------------------------- ### Compile and Install Solr Module for PHP Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php This process compiles the Solr PHP extension from source. It involves downloading the module, preparing it with phpize, configuring with the --enable-solr flag, building, and installing. ```bash wget http://pecl.php.net/get/solr-VERSION.tgz tar xzf solr-VERSION.tgz cd solr-VERSION phpize ./configure --enable-solr make sudo make install ``` -------------------------------- ### Install Autoconf for Phpredis Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php This command installs the 'autoconf' package, which is a prerequisite for compiling the phpredis extension from source. ```bash sudo apt-get update sudo apt-get install -y autoconf ``` -------------------------------- ### Download MySQLTuner Script with Wget Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/troubleshooting/install-mysqltuner This command downloads the `mysqltuner.pl` script from its GitHub repository using `wget`. This script is used for monitoring MySQL servers. It requires `wget` to be installed on the system. The output is the `mysqltuner.pl` file in the current directory. ```bash wget https://raw.github.com/rackerhacker/MySQLTuner-perl/master/mysqltuner.pl ``` -------------------------------- ### Verify OAuth PHP Extension Installation Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Checks if the OAuth PHP extension has been successfully loaded and is available. ```bash php -i | grep -i oauth ``` -------------------------------- ### Install MSSQL Drivers and Tools (Ubuntu) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs the Microsoft ODBC drivers for SQL Server, command-line utilities, and development headers on Ubuntu. It also installs the PHP SQLSRV and PDO_SQLSRV extensions using PECL. ```shell sudo apt-get update sudo ACCEPT_EULA=Y apt-get install -y msodbcsql mssql-tools unixodbc-dev sudo pecl install sqlsrv sudo pecl install pdo_sqlsrv ``` -------------------------------- ### Install and Migrate Redmine Agile Database Source: https://docs.bitnami.com/vmware-marketplace/apps/redmine/configuration/install-plugin-agile Executes database installation and migration tasks for the Redmine Agile plugin using the `bundle exec rake` command. It specifies the production environment and optionally targets the specific 'redmine_agile' plugin. This integrates the plugin with the Redmine database schema. ```bash bundle exec rake redmine:plugins RAILS_ENV=production bundle exec rake redmine:plugins NAME=redmine_agile RAILS_ENV=production ``` -------------------------------- ### Revoke SSL Certificate with Lego Source: https://docs.bitnami.com/vmware-marketplace/how-to/understand-bncert This command uses the Lego ACME client to revoke an existing SSL certificate. It requires the email address and domain associated with the certificate, and assumes the Lego client is installed at /opt/bitnami/letsencrypt. ```bash sudo /opt/bitnami/letsencrypt/lego --path /opt/bitnami/letsencrypt --tls --email=EMAIL --domains=DOMAIN revoke ``` -------------------------------- ### Install MSSQL Drivers and Tools (Debian) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs the Microsoft ODBC drivers for SQL Server, command-line utilities, and development headers on Debian. It also installs the PHP SQLSRV and PDO_SQLSRV extensions using PECL. ```shell sudo apt-get update sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools unixodbc-dev sudo pecl install sqlsrv sudo pecl install pdo_sqlsrv ``` -------------------------------- ### Install Solr PHP Extension Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs the Apache Solr PHP extension by compiling it from source. This process involves installing system dependencies, downloading the source code, compiling the module using phpize, and enabling it in the php.ini file. Ensure you replace 'VERSION' with the actual version number. ```bash sudo apt-get update sudo apt-get install build-essential libtool autoconf unzip wget libcurl4-openssl-dev libxml2-dev sudo ln -s /usr/include/x86_64-linux-gnu/curl /usr/include/curl wget http://pecl.php.net/get/solr-VERSION.tgz tar xzf solr-VERSION.tgz cd solr-VERSION phpize ./configure --enable-solr make sudo make install ``` ```ini extension=solr.so ``` -------------------------------- ### List Installed PHP Modules via Command Line Source: https://docs.bitnami.com/aws/infrastructure/ruby/administration/phpinfo This command-line instruction allows you to quickly list all installed PHP modules without generating a full configuration report. It's a useful alternative for a concise overview of available extensions. ```bash /opt/bitnami/php/bin/php -m ``` -------------------------------- ### Install Redis PHP Extension Dependencies Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs the autoconf package, which is a dependency for compiling the phpredis extension. ```bash sudo apt-get update sudo apt-get install -y autoconf ``` -------------------------------- ### Install WordPress using Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-gke Deploys WordPress on a Kubernetes cluster using a Helm chart from the Bitnami repository, with a specific version of the MariaDB image. This command adds the Bitnami chart repository and then installs the WordPress chart, creating a new release named 'wordpress'. ```bash helm repo add bitnami https://charts.bitnami.com/bitnami helm install wordpress bitnami/wordpress --set mariadb.image=bitnami/mariadb:10.1.21-r0 ``` -------------------------------- ### Install MSSQL Drivers and Tools on Debian Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs the Microsoft ODBC drivers, SQL Server command-line tools, and development headers required for connecting to MSSQL from Debian. It also installs the PHP SQLSRV and PDO_SQLSRV extensions using PECL. ```shell sudo apt-get update sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools unixodbc-dev sudo pecl install sqlsrv sudo pecl install pdo_sqlsrv ``` -------------------------------- ### Compile libmemcached (Bash) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Downloads, compiles, and installs the libmemcached library. This process involves fetching the source code using wget, extracting it, configuring the build, compiling, and finally installing the library. Ensure you replace X.Y with the correct version. ```bash cd /tmp wget https://launchpad.net/libmemcached/1.0/1.X.Y/+download/libmemcached-1.X.Y.tar.gz tar xzf libmemcached-1.X.Y.tar.gz cd libmemcached-1.X.Y ./configure make sudo make install ``` -------------------------------- ### Start Kubernetes Dashboard Proxy (Shell) Source: https://docs.bitnami.com/kubernetes/get-started-gke Starts a proxy server to access the Kubernetes Dashboard via a web browser. This command makes the dashboard accessible at `localhost:8001/ui` and is essential for interactive cluster management. ```shell kubectl proxy ``` -------------------------------- ### Restore Previous OpenSSL State (Troubleshooting) Source: https://docs.bitnami.com/general/security/security-2015-07-09 This prompt is presented by the patch installer if Apache fails to start. Selecting 'Y' attempts to revert the OpenSSL changes to the previous state. If this fails, manual restoration from backup is required. ```shell Apache configuration seems to fail after applying the patch. Do you want to restore to the previous state? [Y/n]: ``` -------------------------------- ### Install System Packages for Solr Module Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php This command installs essential development packages required for compiling the Solr PHP extension, including build tools, libraries for cURL and XML, and creates a symbolic link for cURL headers. ```bash sudo apt-get update sudo apt-get install -y build-essential libtool autoconf unzip wget libcurl4-openssl-dev libxml2-dev sudo ln -s /usr/include/x86_64-linux-gnu/curl /usr/include/curl ``` -------------------------------- ### Compile and Install APCu Module from Source Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Downloads, compiles, and installs the APCu PHP module from its source package. This process involves fetching the tarball, uncompressing it, configuring with the correct PHP path, compiling, and installing. ```shell wget https://pecl.php.net/get/apcu-X.Y.Z.tgz tar xzf apcu-X.Y.Z.tgz cd apcu-X.Y.Z phpize ./configure --with-php-config=/opt/bitnami/php/bin/php-config make sudo make install ``` -------------------------------- ### Install Odoo using Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Deploys the Odoo application on Minikube via Helm. This command utilizes `--set serviceType=NodePort` for Minikube compatibility, ensuring the application is accessible. ```bash helm install odoo oci://registry-1.docker.io/bitnamicharts/odoo --set serviceType=NodePort ``` -------------------------------- ### Install Apache mod_geoip2 libgeoip-dev (Shell) Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs the development files for the libgeoip library, which is a dependency for the mod_geoip2 module. ```shell sudo apt-get install libgeoip-dev ``` -------------------------------- ### Install MSSQL Drivers and Tools on Ubuntu Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs the Microsoft ODBC drivers, SQL Server command-line tools, and development headers required for connecting to MSSQL from Ubuntu. It also installs the PHP SQLSRV and PDO_SQLSRV extensions using PECL. ```shell sudo apt-get update sudo ACCEPT_EULA=Y apt-get install -y msodbcsql mssql-tools unixodbc-dev sudo pecl install sqlsrv sudo pecl install pdo_sqlsrv ``` -------------------------------- ### Configure OCI8 LD_LIBRARY_PATH Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Adds the InstantClient library path to the LD_LIBRARY_PATH environment variable in the PHP runtime script to ensure the OCI8 module can find its dependencies. ```bash export LD_LIBRARY_PATH=/home/bitnami/instantclient_19_6${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} ``` -------------------------------- ### Check Redis PHP Extension Installation Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Verifies if the phpredis extension has been successfully loaded and is available in the PHP environment. ```bash php -m | grep redis ``` -------------------------------- ### Start MySQL Server - Bitnami Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/troubleshooting/disable-binary-logging-mysql Command to start the MySQL server on a Bitnami installation after configuration changes have been made. ```bash sudo /opt/bitnami/ctlscript.sh start mysql ``` -------------------------------- ### Run MySQLTuner with Socket Path Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/troubleshooting/install-mysqltuner This command executes the `mysqltuner.pl` script using Perl, specifying the MySQL socket path for monitoring a MySQL server installed by a Bitnami stack. It requires Perl to be installed and the correct socket path. The output provides tuning recommendations for the MySQL server. ```bash perl mysqltuner.pl --socket /opt/bitnami/mysql/tmp/mysql.sock ``` -------------------------------- ### Example Permission Denied Error Source: https://docs.bitnami.com/vmware-marketplace/how-to/troubleshoot-permission-issues This is a generic example of a 'permission denied' error message that might appear when trying to execute commands or access files/directories with insufficient privileges. ```text [...] permission denied ``` -------------------------------- ### Download and Install Bitnami Diagnostic Tool Source: https://docs.bitnami.com/vmware-marketplace/how-to/understand-bndiagnostic This snippet shows how to download the latest version of the Bitnami Diagnostic Tool for Linux, move it to the appropriate directory, set execute permissions, and create a symbolic link for easy access. This is a prerequisite for running the tool if it's not already included in your stack. ```bash wget -O bndiagnostic-linux-x64.run https://downloads.bitnami.com/files/bndiagnostic/latest/bndiagnostic-linux-x64.run sudo mkdir /opt/bitnami/bndiagnostic sudo mv bndiagnostic-linux-x64.run /opt/bitnami/bndiagnostic/ sudo chmod +x /opt/bitnami/bndiagnostic/bndiagnostic-linux-x64.run sudo ln -s /opt/bitnami/bndiagnostic/bndiagnostic-linux-x64.run /opt/bitnami/bndiagnostic-tool ``` -------------------------------- ### Install Development Tools (apt-get) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs essential development tools required for compiling software from source. This includes build-essential, libtool, autoconf, unzip, wget, and git. These packages are crucial for building software on Debian-based systems. ```bash sudo apt-get update sudo apt-get install build-essential libtool autoconf unzip wget git ``` -------------------------------- ### Restore Configuration File (Bash) Source: https://docs.bitnami.com/vmware-marketplace/how-to/migrate-moodle This command copies the saved Moodle configuration file back to the Moodle application directory on the new instance. This ensures the new instance uses the correct database connection details. ```bash sudo cp ~/config.php /bitnami/moodle/ ``` -------------------------------- ### Install OpenSSL Patch Source: https://docs.bitnami.com/general/security/security-2015-07-09 These commands make the downloaded patch installer executable and then run it with administrative privileges. The installer will check for vulnerabilities and update the OpenSSL library. It may prompt to restart services. ```shell chmod +x ./bitnami-opensslfixer-1.0.1p-1-linux-installer.run sudo ./bitnami-opensslfixer-1.0.1p-1-linux-installer.run ``` -------------------------------- ### Install Memcached using apt-get Source: https://docs.bitnami.com/vmware-marketplace/how-to/troubleshoot-wordpress-issues This command installs the Memcached caching system using the APT package manager, commonly found on Debian-based Linux distributions. ```bash sudo apt-get install memcached ``` -------------------------------- ### Install mod_xsendfile module for Apache Source: https://docs.bitnami.com/aws/apps/elk/configuration/enable-modules This snippet demonstrates downloading, extracting, and installing the mod_xsendfile module for Apache. It uses wget to download the tarball, tar to extract it, and apxs to compile and install the module. The output confirms the module's installation path. ```bash wget https://tn123.org/mod_xsendfile/mod_xsendfile-0.12.tar.gz tar -xzvf mod_xsendfile-0.12.tar.gz cd mod_xsendfile-0.12 sudo apxs -aci mod_xsendfile.c # Expected output: Module installed as /opt/bitnami/apache/modules/mod_xsendfile.so ``` -------------------------------- ### Compile and Install APCu PHP Module Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Downloads, compiles, and installs the APCu (APC User Cache) PHP module from source. This process involves downloading the tarball, uncompressing it, configuring the build with PHP specifics, making, and installing the module. Requires build dependencies. ```shell wget https://pecl.php.net/get/apcu-X.Y.Z.tgz tar xzf apcu-X.Y.Z.tgz cd apcu-X.Y.Z phpize ./configure --with-php-config=/opt/bitnami/php/bin/php-config make sudo make install ``` -------------------------------- ### Install Build Dependencies for PHP Modules Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs essential packages required for compiling PHP modules from source. This includes build tools, libraries, and utilities like wget for downloading source files. It uses the apt-get package manager. ```shell sudo apt-get update sudo apt-get install build-essential libtool autoconf unzip wget ``` -------------------------------- ### Install mod_xsendfile for Apache Source: https://docs.bitnami.com/general/apps/wordpress/configuration/enable-modules This snippet demonstrates how to download, extract, and install the mod_xsendfile Apache module using wget and apxs. It assumes the module will be compiled and installed into the default Apache modules directory. ```bash wget https://tn123.org/mod_xsendfile/mod_xsendfile-0.12.tar.gz tar -xzvf mod_xsendfile-0.12.tar.gz cd mod_xsendfile-0.12 sudo apxs -aci mod_xsendfile.c ``` -------------------------------- ### Restore Bitnami Installation After Patching Source: https://docs.bitnami.com/general/security/security-2016-09-22 Commands to restore a Bitnami installation to its previous state if Apache fails to start after applying an OpenSSL patch. This involves copying files from a backup directory and then restarting the Apache service. ```bash cp -rp /opt/bitnami/opensslfix/backup/* /opt/bitnami/common /opt/bitnami/ctlscript.sh restart apache ``` -------------------------------- ### Install Ruby Gems for Redmine Agile Plugin Source: https://docs.bitnami.com/vmware-marketplace/apps/redmine/configuration/install-plugin-agile Installs the required Ruby gems for the Redmine Agile plugin using Bundler. It includes options to exclude development, test, and specific database adapters, and specifies a deployment environment. This ensures all necessary dependencies are met. ```bash cd - bundle install --without development test postgresql sqlite --no-deployment bundle install --without development test postgresql sqlite --deployment ``` -------------------------------- ### Copy Configuration File (Bash) Source: https://docs.bitnami.com/vmware-marketplace/how-to/migrate-moodle This command copies the Moodle configuration file from its default location to the user's home directory. This is a precautionary step before modifying or replacing configuration files during migration. ```bash sudo cp /bitnami/moodle/config.php ~/ ``` -------------------------------- ### Download and Prepare IonCube Loaders (Shell) Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Downloads the ionCube loaders for Linux x86-64, extracts them, and copies the appropriate loader file (matching your PHP version) to the PHP extensions directory. ```shell wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar xvzf ioncube_loaders_lin_x86-64.tar.gz sudo cp ioncube/ioncube_loader_lin_Y.Z.so /opt/bitnami/php/lib/php/extensions/ ``` -------------------------------- ### Install Mercurial Package Source: https://docs.bitnami.com/vmware-marketplace/apps/redmine/configuration/use-hg Installs the Mercurial version control system package using apt-get. This is a prerequisite for using Mercurial repositories. ```bash sudo apt-get install mercurial ``` -------------------------------- ### List Kubernetes Nodes Source: https://docs.bitnami.com/kubernetes/get-started-kubernetes Lists all the nodes currently connected to the Kubernetes cluster. This command helps in verifying the cluster's health and node status. ```shell kubectl get nodes ``` -------------------------------- ### Install Memcached using apt-get (Bash) Source: https://docs.bitnami.com/general/how-to/troubleshoot-wordpress-issues This command installs the Memcached service using the apt-get package manager, a common step for enabling Memcached in Debian-based Linux distributions. ```bash sudo apt-get install memcached ``` -------------------------------- ### Configure Redis Node Source: https://docs.bitnami.com/aws/apps/appsmith/administration/create-cluster Defines the configuration for a single Redis node within a cluster. This file should be placed in each PORT-* directory. ```ini port PORT-x cluster-enabled yes cluster-config-file nodes-PORT-x.conf cluster-node-timeout 5000 appendonly yes ``` -------------------------------- ### Install SSH2 PHP Extension Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Installs the SSH2 module for PHP. This involves installing libssl-dev, compiling libssh2 and the ssh2 PECL extension from source, and then enabling the extension in the php.ini file. Ensure you use the correct version numbers for the downloads. ```bash sudo apt-get update sudo apt-get install libssl-dev cd /tmp wget http://www.libssh2.org/download/libssh2-1.9.0.tar.gz tar vxzf libssh2-1.9.0.tar.gz cd libssh2-1.9.0 ./configure make sudo make install cd /tmp wget http://pecl.php.net/get/ssh2-1.2.tgz tar xzf ssh2-1.2.tgz cd ssh2-1.2 phpize ./configure --with-ssh2 make sudo make install ``` ```ini extension=ssh2 ``` -------------------------------- ### Compile PHP memcached Extension (Bash) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Compiles and installs the PHP memcached extension for PHP 7. This involves cloning the repository, checking out the correct branch, running phpize, configuring the build with specific options, compiling, and installing the module. It requires the previously installed libmemcached. ```bash cd /tmp git clone https://github.com/php-memcached-dev/php-memcached.git cd php-memcached git checkout php7 /opt/bitnami/php/bin/phpize ./configure --enable-memcached --with-php-config=/opt/bitnami/php/bin/php-config --disable-memcached-sasl make sudo make install ``` -------------------------------- ### Download NGINX Source (Shell) Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Downloads the NGINX source code. It's crucial to download the version that matches the one used in your Bitnami stack. ```shell wget http://nginx.org/download/nginx-1.18.0.tar.gz tar xzf nginx-1.18.0.tar.gz ``` -------------------------------- ### Redis GET and SET Commands Source: https://docs.bitnami.com/aws/infrastructure/redis/get-started/connect Demonstrates the usage of the Redis SET and GET commands to store and retrieve key-value pairs. The SET command stores a value associated with a key, and the GET command retrieves the value for a specified key. These are fundamental operations for data management in Redis. ```redis 127.0.0.1:6379> set foo bar OK 127.0.0.1:6379> get foo "bar" ``` -------------------------------- ### Apache SSL Certificate Configuration (Dummy) Source: https://docs.bitnami.com/vmware-marketplace/how-to/understand-bncert This snippet shows how to configure Apache to use dummy SSL certificates by specifying the paths to the certificate and key files. This is a prerequisite for manually revoking an existing certificate. ```apache SSLCertificateFile "/opt/bitnami/apache/conf/bitnami/certs/tls.crt" SSLCertificateKeyFile "/opt/bitnami/apache/conf/bitnami/certs/tls.key" ``` -------------------------------- ### Install IonCube Loaders for PHP Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Downloads, unpacks, and copies the appropriate IonCube loader .so file to the PHP extensions directory. The version of the IonCube loader must match the PHP version used in the Bitnami stack. ```bash wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar xvzf ioncube_loaders_lin_x86-64.tar.gz sudo cp ioncube/ioncube_loader_lin_Y.Z.so /opt/bitnami/php/lib/php/extensions/ ``` -------------------------------- ### Install mod_xsendfile Module for Apache Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/enable-modules Installs the mod_xsendfile module for Apache by downloading the source, extracting it, and compiling it using apxs. This process assumes the Apache development headers are available. The module is typically installed in the Apache modules directory. ```bash wget https://tn123.org/mod_xsendfile/mod_xsendfile-0.12.tar.gz tar -xzvf mod_xsendfile-0.12.tar.gz cd mod_xsendfile-0.12 sudo apxs -aci mod_xsendfile.c ``` -------------------------------- ### Create kubectl Configuration File Source: https://docs.bitnami.com/kubernetes/get-started-eks Creates the directory and an empty configuration file for kubectl in the user's home directory. This file will later be populated with EKS cluster details. No external dependencies are required. ```bash mkdir ~/.kube touch ~/.kube/config-eks ``` -------------------------------- ### Start Varnish and Apache Services (Bash) Source: https://docs.bitnami.com/general/apps/wordpress/administration/configure-use-varnish Starts the Varnish service, which defaults to TCP port 81, and ensures the Apache service is running. This allows access to the index page via both Varnish and Apache ports. ```bash sudo /opt/bitnami/ctlscript.sh start varnish sudo /opt/bitnami/ctlscript.sh start apache ``` -------------------------------- ### Compile libssh2 and SSH2 for PHP Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Downloads, compiles, and installs libssh2 and the SSH2 PECL extension for PHP. This process involves configuring, making, and installing both libraries, followed by enabling the extension in php.ini. ```bash cd /tmp wget http://www.libssh2.org/download/libssh2-1.9.0.tar.gz tar vxzf libssh2-1.9.0.tar.gz cd libssh2-1.9.0 ./configure make sudo make install cd /tmp wget http://pecl.php.net/get/ssh2-1.2.tgz tar xzf ssh2-1.2.tgz cd ssh2-1.2 phpize ./configure --with-ssh2 make sudo make install ``` -------------------------------- ### Install Odoo using Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-gke Deploys Odoo on a Kubernetes cluster using a Helm chart from the Bitnami repository. This command adds the Bitnami chart repository and then installs the Odoo chart, creating a new release named 'odoo'. ```bash helm repo add bitnami https://charts.bitnami.com/bitnami helm install odoo bitnami/odoo ``` -------------------------------- ### Verify WP-CLI Installation Source: https://docs.bitnami.com/general/apps/wordpress/administration/use-wpcli This command checks if the WP-CLI tool is installed and functioning correctly on your Bitnami WordPress instance. It displays information about the WP-CLI version and environment. ```bash sudo wp cli info ``` -------------------------------- ### Install MongoDB using Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-gke Deploys MongoDB on a Kubernetes cluster using a Helm chart from the Bitnami repository. This command adds the Bitnami chart repository and then installs the MongoDB chart, creating a new release named 'mongodb'. ```bash helm repo add bitnami https://charts.bitnami.com/bitnami helm install mongodb bitnami/mongodb ``` -------------------------------- ### Install Apache mod_geoip2 Dependencies (Debian/Ubuntu) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs essential build tools and libraries required for compiling the mod_geoip2 module for Apache. This includes build-essential, libtool, autoconf, unzip, wget, and the development files for libgeoip. ```bash sudo apt-get update sudo apt-get install build-essential libtool autoconf unzip wget sudo apt-get install libgeoip-dev ``` -------------------------------- ### Connect to MariaDB Service and Execute SQL Commands Source: https://docs.bitnami.com/kubernetes/get-started-tkg Commands executed within the MariaDB client pod to connect to the MariaDB service and perform basic SQL operations. Demonstrates creating a database, a table, inserting data, and querying the data to confirm functionality. ```bash mysql -h mariadb.default.svc.cluster.local -uroot -pPASSWORD ``` ```bash USE my_database; CREATE TABLE accounts (id INT NOT NULL, username VARCHAR(255) NOT NULL); INSERT INTO accounts VALUES (1, 'james'), (2, 'john'); SELECT * FROM accounts; exit ``` -------------------------------- ### Initialize Google Cloud SDK (gcloud init) Source: https://docs.bitnami.com/kubernetes/get-started-gke This command initializes the gcloud command-line tool, guiding you through the process of authenticating with your Google Cloud Platform account and configuring your project and compute zone. This step is crucial for enabling communication between your local system and your Google Cloud account. ```bash gcloud init ``` -------------------------------- ### Install NGINX GeoIP2 Module Dependency (Debian/Ubuntu) Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Installs the libmaxminddb-dev library, which is a prerequisite for compiling the GeoIP2 module for NGINX. This library provides the necessary components for GeoIP2 database lookups. ```bash sudo apt-get install libmaxminddb-dev ``` -------------------------------- ### Add Microsoft Package Repository for Ubuntu Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Configures the apt-get package manager on Ubuntu to include Microsoft's official repositories for SQL Server drivers. This involves importing the GPG key and adding the repository list for Ubuntu 16.04. ```shell sudo su curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list exit ``` -------------------------------- ### Set LD_LIBRARY_PATH for OCI8 Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php This command adds the InstantClient library path to the LD_LIBRARY_PATH environment variable in the PHP runtime script. This is crucial for the OCI8 module to find its necessary libraries. ```bash export LD_LIBRARY_PATH=/home/bitnami/instantclient_19_6${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} ``` -------------------------------- ### Start All Bitnami Services Source: https://docs.bitnami.com/aws/apps/appsmith/administration/control-services Start all services within the Bitnami stack simultaneously. This is useful after a system reboot or if all services have been stopped. ```bash sudo /opt/bitnami/ctlscript.sh start ``` -------------------------------- ### Download NGINX GeoIP2 Module and NGINX Source Source: https://docs.bitnami.com/general/apps/wordpress/configuration/install-modules-php Downloads the source code for the ngx_http_geoip2_module and the NGINX web server. It's crucial to download the NGINX source code that matches the version already installed in the Bitnami stack. ```bash wget https://github.com/leev/ngx_http_geoip2_module/archive/3.2.tar.gz tar xzf 3.2.tar.gz wget http://nginx.org/download/nginx-1.18.0.tar.gz tar xzf nginx-1.18.0.tar.gz ``` -------------------------------- ### Install Redis using Helm Chart Source: https://docs.bitnami.com/kubernetes/get-started-gke Deploys Redis on a Kubernetes cluster using a Helm chart from the Bitnami repository. This command adds the Bitnami chart repository and then installs the Redis chart, creating a new release named 'redis'. ```bash helm repo add bitnami https://charts.bitnami.com/bitnami helm install redis bitnami/redis ``` -------------------------------- ### Test MariaDB Deployment with Client Pod Source: https://docs.bitnami.com/kubernetes/get-started-tmc Commands to run a temporary MariaDB client pod to test the deployed MariaDB service. It connects to the MariaDB instance using the provided administrator credentials. ```bash kubectl run mariadb-client --rm --tty -i --restart='Never' --image docker.io/bitnami/mariadb:latest --namespace default --command -- bash mysql -h mariadb.default.svc.cluster.local -uroot -pPASSWORD ``` -------------------------------- ### Add Microsoft Package Repository for Debian Source: https://docs.bitnami.com/vmware-marketplace/apps/moodle/configuration/install-modules-php Configures the apt-get package manager on Debian to include Microsoft's official repositories for SQL Server drivers. This involves importing the GPG key and adding the repository list. ```shell sudo su curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list exit ``` -------------------------------- ### Navigate to Redmine Installation Directory Source: https://docs.bitnami.com/vmware-marketplace/apps/redmine/configuration/install-plugin-customworkflows Changes the current directory to the Redmine installation path, typically /opt/bitnami/redmine. This is the initial step before installing plugins. ```bash cd /opt/bitnami/redmine ``` -------------------------------- ### Install Apache mod_proxy_html Module Source: https://docs.bitnami.com/general/apps/wordpress/configuration/enable-modules Installs the mod_proxy_html and mod_xml2enc modules for Apache, which are used for manipulating HTML content in proxy responses. This process involves installing development dependencies, downloading, compiling, and enabling the modules. ```bash sudo apt-get install libxml2-dev wget http://apache.webthing.com/mod_proxy_html/mod_proxy_html.tar.bz2 tar -jxf mod_proxy_html.tar.bz2 cd mod_proxy_html/ sudo apxs -c $(xml2-config --cflags) $(xml2-config --libs) -i mod_proxy_html.c sudo apxs -c $(xml2-config --cflags) $(xml2-config --libs) -i mod_xml2enc.c sudo chmod 755 /opt/bitnami/apache/modules/mod_proxy_html.so /opt/bitnami/apache/modules/mod_xml2enc.so ```