基于 Web 的 IDE,具有用于 *nix 的 shell/文件管理集成

发布于 2024-10-08 09:58:16 字数 500 浏览 1 评论 0原文

是否有类似 Web 应用程序(如 php)的东西可以公开对其安装的服务器上的文件的访问、shell 访问和集成 IDE?

我知道这不是安全的东西,但出于开发目的,当您有一个无法直接访问的 *nix 开发服务器时(例如,您位于代理后面并且只能导航 *:80),它会很有用。

我知道各种管理工具 WebadmincPanel,但他们缺乏任何基于 Web 的 IDE 来编辑文件(据我所知)。

也许 Mozilla Skywriter (前 Bespin 项目)与我所追求的类似,但我不确定它的当前状态(考虑到他们正在重写它),最重要的是我认为它缺乏服务器端集成。

任何建议表示赞赏。

is there anything like a web application (like in php) that exposes access to the files on the server it's installed on, shell access and integrated IDE?

I know it's not something secure, but for development purposes it would be useful when you have a *nix dev server you can't directly access (like, you're behind a proxy and can only navigate *:80).

I know of various administration tools a-la Webadmin or cPanel, but they lack any sort of web-based IDE to edit the files (as long as i know).

Maybe Mozilla Skywriter (ex Project Bespin) is similar to what I'm after, but I'm not sure about its current state (considering that they're in the process of rewriting it) and most of all i think it lacks server-side integration.

Any suggestion appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

久光 2024-10-15 09:58:16

您是否尝试过 ShiftEdit 或 CodeRun?

两者都是基于 Web 的 HTML/CSS/JS/PHP 编辑器,具有一些不错的 IDE 功能(代码片段、语法调试)。我相信两者都是 SaaS,因此无需将其托管在您自己的计算机上。

您可能还对 ECCO 感兴趣,它是开源的,因此您可以自行托管它。

Have you tried ShiftEdit or CodeRun?

Both are web-based HTML/CSS/JS/PHP editor with some decent IDE features (snippets, syntax debugging). I believe both are SaaS, so no hosting it on your own machine.

You might also be interested in ECCO, which is open-source, so you can self-host it.

梦一生花开无言 2024-10-15 09:58:16

Webmin 有一个文件管理器;您还可以创建自定义命令以允许按用户情况编辑特定文件。

文件管理器:使用类似 Windows 的文件管理器查看、编辑和更改系统上文件和目录的权限。所有操作系统。

它默认使用 https,并且与任何其他远程访问工具(例如 SSH)一样安全。

Webmin has a file manager; you can also create custom commands to allow edition of particular files in user by user case.

File Manager: View, edit and change permissions on files and directories on your system with a Windows-like file manager. All operating systems.

It uses https by default and can be as secure as any other remote access tool like SSH, for example.

流殇 2024-10-15 09:58:16

如果您使用的是 Linux 客户端,或者可以通过 Cygwin 之类的工具获得 X11 环境,我建议通过 SSH 使用 X11 转发。一旦完成设置,就很容易从

ssh -X user@server

那里开始,您可以从命令行启动 Eclipse 或任何其他 IDE/编辑器。

我还没有看到任何可在服务器上安装的在线 IDE,但如果您不介意将代码托管在他们的服务器上,那么有很多。 Coderun 有一个,Ideone 是另一个。

您可能想查看这个简洁解释的 SF 项目:http://online-ide.sourceforge.net/< /a>.这看起来像是您正在寻找的东西的第一次尝试。

If you are on a Linux client, or can get an X11 environment through something like Cygwin, I would suggest using X11 forwarding over SSH. Once you get it set up it's as easy as

ssh -X user@server

From there on out, you could start Eclipse, or any other IDE/Editor from the command line.

I haven't seen any server-installable online IDE's, but there are a number of them if you don't mind hosting your code on their servers. Coderun has one, Ideone is another.

You might want to check out this tersely-explained SF project: http://online-ide.sourceforge.net/. It looks to be like a first-attempt at what you're looking for.

揪着可爱 2024-10-15 09:58:16

你的问题没有简单的答案。根据 Web 服务器的不同,您可能有一系列可用的选项,但一般来说,出于明显的原因,Web 服务器对于公开其内部环境/代码非常严格。

在我的工作场所,我们遇到了类似的情况,对生产服务器的访问受到限制。我们的解决方法是创建一个受密码保护的上传服务,该服务只是覆盖我们想要从计算机上的本地副本修改的文件。虽然我们没有安装任何就地编辑系统,但可以通过 CodeMirror (http://codemirror.net/) 和一些 ajax 调用轻松完成。

不用说,这种方法的可行性取决于您配置目标 Web 服务器的上传行为的管理权限。

There's no simple answer to your question. Depending on the web server, there may be a whole spectrum of options available to you but in general web servers are quite strict about exposing their internal environment/code for obvious reasons.

At my work place, we ran into a similar situation with restricted access to our production server. Our work around was to create a password protected upload service which simply overwrote the files we wanted to modify from local copies on our machines. Whilst we didn't install any in-place editing system, it could easily be done, via CodeMirror (http://codemirror.net/) and some ajax calls.

It goes without saying that the viability of this approach is dependent on your administrative right to configure the uploading behaviour of the target web server.

伤感在游骋 2024-10-15 09:58:16

通常,通过 ssh 命令行访问开发服务器。 Windows ssh 客户端有多种,最著名的是 putty。还有可以通过 http 运行的 ssh 隧道。

ssh 解决方案的功能比 Web 服务器应用程序的功能要强大得多。

远程图形访问通常使用 VNC 以及最近的 RDP 来完成。值得注意的是,本地 Xserver 可用于为运行开发服务器的应用程序提供显示。

这些应用程序可以提供编辑文件的能力,而允许 Web 应用程序写入访问权限是非常不安全的。

我发现 Web 应用程序提供的功能比上述选择提供的功能要少得多。在配置文件等有限情况下,Web 应用程序可以提供更简单的界面来进行标准更改。

Typically command line access to development servers is via ssh. There are various Windows ssh clients, most notably putty. There are also ssh tunnels which can run over http.

The capabilities of an ssh solution are significantly greater that would be available to a web server application.

Remote graphical access is often done using VNC, and more recently RDP. Alertatively, a local Xserver can be be used to supply a display for applications running the development server.

These applications can provide the ability to edit files for which it is very insecure to allow a web application write access.

The web applications, I have seen provide significantly less functionality than is available through the above choices. In limited cases such as configuration files, the web application may provide a simpler interface to do standard changes.

2024-10-15 09:58:16

PHPShell 非常酷,它只是为您提供了一个 shell。

http://phpshell.sourceforge.net/

当然不能通过它使用“集成IDE”。但如果你有一个像样的 IDE,那么它应该能够通过 SFTP 访问你的远程文件并直接打开/保存它们。

也就是说,我建议远离任何受到如此限制以至于无法提供 shell 访问权限的主机,或者使用 ssh 隧道找到绕过代理的方法。

PHPShell is pretty cool, it just gives you, well... a shell.

http://phpshell.sourceforge.net/

can't use an "Integrated IDE" through it of course. But if you have a decent IDE then it should be able to access your remote files through SFTP and open/save them directly.

That said, I would recommend moving away from any host that is so limited as to not give you shell access, or find some way around the proxy using ssh tunnels.

只是我以为 2024-10-15 09:58:16

goormIDE 具有基于 Web 的 shell 和文件浏览器。

这看起来像 Visual Studio 或 Eclipse

我想你需要尝试一下~

如果你使用node.js,只需输入以下内容

$ npm install goorm -g

goormIDE has web-based shell and file explorer.

this looks like visual studio or eclipse

i think you need to try this~

if you use node.js, just type this

$ npm install goorm -g
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文