我是rails的新手。如何找到使用哪个web服务器rails应用程序?启动应用程序的命令是
rails s puma -dp 80 -e production
我还发现apache2没有在服务器上运行。所以我猜彪马被利用了。但是我不确定彪马是不是网络服务器,我找到了描述用nginx设置彪马的。那么我是在使用nginx吗?另外,我在哪里可以找到此web服务器的日志?
我发现我把web框架和web服务器搞混了。
Apache is a web server.
Tornado is a web server written in Python.
Nginx is a web server written in C
Zend is a web framework in php
Flask/Bottle is a web framework in Python
RoR is a web framework written in Ruby
Express is a web framework written in JS under Node.JS
我们可以说node
我正在我的机器Ubuntu 16上做一个Symfony 3项目,我还没有安装XAMPP或LAMP,所以我启动了
php bin/console server:start
[OK] Server listening on http://127.0.0.1:8000
所以,对localhost的HTTP请求:8000的响应是正确的,但我问这是否意味着apache自动安装在我的计算机上?
我看到了许多检查apache是否已安装的选项,这是系统响应:
备选案文1:
apache2 -v
The program 'apache2' is currently not installed