Установка MySql+PHP

Status
Not open for further replies.

Mr.Epic

Cadet
Joined
Nov 18, 2014
Messages
3
Здравствуйте, 3 дня назад поставил FreeNAS 9.2.1.8, первый раз.
Но на днях решил на него поставить MySQL+PHP ,наткнулся на единственные русскоязычные статьи ,по установки MySQL, PHP и PHPMyAdmin ,вот они:
Первая
Вторая
MySql установить вроде получилось ,после долгих попыток.
Но с PHP не как не получается.
Ввожу:
pkg_add -r php5
И вот что мне приходит в ответ:
Code:
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.2-release/Lates                                                                                                                                                             t/php5.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.2-release/All/p                                                                                                                                                             kgconf-0.9.2_1.tbz... Done.
share/licenses/pkgconf-0.9.2_1/catalog.mk: Failed to create dir 'share/licenses/                                                                                                                                                             pkgconf-0.9.2_1'Can't create 'share/licenses/pkgconf-0.9.2_1/catalog.mk'
share/licenses/pkgconf-0.9.2_1/LICENSE: Failed to create dir 'share/licenses/pkg                                                                                                                                                             conf-0.9.2_1'Can't create 'share/licenses/pkgconf-0.9.2_1/LICENSE'
share/licenses/pkgconf-0.9.2_1/BSD: Failed to create dir 'share/licenses/pkgconf                                                                                                                                                             -0.9.2_1'Can't create 'share/licenses/pkgconf-0.9.2_1/BSD'
bin/pkgconf: Could not unlink
bin/pkg-config: Could not unlink
share/aclocal/pkg.m4: Could not unlink
tar: Error exit delayed from previous errors.
pkg_add: extract_plist: can not invoke 228 byte tar pipeline: /usr/bin/tar cf -                                                                                                                                                              share/licenses/pkgconf-0.9.2\_1/catalog.mk share/licenses/pkgconf-0.9.2\_1/LICEN                                                                                                                                                             SE share/licenses/pkgconf-0.9.2\_1/BSD bin/pkgconf bin/pkg-config share/aclocal/                                                                                                                                                             pkg.m4|/usr/bin/tar --unlink -xpPf - -C /usr/local
pkg_add: pkg_add of dependency 'pkgconf-0.9.2_1' failed!
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.2-release/All/p                                                                                                                                                             cre-8.33.tbz... Done.
share/licenses/pcre-8.33/catalog.mk: Could not unlink
share/licenses/pcre-8.33/LICENSE: Could not unlink
share/licenses/pcre-8.33/BSD: Could not unlink
man/man1/pcre-config.1.gz: Could not unlink
man/man1/pcregrep.1.gz: Could not unlink
man/man1/pcretest.1.gz: Could not unlink
man/man3/pcre.3.gz: Could not unlink
man/man3/pcre16.3.gz: Could not unlink
man/man3/pcre32.3.gz: Could not unlink
man/man3/pcre_assign_jit_stack.3.gz: Could not unlink
man/man3/pcre_compile.3.gz: Could not unlink
man/man3/pcre_compile2.3.gz: Could not unlink
man/man3/pcre_config.3.gz: Could not unlink
man/man3/pcre_copy_named_substring.3.gz: Could not unlink
man/man3/pcre_copy_substring.3.gz: Could not unlink
man/man3/pcre_dfa_exec.3.gz: Could not unlink
man/man3/pcre_exec.3.gz: Could not unlink
man/man3/pcre_free_study.3.gz: Could not unlink
man/man3/pcre_free_substring.3.gz: Could not unlink
man/man3/pcre_free_substring_list.3.gz: Could not unlink
man/man3/pcre_fullinfo.3.gz: Could not unlink
man/man3/pcre_get_named_substring.3.gz: Could not unlink
man/man3/pcre_get_stringnumber.3.gz: Could not unlink
man/man3/pcre_get_stringtable_entries.3.gz: Could not unlink
man/man3/pcre_get_substring.3.gz: Could not unlink
man/man3/pcre_get_substring_list.3.gz: Could not unlink
man/man3/pcre_jit_exec.3.gz: Could not unlink
man/man3/pcre_jit_stack_alloc.3.gz: Could not unlink
man/man3/pcre_jit_stack_free.3.gz: Could not unlink
man/man3/pcre_maketables.3.gz: Could not unlink
man/man3/pcre_pattern_to_host_byte_order.3.gz: Could not unlink
man/man3/pcre_refcount.3.gz: Could not unlink
man/man3/pcre_study.3.gz: Could not unlink
man/man3/pcre_version.3.gz: Could not unlink
man/man3/pcreapi.3.gz: Could not unlink
man/man3/pcrebuild.3.gz: Could not unlink
man/man3/pcrecallout.3.gz: Could not unlink
man/man3/pcrecompat.3.gz: Could not unlink
man/man3/pcrecpp.3.gz: Could not unlink
man/man3/pcredemo.3.gz: Could not unlink
man/man3/pcrejit.3.gz: Could not unlink
man/man3/pcrelimits.3.gz: Could not unlink
man/man3/pcrematching.3.gz: Could not unlink
man/man3/pcrepartial.3.gz: Could not unlink
man/man3/pcrepattern.3.gz: Could not unlink
man/man3/pcreperform.3.gz: Could not unlink
man/man3/pcreposix.3.gz: Could not unlink
man/man3/pcreprecompile.3.gz: Could not unlink
man/man3/pcresample.3.gz: Could not unlink
man/man3/pcrestack.3.gz: Could not unlink
man/man3/pcresyntax.3.gz: Could not unlink
man/man3/pcre_utf16_to_host_byte_order.3.gz: Could not unlink
man/man3/pcre_utf32_to_host_byte_order.3.gz: Could not unlink
man/man3/pcreunicode.3.gz: Could not unlink
man/man3/pcre16_assign_jit_stack.3.gz: Could not unlink
man/man3/pcre32_assign_jit_stack.3.gz: Could not unlink
man/man3/pcre16_compile.3.gz: Could not unlink
man/man3/pcre32_compile.3.gz: Could not unlink
man/man3/pcre16_compile2.3.gz: Could not unlink
man/man3/pcre32_compile2.3.gz: Could not unlink
man/man3/pcre16_config.3.gz: Could not unlink
man/man3/pcre32_config.3.gz: Could not unlink
man/man3/pcre16_copy_named_substring.3.gz: Could not unlink
man/man3/pcre32_copy_named_substring.3.gz: Could not unlink
man/man3/pcre16_copy_substring.3.gz: Could not unlink
man/man3/pcre32_copy_substring.3.gz: Could not unlink
man/man3/pcre16_dfa_exec.3.gz: Could not unlink
man/man3/pcre32_dfa_exec.3.gz: Could not unlink
man/man3/pcre16_exec.3.gz: Could not unlink
man/man3/pcre32_exec.3.gz: Could not unlink
man/man3/pcre16_free_study.3.gz: Could not unlink
man/man3/pcre32_free_study.3.gz: Could not unlink
man/man3/pcre16_free_substring.3.gz: Could not unlink
man/man3/pcre32_free_substring.3.gz: Could not unlink
man/man3/pcre16_free_substring_list.3.gz: Could not unlink
man/man3/pcre32_free_substring_list.3.gz: Could not unlink
man/man3/pcre16_fullinfo.3.gz: Could not unlink
man/man3/pcre32_fullinfo.3.gz: Could not unlink
man/man3/pcre16_get_named_substring.3.gz: Could not unlink
man/man3/pcre32_get_named_substring.3.gz: Could not unlink
man/man3/pcre16_get_stringnumber.3.gz: Could not unlink
man/man3/pcre32_get_stringnumber.3.gz: Could not unlink
man/man3/pcre16_get_stringtable_entries.3.gz: Could not unlink
man/man3/pcre32_get_stringtable_entries.3.gz: Could not unlink
man/man3/pcre16_get_substring.3.gz: Could not unlink
man/man3/pcre32_get_substring.3.gz: Could not unlink
man/man3/pcre16_get_substring_list.3.gz: Could not unlink
man/man3/pcre32_get_substring_list.3.gz: Could not unlink
man/man3/pcre16_jit_exec.3.gz: Could not unlink
man/man3/pcre32_jit_exec.3.gz: Could not unlink
man/man3/pcre16_jit_stack_alloc.3.gz: Could not unlink
man/man3/pcre32_jit_stack_alloc.3.gz: Could not unlink
man/man3/pcre16_jit_stack_free.3.gz: Could not unlink
man/man3/pcre32_jit_stack_free.3.gz: Could not unlink
man/man3/pcre16_maketables.3.gz: Could not unlink
man/man3/pcre32_maketables.3.gz: Could not unlink
man/man3/pcre16_pattern_to_host_byte_order.3.gz: Could not unlink
man/man3/pcre32_pattern_to_host_byte_order.3.gz: Could not unlink
man/man3/pcre16_refcount.3.gz: Could not unlink
man/man3/pcre32_refcount.3.gz: Could not unlink
man/man3/pcre16_study.3.gz: Could not unlink
man/man3/pcre32_study.3.gz: Could not unlink
man/man3/pcre16_utf16_to_host_byte_order.3.gz: Could not unlink
man/man3/pcre32_utf16_to_host_byte_order.3.gz: Could not unlink
man/man3/pcre32_utf32_to_host_byte_order.3.gz: Could not unlink
man/man3/pcre16_version.3.gz: Could not unlink
man/man3/pcre32_version.3.gz: Could not unlink
bin/pcre-config: Could not unlink
bin/pcregrep: Could not unlink
bin/pcretest: Could not unlink
include/pcre.h: Could not unlink
include/pcreposix.h: Could not unlink
include/pcre_scanner.h: Could not unlink
include/pcre_stringpiece.h: Could not unlink
include/pcrecpparg.h: Could not unlink
include/pcrecpp.h: Could not unlink
lib/libpcre.a: Could not unlink
lib/libpcre.la: Could not unlink
lib/libpcre.so: Could not unlink
lib/libpcre.so.3: Could not unlink
lib/libpcre16.a: Could not unlink
lib/libpcre16.la: Could not unlink
lib/libpcre16.so: Could not unlink
lib/libpcre16.so.2: Could not unlink
lib/libpcre32.a: Could not unlink
lib/libpcre32.la: Could not unlink
lib/libpcre32.so: Could not unlink
lib/libpcre32.so.0: Could not unlink
lib/libpcrecpp.a: Could not unlink
lib/libpcrecpp.la: Could not unlink
lib/libpcrecpp.so: Could not unlink
lib/libpcrecpp.so.0: Could not unlink
lib/libpcreposix.a: Could not unlink
lib/libpcreposix.la: Could not unlink
lib/libpcreposix.so: Could not unlink
lib/libpcreposix.so.0: Could not unlink
libdata/pkgconfig/libpcre.pc: Could not unlink
libdata/pkgconfig/libpcre16.pc: Could not unlink
libdata/pkgconfig/libpcre32.pc: Could not unlink
libdata/pkgconfig/libpcrecpp.pc: Could not unlink
libdata/pkgconfig/libpcreposix.pc: Could not unlink
tar: Error exit delayed from previous errors.
pkg_add: extract_plist: can not invoke 4372 byte tar pipeline: /usr/bin/tar cf -                                                                                                                                                              share/licenses/pcre-8.33/catalog.mk share/licenses/pcre-8.33/LICENSE share/lice                                                                                                                                                             nses/pcre-8.33/BSD man/man1/pcre-config.1.gz man/man1/pcregrep.1.gz man/man1/pcr                                                                                                                                                             etest.1.gz man/man3/pcre.3.gz man/man3/pcre16.3.gz man/man3/pcre32.3.gz man/man3                                                                                                                                                             /pcre\_assign\_jit\_stack.3.gz man/man3/pcre\_compile.3.gz man/man3/pcre\_compil                                                                                                                                                             e2.3.gz man/man3/pcre\_config.3.gz man/man3/pcre\_copy\_named\_substring.3.gz ma                                                                                                                                                             n/man3/pcre\_copy\_substring.3.gz man/man3/pcre\_dfa\_exec.3.gz man/man3/pcre\_e                                                                                                                                                             xec.3.gz man/man3/pcre\_free\_study.3.gz man/man3/pcre\_free\_substring.3.gz man                                                                                                                                                             /man3/pcre\_free\_substring\_list.3.gz man/man3/pcre\_fullinfo.3.gz man/man3/pcr                                                                                                                                                             e\_get\_named\_substring.3.gz man/man3/pcre\_get\_stringnumber.3.gz man/man3/pcr                                                                                                                                                             e\_get\_stringtable\_entries.3.gz man/man3/pcre\_get\_substring.3.gz man/man3/pc                                                                                                                                                             re\_get\_substring\_list.3.gz man/man3/pcre\_jit\_exec.3.gz man/man3/pcre\_jit\_                                                                                                                                                             stack\_alloc.3.gz man/man3/pcre\_jit\_stack\_free.3.gz man/man3/pcre\_maketables                                                                                                                                                             .3.gz man/man3/pcre\_pattern\_to\_host\_byte\_order.3.gz man/man3/pcre\_refcount                                                                                                                                                             .3.gz man/man3/pcre\_study.3.gz man/man3/pcre\_version.3.gz man/man3/pcreapi.3.g                                                                                                                                                             z man/man3/pcrebuild.3.gz man/man3/pcrecallout.3.gz man/man3/pcrecompat.3.gz man                                                                                                                                                             /man3/pcrecpp.3.gz man/man3/pcredemo.3.gz man/man3/pcrejit.3.gz man/man3/pcrelim                                                                                                                                                             its.3.gz man/man3/pcrematching.3.gz man/man3/pcrepartial.3.gz man/man3/pcrepatte                                                                                                                                                             rn.3.gz man/man3/pcreperform.3.gz man/man3/pcreposix.3.gz man/man3/pcreprecompil                                                                                                                                                             e.3.gz man/man3/pcresample.3.gz man/man3/pcrestack.3.gz man/man3/pcresyntax.3.gz                                                                                                                                                              man/man3/pcre\_utf16\_to\_host\_byte\_order.3.gz man/man3/pcre\_utf32\_to\_host                                                                                                                                                             \_byte\_order.3.gz man/man3/pcreunicode.3.gz man/man3/pcre16\_assign\_jit\_stack                                                                                                                                                             .3.gz man/man3/pcre32\_assign\_jit\_stack.3.gz man/man3/pcre16\_compile.3.gz man                                                                                                                                                             /man3/pcre32\_compile.3.gz man/man3/pcre16\_compile2.3.gz man/man3/pcre32\_compi                                                                                                                                                             le2.3.gz man/man3/pcre16\_config.3.gz man/man3/pcre32\_config.3.gz man/man3/pcre                                                                                                                                                             16\_copy\_named\_substring.3.gz man/man3/pcre32\_copy\_named\_substring.3.gz man                                                                                                                                                             /man3/pcre16\_copy\_substring.3.gz man/man3/pcre32\_copy\_substring.3.gz man/man                                                                                                                                                             3/pcre16\_dfa\_exec.3.gz man/man3/pcre32\_dfa\_exec.3.gz man/man3/pcre16\_exec.3                                                                                                                                                             .gz man/man3/pcre32\_exec.3.gz man/man3/pcre16\_free\_study.3.gz man/man3/pcre32                                                                                                                                                             \_free\_study.3.gz man/man3/pcre16\_free\_substring.3.gz man/man3/pcre32\_free\_                                                                                                                                                             substring.3.gz man/man3/pcre16\_free\_substring\_list.3.gz man/man3/pcre32\_free                                                                                                                                                             \_substring\_list.3.gz man/man3/pcre16\_fullinfo.3.gz man/man3/pcre32\_fullinfo.                                                                                                                                                             3.gz man/man3/pcre16\_get\_named\_substring.3.gz man/man3/pcre32\_get\_named\_su                                                                                                                                                             bstring.3.gz man/man3/pcre16\_get\_stringnumber.3.gz man/man3/pcre32\_get\_strin                                                                                                                                                             gnumber.3.gz man/man3/pcre16\_get\_stringtable\_entries.3.gz man/man3/pcre32\_ge                                                                                                                                                             t\_stringtable\_entries.3.gz man/man3/pcre16\_get\_substring.3.gz man/man3/pcre3                                                                                                                                                             2\_get\_substring.3.gz man/man3/pcre16\_get\_substring\_list.3.gz man/man3/pcre3                                                                                                                                                             2\_get\_substring\_list.3.gz man/man3/pcre16\_jit\_exec.3.gz man/man3/pcre32\_ji                                                                                                                                                             t\_exec.3.gz man/man3/pcre16\_jit\_stack\_alloc.3.gz man/man3/pcre32\_jit\_stack                                                                                                                                                             \_alloc.3.gz man/man3/pcre16\_jit\_stack\_free.3.gz man/man3/pcre32\_jit\_stack\                                                                                                                                                             _free.3.gz man/man3/pcre16\_maketables.3.gz man/man3/pcre32\_maketables.3.gz man                                                                                                                                                             /man3/pcre16\_pattern\_to\_host\_byte\_order.3.gz man/man3/pcre32\_pattern\_to\_                                                                                                                                                             host\_byte\_order.3.gz man/man3/pcre16\_refcount.3.gz man/man3/pcre32\_refcount.                                                                                                                                                             3.gz man/man3/pcre16\_study.3.gz man/man3/pcre32\_study.3.gz man/man3/pcre16\_ut                                                                                                                                                             f16\_to\_host\_byte\_order.3.gz man/man3/pcre32\_utf16\_to\_host\_byte\_order.3.                                                                                                                                                             gz man/man3/pcre32\_utf32\_to\_host\_byte\_order.3.gz man/man3/pcre16\_version.3                                                                                                                                                             .gz man/man3/pcre32\_version.3.gz bin/pcre-config bin/pcregrep bin/pcretest incl                                                                                                                                                             ude/pcre.h include/pcreposix.h include/pcre\_scanner.h include/pcre\_stringpiece                                                                                                                                                             .h include/pcrecpparg.h include/pcrecpp.h lib/libpcre.a lib/libpcre.la lib/libpc                                                                                                                                                             re.so lib/libpcre.so.3 lib/libpcre16.a lib/libpcre16.la lib/libpcre16.so lib/lib                                                                                                                                                             pcre16.so.2 lib/libpcre32.a lib/libpcre32.la lib/libpcre32.so lib/libpcre32.so.0                                                                                                                                                              lib/libpcrecpp.a lib/libpcrecpp.la lib/libpcrecpp.so lib/libpcrecpp.so.0 lib/li                                                                                                                                                             bpcreposix.a lib/libpcreposix.la lib/libpcreposix.so lib/libpcreposix.so.0 libda                                                                                                                                                             ta/pkgconfig/libpcre.pc libdata/pkgconfig/libpcre16.pc libdata/pkgconfig/libpcre                                                                                                                                                             32.pc libdata/pkgconfig/libpcrecpp.pc libdata/pkgconfig/libpcreposix.pc|/usr/bin                                                                                                                                                             /tar --unlink -xpPf - -C /usr/local
pkg_add: pkg_add of dependency 'pcre-8.33' failed!
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.2-release/All/l                                                                                                                                                             ibiconv-1.14_1.tbz... Done.
man/man1/iconv.1.gz: Could not unlink
man/man3/iconv.3.gz: Could not unlink
man/man3/iconv_open.3.gz: Could not unlink
man/man3/iconv_open_into.3.gz: Could not unlink
man/man3/iconv_close.3.gz: Could not unlink
man/man3/iconvctl.3.gz: Could not unlink
bin/iconv: Could not unlink
include/iconv.h: Could not unlink
include/libcharset.h: Could not unlink
include/localcharset.h: Could not unlink
lib/charset.alias: Could not unlink
lib/libcharset.a: Could not unlink
lib/libcharset.la: Could not unlink
lib/libcharset.so: Could not unlink
lib/libcharset.so.1: Could not unlink
lib/libiconv.a: Could not unlink
lib/libiconv.la: Could not unlink
lib/libiconv.so: Could not unlink
lib/libiconv.so.3: Could not unlink
share/doc/libiconv/iconv.1.html: Failed to create dir 'share/doc/libiconv'Can't                                                                                                                                                              create 'share/doc/libiconv/iconv.1.html'
share/doc/libiconv/iconv.3.html: Failed to create dir 'share/doc/libiconv'Can't                                                                                                                                                              create 'share/doc/libiconv/iconv.3.html'
share/doc/libiconv/iconv_close.3.html: Failed to create dir 'share/doc/libiconv'                                                                                                                                                             Can't create 'share/doc/libiconv/iconv_close.3.html'
share/doc/libiconv/iconv_open.3.html: Failed to create dir 'share/doc/libiconv'C                                                                                                                                                             an't create 'share/doc/libiconv/iconv_open.3.html'
share/doc/libiconv/iconv_open_into.3.html: Failed to create dir 'share/doc/libic                                                                                                                                                             onv'Can't create 'share/doc/libiconv/iconv_open_into.3.html'
share/doc/libiconv/iconvctl.3.html: Failed to create dir 'share/doc/libiconv'Can                                                                                                                                                             't create 'share/doc/libiconv/iconvctl.3.html'
tar: Error exit delayed from previous errors.
pkg_add: extract_plist: can not invoke 655 byte tar pipeline: /usr/bin/tar cf -                                                                                                                                                              man/man1/iconv.1.gz man/man3/iconv.3.gz man/man3/iconv\_open.3.gz man/man3/iconv                                                                                                                                                             \_open\_into.3.gz man/man3/iconv\_close.3.gz man/man3/iconvctl.3.gz bin/iconv in                                                                                                                                                             clude/iconv.h include/libcharset.h include/localcharset.h lib/charset.alias lib/                                                                                                                                                             libcharset.a lib/libcharset.la lib/libcharset.so lib/libcharset.so.1 lib/libicon                                                                                                                                                             v.a lib/libiconv.la lib/libiconv.so lib/libiconv.so.3 share/doc/libiconv/iconv.1                                                                                                                                                             .html share/doc/libiconv/iconv.3.html share/doc/libiconv/iconv\_close.3.html sha                                                                                                                                                             re/doc/libiconv/iconv\_open.3.html share/doc/libiconv/iconv\_open\_into.3.html s                                                                                                                                                             hare/doc/libiconv/iconvctl.3.html|/usr/bin/tar --unlink -xpPf - -C /usr/local
pkg_add: pkg_add of dependency 'libiconv-1.14_1' failed!
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.2-release/All/l                                                                                                                                                             ibxml2-2.8.0_2.tbz... Done.
pkg_add: could not find package pkgconf-0.9.2_1 !
pkg_add: could not find package libiconv-1.14_1 !
pkg_add: pkg_add of dependency 'libxml2-2.8.0_2' failed!
Подскажите пожалуйста как исправить это?
Или может есть более простые методы установки?
 

Mr.Epic

Cadet
Joined
Nov 18, 2014
Messages
3
Вам надо создать джэйл а установить MySQL + PHP внутри его через "pkg" а не "pkg_add".
Не могли бы вы пожалуйста подробнее рассказать ,как это сделать?
Первый раз встречаюсь с FreeNAS и совершено не имею понятия как это делается.
 

Mr.Epic

Cadet
Joined
Nov 18, 2014
Messages
3
Вам надо создать джэйл а установить MySQL + PHP внутри его через "pkg" а не "pkg_add".
Подскажите пожалуйста ,какой тип выбрать у "Jail" ,при создании? (pluginjail, portjail, standart, ....)
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
pluginjail. Выделите неиспользуемый IP-адрес к джейлу. После создании, щёлкнуйте "просмотр jail", выборите ваш джейл. Щёлкнуйте значок "shell" и вводите "pkg install mysql55-server php5"
 
Status
Not open for further replies.
Top