Packages

Status
Not open for further replies.

lonesoac0

Dabbler
Joined
Aug 27, 2013
Messages
10
Hello all. I just installed FreeNAS 9.1.0 and I am really trying hard to figure out the Jails. Right now I have configured a regular jail and from what I know of the Jail system it is just a FreeBSD system. That said, how in the world can I install software like mysql, apache, and wordpress? I have found that the pkg_add command is replaced by the pkg command and I cannot get it to update because I cannot find a known good repository for the new package management system. Right now I am installing the mysql program by the Ports article of: http://dev.mysql.com/doc/refman/5.1/en/freebsd-installation.html . I have run the make command and I am seeing a lot of depreciation during this process. Any help would be appreciated.
 

lonesoac0

Dabbler
Joined
Aug 27, 2013
Messages
10
So, I just created a jail called nonvanilla2 with the following options:
Name: nonvanilla2
IPv4 Address 192.168.1.125/24
autostart checked
Type: Standard
VIMAGE: Checked
The remaining fields have either no values or unchecked.

According to http://doc.freenas.org/index.php/Jails? what I need to create is a ports jail. At first I just created a standard jail based off of the chart on the site.

I just created another jail here is the information:
Jail Name: portsjail
IPv4 Address: 192.168.1.126/24
Autostart: Checked
Type: portjail
VIMAGE: Checked
The remaining fields have either no values or unchecked.

I then ran 'pkg install mysql-server-5.6' and it installed the latest mysql with supporting dependencies. now when I try to connect to the mysql instance I am getting: "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
 
D

dlavigne

Guest
How did you start mysql? Were there any errors when it started? Anything in /var/log/messages of the jail?
 

lonesoac0

Dabbler
Joined
Aug 27, 2013
Messages
10
Yeah. That is true. I am soooo used to Debian systems and I just thought that the MySQL instance would have started on its own. Now I am dying to go home and run the command! lol!
 
Status
Not open for further replies.
Top