<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Bitnami</id>
	<title>Bitnami - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Bitnami"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Bitnami&amp;action=history"/>
	<updated>2026-05-15T09:11:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Bitnami&amp;diff=35&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;List all of Bitnami&#039;s configuration files and scripts.  ====Bitnami CTL script==== ----  Controls the stack (mysql, php-fpm, apache)   $ sudo /opt/bitnami/ctlscript.sh start/restart/stop/status    $ sudo /opt/bitnami/ctlscript.sh status  apache already running  mariadb already running  php-fpm already running  To restart individual services:  $ sudo /opt/bitnami/ctlscript.sh restart php-fpm  $ sudo /opt/bitnami/ctlscript.sh restart apache  $ sudo /opt/bitnami/ctlscript.s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Bitnami&amp;diff=35&amp;oldid=prev"/>
		<updated>2024-08-20T13:56:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;List all of Bitnami&amp;#039;s configuration files and scripts.  ====Bitnami CTL script==== ----  Controls the stack (mysql, php-fpm, apache)   $ sudo /opt/bitnami/ctlscript.sh start/restart/stop/status    $ sudo /opt/bitnami/ctlscript.sh status  apache already running  mariadb already running  php-fpm already running  To restart individual services:  $ sudo /opt/bitnami/ctlscript.sh restart php-fpm  $ sudo /opt/bitnami/ctlscript.sh restart apache  $ sudo /opt/bitnami/ctlscript.s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;List all of Bitnami&amp;#039;s configuration files and scripts.&lt;br /&gt;
&lt;br /&gt;
====Bitnami CTL script====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Controls the stack (mysql, php-fpm, apache)&lt;br /&gt;
&lt;br /&gt;
 $ sudo /opt/bitnami/ctlscript.sh start/restart/stop/status&lt;br /&gt;
 &lt;br /&gt;
 $ sudo /opt/bitnami/ctlscript.sh status&lt;br /&gt;
 apache already running&lt;br /&gt;
 mariadb already running&lt;br /&gt;
 php-fpm already running&lt;br /&gt;
&lt;br /&gt;
To restart individual services:&lt;br /&gt;
 $ sudo /opt/bitnami/ctlscript.sh restart php-fpm&lt;br /&gt;
 $ sudo /opt/bitnami/ctlscript.sh restart apache&lt;br /&gt;
 $ sudo /opt/bitnami/ctlscript.sh restart mariadb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Logs location====&lt;br /&gt;
----&lt;br /&gt;
(system logs) &lt;br /&gt;
 /var/log/syslog &lt;br /&gt;
&lt;br /&gt;
(apache error logs)&lt;br /&gt;
 /opt/bitnami/apache2/logs/error_log &lt;br /&gt;
 /opt/bitnami/apache2/logs/access_log&lt;br /&gt;
&lt;br /&gt;
(mysql logs)&lt;br /&gt;
 /opt/bitnami/mysql/data/mysqld.log &lt;br /&gt;
&lt;br /&gt;
(php logs) &lt;br /&gt;
 /opt/bitnami/php/var/log/php-fpm.log &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Install SSL on Bitnami using bncert-tool====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://docs.bitnami.com/aws/how-to/understand-bncert/&lt;br /&gt;
&lt;br /&gt;
 $ wget -O bncert-linux-x64.run https://downloads.bitnami.com/files/bncert/latest/bncert-linux-x64.run&lt;br /&gt;
 $ sudo mkdir /opt/bitnami/bncert&lt;br /&gt;
 $ sudo mv bncert-linux-x64.run /opt/bitnami/bncert/&lt;br /&gt;
 $ sudo chmod +x /opt/bitnami/bncert/bncert-linux-x64.run&lt;br /&gt;
 $ sudo ln -s /opt/bitnami/bncert/bncert-linux-x64.run /opt/bitnami/bncert-tool&lt;br /&gt;
 &lt;br /&gt;
 $ sudo /opt/bitnami/bncert-tool&lt;br /&gt;
&lt;br /&gt;
* Then you just have to list the domains you want to cover.&lt;br /&gt;
* HTTP -&amp;gt; HTTPS redirect? y/n&lt;br /&gt;
* non-www -&amp;gt; www redirect? y/n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====WordPress Config file====&lt;br /&gt;
----&lt;br /&gt;
 /opt/bitnami/apps/wordpress/htdocs/wp-config.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Php Config file and log====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 /opt/bitnami/php/etc/php.ini.&lt;br /&gt;
 /opt/bitnami/php/var/log/php-fpm.log &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Apache Config file====&lt;br /&gt;
----&lt;br /&gt;
https://docs.bitnami.com/aws/apps/wordpress/get-started/understand-config/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====MySQL Config file====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
MySQL Version&lt;br /&gt;
&lt;br /&gt;
 mysqld --version&lt;br /&gt;
&lt;br /&gt;
MySQL Configuration File&lt;br /&gt;
&lt;br /&gt;
 /opt/bitnami/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
Some configuration overrides are stored in&lt;br /&gt;
&lt;br /&gt;
 /opt/bitnami/mysql/bitnami/my.cnf.&lt;br /&gt;
&lt;br /&gt;
MySQL Socket - On Unix, MySQL clients can connect to the server in the local machine using an Unix socket file at&lt;br /&gt;
&lt;br /&gt;
 /opt/bitnami/mysql/tmp/mysql.sock&lt;br /&gt;
