Could you please upload the basic installing tutorial video for Ubuntu Server 18.04 LTS


(Sowndar M) #1

I’m new to the azure, its hard for me to install the iscourse in azure even I can’t understand your written tutorial. some of the command is not working.


#2

Have you done a search on youtube? I can see a few that might help you to some extent (but given they are not created by the Discourse team YMMV).

Rather than asking someone to produce an entire video, perhaps detailing your specific issues might get you to the solution quicker?

I trust you are following this?:

https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md


(Sowndar M) #3

How to setup Discourse on Azure I follow these step when i create tej swap I facewhen i the issue
create the [SwapFaq - Community Help Wiki]


(Jeff Atwood) #4

Any ideas on this @blake?


(Blake Erickson) #5

I don’t know where the command Get-AzureRmEffectiveNetworkSecurityGroup came from, but you don’t need the instructions in the SwapFaq link to setup swap, you should follow the swap instructions in How to setup Discourse on Azure.

Specifically did you edit /etc/waagent.conf and restart your vm?


(Sowndar M) #6

Hi blake I stuck with S edit /etc/waagent.conf i am new to ubuntu and azure I can’t find the path or file could you suggest me where can I find the path or file to edit this


(Blake Erickson) #7

No worries I’ll try and walk you through it…

Above you are using “Run Command Script”. This won’t work. You will either need ssh access into the machine or you can use the Azure Serial Console from the Azure Portal. You can find the Serial Console by clicking on your VM in the azure portal and it will show up in the left pane at the bottom:

image

Once you have shell access let me know.


(Blake Erickson) #8

Once you have shell access you can type: sudo cat /etc/waagent.conf (followed by enter) to view the contents of that file.

To edit /etc/waagent.conf per the instructions you can simply copy and paste this entire command:

sudo sed -i '/ResourceDisk.Format=n/c\ResourceDisk.Format=y' /etc/waagent.conf && \
sudo sed -i '/ResourceDisk.EnableSwap=n/c\ResourceDisk.EnableSwap=y' /etc/waagent.conf && \
sudo sed -i '/ResourceDisk.SwapSizeMB=0/c\ResourceDisk.SwapSizeMB=2048' /etc/waagent.conf

then press enter. Then you can restart the vm.


(Sowndar M) #10

Yes blake it install after that what I need to do.


(Blake Erickson) #11

Okay, I’m not sure what step you are at. Were you able to run the command above to edit the /etc/waagent.conf and did you restart your vm?


(Sowndar M) #12

Yes i did it. I excute the above comment and restrat it


(Blake Erickson) #13

Awesome. To verify that the swap has been turned on can you open up the console again and run this command:

swapon --show

Then copy/paste the output into here?

Out of curiosity was is the size of your VM?

If that all looks then you can follow the official cloud install guide starting with the Install Docker section.


(Sowndar M) #14

it show the below output

NAME          TYPE SIZE USED PRIO
/mnt/swapfile file   2G   0B   -2

(Blake Erickson) #15

Good job. Looks good. Swap should be working. Go ahead and follow the official cloud install guide now.


(Sowndar M) #21

Hi Blake

Thanks for walk through its working fine. :grinning::grinning::grinning:


(system) #22

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.