简体   繁体   中英

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. I am really grateful if you are answering my below queries.

1.Whether its secure or not. If no, how to configure secure xampp server.Please also mention
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

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. In general there's no difference in installing and configuring software on standard server or GCE VM.

Have a look at the tutorial Setting Up LAMP on Compute Engine :

This page shows you how to get a LAMP stack running on a Google Compute Engine virtual machine instance. Follow the steps in this tutorial to configure LAMP on a Debian, Ubuntu, or CentOS instance.

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 .

you can use centos to configure your apache mysql php to run your site. For more info visit the link here,

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM