question

Carlinhos-3363 avatar image
0 Votes"
Carlinhos-3363 asked ·

Servidor Ubuntu

Pessoal, boa noite

Tenho uma maquina virtual Linux (Azure) que já está com apache e php instalados.
Já exportei todo meu projeto na VM.
Mas, agora estou com dificuldade em como publicar o site. Meu objetivo é gerenciar a aplicação no meu próprio servidor.
Vejo que no Azure poderia criar um serviço de aplicação, mas como já possuo uma maquina, queria gerenciar nele mesmo.

Alguém poderia me dá uma dica?




Guys, good night

I have a Linux virtual machine (Azure) that already has apache and php installed.
I have already exported my entire project on the VM.
But, now I'm having a hard time on how to publish the site. My goal is to manage the application on my own server.
I see that in Azure I could create an application service, but as I already own a machine, I wanted to manage it myself.

Could someone give me a tip?

azure-virtual-machines
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Carlinhos-3363
As we are mainly responsible for general issue of Microsoft Teams, your question is not in our scope. I will remove office-teams-linux-itpro tag. Thanks for your understanding.

0 Votes 0 ·

1 Answer

vipullag-MSFT avatar image
0 Votes"
vipullag-MSFT answered ·

@Carlinhos-3363

As you already have the Linux VM deployed, you can try deploying the apache application following the steps here.
Few high level things you should consider in this are:
Ensure the httpd is installed.
In httpd.conf file, setup the Listen statement which defines the IP address and port on which Apache is to be configured listen for page requests.
Ensure your DocumentRoot "/var/www/html" has the required application files that you have exported.
Permissions on the files.
Opening port 80 in the VM on Linux (IP tables and also on NSG).


Hope this helps.

Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.




·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.