找回密码
 立即注册
搜索
查看: 565|回复: 0

Ubuntu 安装 Nginx

[复制链接]

267

主题

0

回帖

1154

积分

管理员

积分
1154
发表于 2024-1-29 01:12:05 | 显示全部楼层 |阅读模式

apt-get install nginx

查看服务运行状态:service nginx status

查看服务所使用的端口:netstat -nap |grep nginx

网页浏览器访问服务器 IP 显示:

Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|棱讯科技 ( 粤ICP备2024228160号-2|粤公网安备44030002003510号 )

GMT+8, 2024-11-21 20:49 , Processed in 0.016291 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表