How to install a FAMP stack in a jail

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
Does it have to be with Apache?

The link to an owncloud guide (not mine) in my signature will create one using NGINX. Applying it to nextcloud is simple enough and it's worked for me in both guises for 3-4 years now.
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
No. You can install that in the jail, or in its own jail, and simply connect it to the database.

I'd be careful about using it if you plan to expose nextcloud outside your network.
 

seanm

Guru
Joined
Jun 11, 2018
Messages
570
If you're wanting nextcloud, have you seen the various threads in this forum about installing nextcloud?
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Why do you want phpMyAdmin for Nextcloud? It's a rare case indeed where you'd need (or even want) to go manually messing around in the Nextcloud database. There are a number of guides on installing Nextcloud; I'm somewhat partial to my own.
 

Storage12AndUp

Dabbler
Joined
Jun 9, 2019
Messages
14
Thanks, but why does nextcloud all of the sudden need a data base. I did this a couple of years ago and it did not need a data base.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Nextcloud (and Owncloud before it) has always needed a database. In prior versions of the plugin, it used an SQLite database which doesn't really need any configuration (but greatly limits performance). In the current half-baked plugin, you need to manually feed Nextcloud the database credentials the first time; the pop-up window after installation completes tells you what they are.

No version of the plugin or guide that I've seen would have any use for PHPMyAdmin.
 

Storage12AndUp

Dabbler
Joined
Jun 9, 2019
Messages
14
Alright thanks for all your help. If there is a easier way to do it please let me know. But if there isn't I will do it the other ways you guys said. Any way thanks for all your help.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
An "easier way to do" what, exactly? Install Nextcloud? I think the two easiest options there would be either (1) use the plugin (you'll need to finish the Nextcloud installation through its own web GUI, giving an admin username and password, and the database credentials the system will give you when the plugin installation finishes); or (2) use my script (in which you'll need to prepare a config file of somewhere around 8-10 lines).
 
Top