简体   繁体   English

我们可以使用 xampp 作为 Google 云 ubuntu vm 实例中的在线服务器吗

[英]Can We use xampp as Online server in Google cloud ubuntu vm instance

Hi to all and Thanks in advance,大家好,在此先感谢,

I am new to google cloud platform.我是谷歌云平台的新手。 Recently i created one google account and created one Ubuntu vm instance on that.Meanwhile, downloaded free version of xampp(php mysql server) from apache and installed on it.And also pointing one domain to that IP.I have a plan to host more website on(by making virtual host) it.I don't know whether its wright or wrong. Recently i created one google account and created one Ubuntu vm instance on that.Meanwhile, downloaded free version of xampp(php mysql server) from apache and installed on it.And also pointing one domain to that IP.I have a plan to host more网站(通过制作虚拟主机)它。我不知道它是对还是错。 I am really grateful if you are answering my below queries.如果您回答我的以下问题,我将不胜感激。

1.Whether its secure or not. 1.是否安全。 If no, how to configure secure xampp server.Please also mention如果没有,如何配置安全的 xampp 服务器。请同时提及
alternative options.替代选择。 If yes, to do something to get it right?.如果是的话,做点什么来做对吗? 2.Please tell me, the proper way to make ubuntu apache server on google cloud platform 2.请告诉我,在google云平台上制作ubuntu apache服务器的正确方法

I am very much eager to hear from you guys.我非常渴望收到你们的来信。

You've already created a VM instance and installed based on Ubuntu and installed XAMPP on it.您已经创建了一个 VM 实例并基于 Ubuntu 安装并在其上安装了XAMPP In general there's no difference in installing and configuring software on standard server or GCE VM.一般来说,在标准服务器或 GCE VM 上安装和配置软件没有区别。

Have a look at the tutorial Setting Up LAMP on Compute Engine :查看在Compute Engine 上设置 LAMP的教程:

This page shows you how to get a LAMP stack running on a Google Compute Engine virtual machine instance.本页向您展示如何让 LAMP 堆栈在 Google Compute Engine 虚拟机实例上运行。 Follow the steps in this tutorial to configure LAMP on a Debian, Ubuntu, or CentOS instance.按照本教程中的步骤在 Debian、Ubuntu 或 CentOS 实例上配置 LAMP。

and check if you missed something.并检查您是否遗漏了什么。

In addition, I'd recommend you a few extra steps:此外,我建议您执行一些额外的步骤:

Going back to your questions :回到你的问题

  1. To avoid some obvious security issues you should follow community tutorial , official documentations, security recommendations for used software and common sense.为了避免一些明显的安全问题,您应该遵循社区教程、官方文档、使用软件的安全建议和常识。
  2. You're able to install LAMP manually (as you already did) or use preconfigured solution from Marketplace .您可以手动安装 LAMP(就像您已经做过的那样)或使用Marketplace中的预配置解决方案。

you can use centos to configure your apache mysql php to run your site.您可以使用 centos 配置您的 apache mysql php 运行您的站点。 For more info visit the link here,欲了解更多信息,请访问此处的链接,

https://www.wlpbasic.tech/how-to-configure-a-lamp-on-centos-7/ https://www.wlpbasic.tech/how-to-configure-a-lamp-on-centos-7/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Cloud Console 虚拟机实例上的 Apache 服务器 - Apache Server on Google Cloud Console VM Instance 在 Google Cloud Compute Engine 虚拟机实例上设置 MySQL - Setting up MySQL on a Google Cloud Compute Engine VM instance 验证使用SMTP协议的电子邮件在Cloud Ubuntu VM实例上不起作用 - Verify Email using SMTP protocol doesn't work on Cloud Ubuntu VM Instance 从 Cloud Run PHP 连接到 Google Cloud Compute Engine 虚拟机上的 MySQL 实例 - Connect to MySQL instance on Google Cloud Compute Engine VM from Cloud Run PHP PHP MySQL PDO 连接到 Google Cloud Z9778840A0100CB30C9822876741B0B 实例不工作 - PHP MySQL PDO Connection to Google Cloud SQL Instance from VM Instance not working Ajax 文件上传适用于 xampp 但不适用于在线服务器 - Ajax File Upload works with xampp but not on online server Google云中的Ubuntu服务器无法在浏览器中运行应用 - Ubuntu server in Google cloud won't run apps in browser PHP API 不适用于 apache2 Ubuntu 服务器上的 Django | 谷歌云 - PHP API is not working With Django on apache2 Ubuntu server | Google Cloud 为什么google cloud vm实例的lamp stack中的mysql会返回错误的查询结果? - Why does mysql in lamp stack on google cloud vm instance return wrong query results? PHP:在 Google Cloud Compute 中创建服务器实例时出错 - PHP: Error in creating Server Instance in Google Cloud Compute
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM