Install MySQL + phpMyAdmin in Jail

Status
Not open for further replies.

catuso

Cadet
Joined
Sep 21, 2012
Messages
5
Hi any buddy please help me install MySQL + phpMyAdmin in a Jail Box.

I have tried:


1. Mount and Enable Plugins Jail.

2. Acces in Command Prompt ro Jail.
jls
jexec 1 /bin/tcsh


3. Install Apps.

a. Instal mySQL:

i) Install Pakege:
# pkg_add -r mysql50-server

ii) Add Automatic Start
edit "/mnt/VOL1/APPS/JAIL/APPS/etc/rc.conf" and add line: mysql_enable="YES"

b. Install Apache

i) Install Pakege:
# pkg_add -r apache

ii) Add Automatic Start
edit "/mnt/VOL1/APPS/JAIL/APPS/etc/rc.conf" and add line: apache_enable="YES"

c. Install phpMyAdmin (Includes PHP)
# pkg_add -r -f phpMyAdmin

Please help me I can’t make this work. A detailed HOW TO will be very appreciated.

Sergio.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
It would help alot of you explain what error you are getting, what version of FreeNAS and the jail you are using, and hardware specs.
 

catuso

Cadet
Joined
Sep 21, 2012
Messages
5
Hi Cyberjock,

I’m using:

Hardware: P4 2.8.;4GB RAM; Intel Motherboard; Gigabit Ethernet; 4 Seagate HD 500GB;
Software: FreeNAS x86; v.8.2.0

I don’t receive really error, the thing is that the MySQL package installs correct, and I can administrate from the command line. The part where I’m staked is when I want to run the phpMyAdmin.

I have tried installing:

- Option 1:
pkg_add -r mysql50-server
pkg_add -r php5
pkg_add -r phpMyAdmin

- Option 2:
pkg_add -r mysql50-server
pkg_add -r apache
pkg_add -r phpMyAdmin

- Option 3:
pkg_add -r mysql50-server
pkg_add -r phpMyAdmin

None of this makes available the user interface of phpMyAdmin.

So probably someone has more experience installing this and the correct versions of this packages I should use.

Kind regards,

Sergio.
 

champ

Dabbler
Joined
Jan 12, 2014
Messages
12
Hey dude it is a little late, but you also need to add the phpmyadmin to your server config
 
Status
Not open for further replies.
Top