i want to use web server

Status
Not open for further replies.

solaris

Cadet
Joined
May 26, 2012
Messages
8
Hello, sorry for my english, i want to use web server of freenas(nginx) to install php5 and mysql.
After many manipulations i understand that freenas is in read only mode, i install php5 in ZFS partition (/mnt/LUN1) created previously.
I create virtualhost in nginx.conf but impossible to read my php scripts.
Can someone help me please?
Thank you for your help.
 

BobCochran

Contributor
Joined
Aug 5, 2011
Messages
184
I think it is all about networking. This quote is taken from the Plugins documentation referenced above:

NOTE: the Plugins Jail will not work and installed PBIs will not show up in the GUI if the Jail IP Address is not pingable from the FreeNAS® system. An incorrect Jail IP Netmask can make the IP address unreachable. On systems with multiple interfaces there is currently no way to specify which interface is used as the Plugins Jail chooses the interface with the default gateway. If a default gateway is not set on the FreeNAS® system, add it in Network → Global Configuration. At this time, IPv6 is not supported within the Plugins Jail.
 

Ngjtt

Cadet
Joined
Sep 24, 2012
Messages
8
ok, for install the jail, i go in( jls and jexec 1 /bin/csh).
inside the jail i type pkg_add -r apache22 but impossible to install apache (Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/Latest/apache22.tbz: No address record)
I test to ping my router but it no accessible. How i proceed?
Thank you.


I also had the No address record error. to fix it you need to fill in the dns servers for your freenas install. to do this go to the web interface and click network.
then fill in the name servers. 8.8.8.8 and 8.8.4.4 are free to use google dns servers or use your providers servers instead
 
Status
Not open for further replies.
Top