Lightsail Multi-Site Configuration - Directory Structure Not the Same?

Keywords: WordPress - AWS - How to - Application configuration

Description:
I’m following this link as well as a couple video on the same topic…

https://docs.bitnami.com/ibm/apps/wordpress-multisite/configuration/configure-wordpress-multisite/

I cannot execute this command because I do not have an ‘opt’ directory…

sudo /opt/bitnami/configure_app_domain --domain our-planets.com

This is what I have…

bitnami_application_password bitnami_credentials htdocs stack

What do I do in this case?

Thanks!
Jeff

Hi @jascript4,

Bitnami is installed by default in /opt/bitnami. Did you remove it? Can you run the following commands:

cd ~
ls -la .

And:

sudo ls -la /opt/ | grep bitnami

Regards,
Michiel

Thank you

I had figured it out. I didn’t remove anything but for some reason my directory structure was different than what was shown in all the examples I was following.

For example, this is what I had, but in the examples the ‘opt’ directory was included here…
bitnami_application_password bitnami_credentials htdocs stack

I had to go to cd / to find the opt directory…
bin boot etc lib lib64 lost+found mnt proc run srv tmp var
bitnami dev home lib32 libx32 media opt root sbin sys usr

btw, I tried what you suggested just to see what I’d get

bitnami@ip-172-xx-xx-xx:~$ ls -la .
total 40
drwxr-xr-x 3 bitnami bitnami 4096 Oct 18 21:27 .
drwxr-xr-x 3 root root 4096 Oct 8 17:31 …
-rw------- 1 bitnami bitnami 1209 Oct 21 13:45 .bash_history
-rw-r–r-- 1 bitnami bitnami 220 Apr 18 2019 .bash_logout
-rw-r–r-- 1 bitnami bitnami 4204 Oct 18 21:13 .bashrc
-rw------- 1 bitnami bitnami 13 Oct 18 21:16 bitnami_application_password
-r-------- 1 bitnami bitnami 440 Oct 18 21:16 bitnami_credentials
lrwxrwxrwx 1 bitnami bitnami 27 Oct 8 17:40 htdocs -> /opt/bitnami/apache2/htdocs
-rw-r–r-- 1 bitnami bitnami 1485 Oct 18 21:13 .profile
drwx------ 2 bitnami bitnami 4096 Oct 18 21:13 .ssh
lrwxrwxrwx 1 bitnami bitnami 12 Oct 8 17:40 stack -> /opt/bitnami

bitnami@ip-172-xx-x-xx:~$ sudo ls -la /opt/ | grep bitnami
drwxr-xr-x 19 root root 4096 Oct 19 23:34 bitnami

Hi @jascript4,

So the bitnami directory seems to exist. Can you run the following command:

sudo /opt/bitnami/bndiagnostic-tool

And send me the code that it outputs at the end?

Regards,
Michiel

Michiel, I went a different route. No longer working on this. Thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.