“Freebsd服务器初始化”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
(创建页面,内容为“=ins nginx= <pre> Install nginx using pkg command: pkg install nginx Turn on Nginx service on FreeBSD: sysrc nginx_enable=YES Configure Nginx server by editing /usr/…”)
 
第17行: 第17行:
  
 
[https://www.tecmint.com/install-nginx-mariadb-php-lemp-stack-on-freebsd/ How to Install Nginx, MariaDB and PHP (FEMP) Stack on FreeBSD ]
 
[https://www.tecmint.com/install-nginx-mariadb-php-lemp-stack-on-freebsd/ How to Install Nginx, MariaDB and PHP (FEMP) Stack on FreeBSD ]
 +
 +
 +
[[category:freebsd]] [[category:ops]]

2020年11月18日 (三) 07:25的版本

ins nginx

Install nginx using pkg command: pkg install nginx
Turn on Nginx service on FreeBSD: sysrc nginx_enable=YES
Configure Nginx server by editing /usr/local/etc/nginx/nginx.conf file



include  /usr/local/etc/nginx/conf.d/*.conf;

还是 ports 爽 有自定义什么的呢 

see also

FreeBSD Install Nginx Webserver Tutorial

How to Install Nginx, MariaDB and PHP (FEMP) Stack on FreeBSD