My company uses Plesk as a solution to manage hosts. They write websites using php. I wonder, how can I find this kind of solution to manage hosts, but I want to write apps with Go. Is it possible to use Plesk and still write with Go? If the question sounds stupid you don't have to answer.
评论:
pampurio97:
Plesk is an "high-level" panel that lets you manage services like FTP, mail, DNS without having to use the terminal directly. It works well with PHP because PHP applications are deployed copying the source code files on the server, and then the web server uses those files to run your application.
Go is a bit different. You need to compile the source code into an executable file and then run that file as a process in the background, so that it's always up. One way to achieve that is to use a systemd service (on Linux), or to use Docker containers.
Plesk is... old, and usually used for "simple" website hosting. It's often provided by the hosting provider so that you can manage your web space easily without messing with the system directly. When you want to manage Go/.NET/Java/Node.js/... applications, Plesk doesn't really play nice. I don't think anyone uses Plesk for applications other than PHP, honestly. I see it as an "obsolete" way of doing things, actually.