&lt;br /&gt;
MySQL Process Identification Number - The MySQL .pid file allows other programs to find out the PID (Process Identification Number) of a running script. Find it at&lt;br /&gt;
&lt;br /&gt;
 /opt/bitnami/mysql/data/mysqld.pid&lt;br /&gt;
&lt;br /&gt;
MySQL Error Log - The log-error file contains information indicating when mysqld was started and stopped and also any critical errors that occur while the server is running. If mysqld notices a table that needs to be automatically checked or repaired, it writes a message to the error log.&lt;br /&gt;
&lt;br /&gt;
 /opt/bitnami/mysql/data/mysqld.log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reference: https://docs.bitnami.com/bch/infrastructure/mysql/get-started/understand-default-config/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Start the stack automatically on boot====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://docs.bitnami.com/installer/faq/linux-faq/administration/autostart-linux/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to Install a Second WordPress Site in a Subdirectory====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) Get the password for WP application and MySQL. Make note of this password as you will use it later during the WP installation:&lt;br /&gt;
&lt;br /&gt;
    $ cat bitnami_application_password&lt;br /&gt;
&lt;br /&gt;
2) Run the following commands to download the latest version of the Bitnami WordPress module and install it:&lt;br /&gt;
&lt;br /&gt;
    $ curl -LJO &amp;quot;https://downloads.bitnami.com/files/stacks/wordpress/5.2.3-0/bitnami-wordpress-5.2.3-0-module-linux-x64-installer.run&amp;quot;&lt;br /&gt;
    $ chmod +x ./bitnami-wordpress-5.2.3-0-module-linux-x64-installer.run&lt;br /&gt;
    $ sudo ./bitnami-wordpress-5.2.3-0-module-linux-x64-installer.run --wordpress_instance_name resources&lt;br /&gt;
&lt;br /&gt;
        language:                   1&lt;br /&gt;
        Installation folder:        /opt/bitnami&lt;br /&gt;
        Login [user]:               Press [enter] to use the default [user]&lt;br /&gt;
        Real name:                  name&lt;br /&gt;
        Email address:              email@address.com&lt;br /&gt;
        MySQL password for &amp;quot;root&amp;quot;:  Enter the output of &amp;#039;$ cat bitnami_application_password&amp;#039; which was ran earlier&lt;br /&gt;
        Blog name:                  Resources&lt;br /&gt;
        Mail support?               n&lt;br /&gt;
        Installation type:          Choose Dev or Prod, Prod [2] is default.&lt;br /&gt;
        Setup is now ready to install bitnami wordpress module on your computer, do you want to continue? y&lt;br /&gt;
        Installation has finished, Launch bitnami wordpress module: y&lt;br /&gt;
&lt;br /&gt;
3) You can confirm there are now two separate sites:&lt;br /&gt;
&lt;br /&gt;
    http://&amp;lt;public-ip&amp;gt;/&lt;br /&gt;
    http://&amp;lt;public-ip&amp;gt;/wp-admin&lt;br /&gt;
&lt;br /&gt;
    http://&amp;lt;public-ip&amp;gt;/resources/&lt;br /&gt;
    http://&amp;lt;public-ip&amp;gt;/resources/wp-login&lt;br /&gt;
&lt;br /&gt;
    [+] First/original WordPress folder location:&lt;br /&gt;
&lt;br /&gt;
            /opt/bitnami/apps/wordpress/htdocs&lt;br /&gt;
&lt;br /&gt;
    [+] Second WordPress folder location:&lt;br /&gt;
&lt;br /&gt;
            /opt/bitnami/apps/resources/htdocs&lt;br /&gt;
&lt;br /&gt;
[1] How to Install a Second WordPress Site in a Subdirectory (Google Cloud) &lt;br /&gt;
https://community.bitnami.com/t/how-to-install-a-second-wordpress-site-in-a-subdirectory-google-cloud/70956&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to Backup and Restore Bitnami Mysql Database====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://docs.bitnami.com/ibm/apps/redmine/administration/backup-restore-mysql-mariadb/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Backup&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To back up just the application database, create a dump file using the mysqldump tool. In this example, the database is named bitnami_app; replace this with the name of the database you wish to export.&lt;br /&gt;
&lt;br /&gt;
 mysqldump -u root -p bitnami_app &amp;gt; backup.sql&lt;br /&gt;
&lt;br /&gt;
To back up all the databases, use this command instead:&lt;br /&gt;
&lt;br /&gt;
 mysqldump -A -u root -p &amp;gt; backup.sql&lt;br /&gt;
&lt;br /&gt;
This operation could take some time depending on the database sizes.&lt;br /&gt;
&lt;br /&gt;
    NOTE: The steps previously described will only back up the data contained inside your databases. There may be other files that you should take into account when performing a full backup, such as files that may have been uploaded to your application. Refer to your application’s documentation for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Restore&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have the backup file, you can restore the data with a command like the one below:&lt;br /&gt;
&lt;br /&gt;
 mysql -u root -p &amp;lt; backup.sql&lt;br /&gt;
&lt;br /&gt;
To restore the data to a specific database, include the database name in the command, as shown below. For example, to import the data to a database named bitnami_app, use this command:&lt;br /&gt;
&lt;br /&gt;
 mysql -u root -p -D bitnami_app &amp;lt; backup.sql&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>