filmov
tv
FreeBSD Web Server 01 - Nginx Config Explained, PHP and MySQL Setup
Показать описание
pkg install nginx mysql56-server php56 php56-mysql
rehash
mysql_enable="YES"
nginx_enable="YES"
php_fpm_enable="YES"
cd /usr/local/etc
service php-fpm start # sudo
service mysql-server start # sudo
mysql_secure_installation # sudo
service mysql-server restart # sudo
service nginx start # sudo
user www;
worker_processes 8;
(configure server block)
root /usr/local/www/nginx;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
mkdir -p /var/log/nginx # sudo
rm /usr/local/www/nginx # sudo
mkdir /usr/local/www/nginx # sudo
nginx -t # sudo
service nginx restart # sudo
TEST via HTTP
FreeBSD Web Server 01 - Nginx Config Explained, PHP and MySQL Setup
Building Web Server with FreeBSD: #01. FreeBSD Installation
FreeBSD SysAdmin #1 WebServer & CMS PART 1
How to Install Apache from Source on Freebsd 11.1
FreeBSD 9 - Apache22 http-server
FreeBSD in 100 Seconds
install web server di freebsd
Веб-сервер на FreeBSD ч.1 Введение / Introduction to a FreeBSD web-server (p.1)
FreeBSD + Apache + MySQL + PHP - partie 1
FreeBSD FAMP Server
FreeBSD SysAdmin #1 WebServer & CMS PART 4
how to install apache web server in freebsd offline using port
FreeBSD Nginx Web Server Setup
How to Install Nginx from Source on FreeBSD 11.1
How to set up a FAMP server (FreeBSD, Apache, MySQL, PHP) + webmin admin panel on GhostBSD / FreeBSD
FreeBSD 9 - PHP for Apache22
FreeBSD SysAdmin #1 WebServer & CMS PART 7
FreeBSD SysAdmin #1 WebServer & CMS PART 3
Сервер на FreeBSD: Web-сервер
Как поднять web-сервер на FreeBSD [GeekBrains]
Straight outta 1997. 200mhz freeBSD webserver Gateway 1000e
FreeBSD SysAdmin #1 WebServer & CMS PART 5
04_How to install apache web server in FREEBSD | Virtualbox
[ NGINX ] Create Your Own Web Server in FreeBSD by Nicholas Lee Fagan
Комментарии