便携式 USB 网络服务器
我正在开发一个需要网络服务器的项目。 网络服务器将用于使用移动设备远程控制演示。
我看到有很多选择,我想知道是否有人可以提供一些建议。
我的标准包括:
便携式,适合 USB 密钥
易于使用 跑步。 用户只需点击 图标,或者理想情况下它会包含一个 自动运行命令。
开源。 我更喜欢根据 GPL 或类似许可获得许可的东西。
运行动态服务器端语言。 我发现大多数人都使用可以完美运行的 PHP,但我对其他语言持开放态度。
如果可能的话,跨平台。
现在我倾向于 XAMPP,但我很想听到一些建议。
I have project that I'm working on that is going to require a webserver. The webserver will be used to remotely control a presentation using a mobile device.
I see there are quite a few options out there and I'm wondering if someone could provide some recommendations.
My criteria include:
Portable, fits on a USB key
Easy to
run. A user can just click on an
icon, or ideally it would include an
autorun command.Open Source. I would prefer something licensed under the GPL or similar.
Runs a dynamic server-side language. I see that most have PHP which works perfectly, but I'm open to other languages.
Cross platform if possible.
Right now I'm leaning towards XAMPP, but I would love to hear some suggestions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
XAMPP 非常适合此目的。
XAMPP is perfect for this.
我推荐 XAMPP,所以我认为你走在正确的道路上。
I recommend XAMPP, so I think you are on the right track.
没有使用过这个,但看起来它就在你的巷子里:
http:// www.blackdot.be/?inc=apache/httpserveronusb
默认支持perl + php。
从页面:
如果您是一名 Web 开发人员,我相信您一定经历过这样的时刻:
“如果我现在有一个网络服务器就好了!”
那么 USB 上的 HTTP 服务器正适合您! USB 上的 HTTP 服务器是一个完全配置的 Web 服务器,通过您的 USB 密钥运行。 插上电源即可使用!
它可以用来向客户展示网站,与您的朋友共享文件(这两种方式都感谢 DAV),或者只是给人们留下深刻的印象,但表现得很极客!
您很特别并且依赖异国情调的第 3 方模块吗?
只需将它们放入模块文件夹中并编辑配置文件即可!
功能:
要求:
Have not used this, but it looks like it would be right up your alley:
http://www.blackdot.be/?inc=apache/httpserveronusb
Supports perl + php by default.
From the page:
If you are a web developer I'm sure you have had that moment where you went:
"If only I had a web server handy right now!"
Then HTTP Server On USB is something for you! HTTP Server On USB is a fully configured web server that runs from your USB-Key. Plug it in and off you go!
It can be use to show of a website to a costumer, share files with your friends (both ways thanks to DAV) or simply impress people but acting all geeky!
Are you special and do you depend on exotic 3rd party module?
Just drop them in the module folder and edit the configuration file!
Features:
Requirements:
我没有使用 XAMPP Lite 或 USBWebserver。 目前运行良好的是 Server2Go。 我永远无法运行 XAMPP,USBWebserver 也不允许我安装 Drupal 或 Wordpress。
通过 Server2Go,我能够在 USB 闪存驱动器上安装 Drupal 7,但是只能使用 SQLite。 我确实需要转到 php 文件夹并复制 Production-php.ini 文件并将其重命名为 php.ini。 需要设置 php.ini 设置才能识别 MySQL 数据库。 不过,出于开发目的,它与 SQLite 一起运行良好。
I have had no luck with XAMPP Lite or USBWebserver. What is currently working really well is Server2Go. I could never get XAMPP to run and USBWebserver would not allow me to install Drupal or Wordpress.
With Server2Go, I was able to install Drupal 7 on the USB Flash Drive, however, only with SQLite. I did need to go to the php folder and copy and rename the production-php.ini file to php.ini. There is a php.ini setting that needs to be set for the MySQL DB to be recognized. It is running well with SQLite for Development purposes though.
LAMPPIX - 看起来不是最新的,但应该可以完成工作。
LAMPPIX - looks like not up to date, but should do the job.
我建议使用 Apache,它非常轻量级并且拥有您需要的一切(PHP)。
I would suggest Apache, pretty lightweight and has everything you'll need (PHP).