Rutix
Cadet
- Joined
- Oct 23, 2012
- Messages
- 6
It seems that all links to http://admin.joshuaruehlig.com are either dead (or down?). Does someone have a mirror for the MariaDB one?
It seems that all links to http://admin.joshuaruehlig.com are either dead (or down?). Does someone have a mirror for the MariaDB one?
I took the links down, I am planning on editting the instructions to have mariadb+phpfpm compiled from ports instead.
I took the links down, I am planning on editting the instructions to have mariadb+phpfpm compiled from ports instead.
I've done a new install of jail/nginx/php/ajaxplorer on my new machine but i've run into a bump.
I moved my ajaxplorer from its subfolder in www towards the www-folder itself and now i'm getting an error 403- forbidden whenever i go towards my jail ip.
Any suggestions on why this is happening?
Great post! Will try this soon.
Are you going to put an howto up for newznab aswell? That would be awesome :)
I took the links down, I am planning on editting the instructions to have mariadb+phpfpm compiled from ports instead.
portsnap fetch extract pkg_delete --force pkg-config-0.25_1 cd /usr/ports/devel/pkgconf && make install clean cd /usr/ports/www/nginx && make install clean (+ HTTP_DAV, HTTP_FLV, HTTP_GZIP_STATIC, HTTP_PERL, HTTP_SSL) cd /usr/ports/lang/php5 && make install clean" (+ FPM)
Any chance you could review this? I've installed FreeNAS just to try out ownCloud on it and know nothing about BSD.
I'm looking at
http://forums.freenas.org/threads/howto-owncloud-with-nginx-and-mysql-in-plugin-jail.9985/
from 2012 where it has
Code:portsnap fetch extract pkg_delete --force pkg-config-0.25_1 cd /usr/ports/devel/pkgconf && make install clean cd /usr/ports/www/nginx && make install clean (+ HTTP_DAV, HTTP_FLV, HTTP_GZIP_STATIC, HTTP_PERL, HTTP_SSL) cd /usr/ports/lang/php5 && make install clean" (+ FPM)
Is that pretty much correct? (I didn't do the pkg_delete, pkgconf nor the nginx steps)
I might document what I did one day. I currently have nZEDb running and it's running great.
I might document what I did one day. I currently have nZEDb running and it's running great.
I thought it would be good to have a single place to link setup guides for popular PHP applications.
If anyone has an application setup guide please post it and I'll link it here.
Also, if you want to edit my install guide below I'm open to suggestions.
Do all of the command in your Plugins Jail's userland, you can enter it from the FreeNAS userland with..
Code:jls # find you jail's id number jexec ID csh # replace 'ID' with your jail's id number
NGINX INSTALL
Code:pkg_add -r nginx
/usr/local/etc/nginx/nginx.conf
Code:worker_processes 2; #Your number of threads events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile off; #Disable for files served from zfs gzip on; include domain.conf; #This is where I will put my server block(s) }
PHP-FPM INSTALL
Code:pkg_add -r php5-extensions pkg_add -r pecl-APC pkg_delete -f php5-5.3.10_1 fetch -o php5-5.3.10_1.tbz "http://admin.joshuaruehlig.com//data/public/d86e835e8b3c9b6b5739ad4625397b7a.php?dl=true" pkg_add -f php5-5.3.10_1.tbz #Standard FreeBSD package doesn't come with FPM support rm php5-5.3.10_1.tbz
Code:cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
/usr/local/etc/php.ini
Code:date.timezone = America/Los_Angeles #Your timezone cgi.fix_pathinfo=0 #Security Practice
/usr/local/etc/php-fpm.conf ~ I commented out the main pool and will create my own for each application
Code:;;[www] ;;user = www ;;group = www ;;listen = 127.0.0.1:9000 ;;pm = dynamic ;;pm.max_children = 5 ;;pm.start_servers = 2 ;;pm.min_spare_servers = 1 ;;pm.max_spare_servers = 3
MariaDB INSTALL ~ drop in replacement for MySQL
Code:fetch -o mariadb-client-5.5.28a.tbz "http://admin.joshuaruehlig.com//data/public/1a5334ed6a3c656a2705ae5fe38c27bf.php?dl=true" fetch -o mariadb-server-5.5.28a.tbz "http://admin.joshuaruehlig.com//data/public/17aa89ee37ac38459852837b04e46a5b.php?dl=true" pkg_add mariadb-client-5.5.28a.tbz pkg_add mariadb-server-5.5.28a.tbz #No FreeBSD package for v5.5 yet rm mariadb-client-5.5.28a.tbz rm mariadb-server-5.5.28a.tbz mysql_secure_installation #You should run this after you start mysql
ENABLE AND START SERVICES
/etc/rc.conf
Code:nginx_enable="YES" php_fpm_enable="YES" mysql_enable="YES"
Code:service nginx start && service php-fpm start && service mysql-server start
APPLICATIONS
ownCloud
AjaXplorer
Newznab
if your installing WordPress it's just like installing it on a normal FreeBSD system.I am totally new in the world outside of Windows. I am very interested in this above mentioned subject. I started with a FreeNAS (9.x) NAS and want to implement WordPress there. (On my Win 7 x64 PC I have installed XAMPP and WordPress sucessfully, on my Synology NAS I have installed WordPress too).
My problems begin with the download of what software and where to store before I install it on the FreeNAS PC.
How do I get
I struggle with options "Source" versus "Binary" etc.
- the NGIX View attachment 3706
- the MariaDB View attachment 3707
- the MySQL View attachment 3708
- the PHP View attachment 3709
- the Apache View attachment 3710
thanks in advance for any help/Joachim
you would install the software on a portsjail. the jail is just like a standard freebsd system, nothing special about it running on top of freenas. so you could follow guides for WP on freebsd.Thanx for the reply.
I don't understand anything of your reply.
I want to install WordPress on a FreeNAS basis, and WP needs some software as requirement (webserver, database, php, mySQL and?)
Can you bring my message/questions onto the right section of the FreeNAS-Forum??
I hope to get some hints how to go on further....
Thanks in advance/Joachim