{"id":477,"date":"2016-10-22T19:34:08","date_gmt":"2016-10-22T16:34:08","guid":{"rendered":"https:\/\/burakcaliskan.org\/blog\/?p=477"},"modified":"2016-10-22T19:34:58","modified_gmt":"2016-10-22T16:34:58","slug":"freebsd-paketler","status":"publish","type":"post","link":"https:\/\/burakcaliskan.org\/blog\/freebsd-paketler\/","title":{"rendered":"FreeBSD Paketler"},"content":{"rendered":"<p>pkg install nano<\/p>\n<p>pkg install nginx<\/p>\n<p>pkg install mysql56-server<\/p>\n<p><!--more-->pkg search php<\/p>\n<p>pkg install php56<\/p>\n<p>pkg install php56-mysql<\/p>\n<p>pkg install php56-mysqli<\/p>\n<p>pkg install php56-zip php56-xml php56-json php56-mcrypt php56-mbstring php56-iconv php56-ctype php56-curl php56-session php56-pdo_sqlite php56-sqlite3<\/p>\n<p>pkg install phpmyadmin<br \/>\nnano \/etc\/rc.conf<br \/>\nnginx_enable=&#8221;YES&#8221;<br \/>\nmysql_enable=&#8221;YES&#8221;<br \/>\nphp_fpm_enable=&#8221;YES&#8221;<br \/>\nservice nginx start<br \/>\nservice mysql-server start<br \/>\nmysql_secure_installation \/\/ root \u015fifresi belirlemek i\u00e7in<\/p>\n<p>service php-fpm start<br \/>\nsockstat -4 -l<\/p>\n<p>nano -w \/usr\/local\/etc\/nginx\/nginx.conf<br \/>\nlocation ~ [^\/]\\.php(\/|$) {<br \/>\nfastcgi_split_path_info ^(.+?\\.php)(\/.*)$;<br \/>\nif (!-f $document_root$fastcgi_script_name) {<br \/>\nreturn 404;<br \/>\n}<\/p>\n<p>fastcgi_pass 127.0.0.1:9000;<br \/>\nfastcgi_index index.php;<br \/>\ninclude fastcgi_params;<br \/>\n}<\/p>\n<p>\/usr\/local\/etc\/nginx\/nginx.conf<br \/>\n\/\/\/\/\/\/******\/\/\/\/<\/p>\n<p>location ~ \\.php{<br \/>\nfastcgi_split_path_info ^(.+\\.php)(\/.+)$;<br \/>\nset $php_root \/usr\/home\/burak\/www<br \/>\ninclude fastcgi_params;<br \/>\nfastcgi_index index.php;<br \/>\nfastcgi_pass 127.0.0.1:9000;<br \/>\n}<\/p>\n<p>\/\/\/\/\/\/******\/\/\/\/\/<\/p>\n<p>\/usr\/home\/burak\/www<br \/>\nservice nginx restart<\/p>\n<p>\/usr\/share\/nginx\/www<br \/>\nphpMyAdmin i\u00e7in<br \/>\nfetch https:\/\/files.phpmyadmin.net\/phpMyAdmin\/4.6.0\/phpMyAdmin-4.6.0-all-languages.tar.gz<\/p>\n<p>tar -xzvf phpMyAdmin-4.6.0-all-languages.tar.gz<\/p>\n<p>D\u0131\u015far\u0131dan Eri\u015fim vermek i\u00e7in.<br \/>\nGRANT ALL PRIVILEGES ON *.* TO &#8216;root&#8217;@&#8217;%&#8217; IDENTIFIED BY PASSWORD &#8216;*BE8EA1A642FBAA61B19B790C3ACC7752633C0C5D&#8217; WITH GRANT OPTION;<br \/>\nGRANT ALL PRIVILEGES ON `burak\\_%`.* TO &#8216;burak&#8217;@&#8217;%&#8217;;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>pkg install nano pkg install nginx pkg install mysql56-server<\/p>\n","protected":false},"author":2,"featured_media":478,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[170],"tags":[180,76,299,300,104],"_links":{"self":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/477"}],"collection":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/comments?post=477"}],"version-history":[{"count":3,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/477\/revisions"}],"predecessor-version":[{"id":1688,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/477\/revisions\/1688"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/media\/478"}],"wp:attachment":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/media?parent=477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/categories?post=477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/tags?post=477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}