Freebsd服务器初始化

来自linux中国网wiki
Evan讨论 | 贡献2020年11月18日 (三) 07:24的版本 (创建页面,内容为“=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/…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

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