If you have an account with Windows Azure, you can apply for a free trial account on the Windows Azure China website If you don't have one. Haha, I am the first batch of application of the trial account, I feel very lucky. The application process will not be written, please self-google! Oh, sorry (GFW), please own Baidu.
First sign in to Windows Azure, and then let's go ahead and make strides!
1. First let's create a virtual machine that runs the Ubuntu operating system
Click "New" in the lower left corner of the interface
A dialog box will pop up to let you choose which operating system you want to create a new virtual machine
I select Ubuntu Server 14.04 LTS and then click on the right arrow in the lower corner to proceed to the next
The version date represents the date that the operating system was updated. Virtual machine name you write it yourself, it's just a name! Virtual machine size also with you, look at your account level! The new user name is also yours, this user name is the virtual machine created after the completion of the account used to login! Authentication simple point, use the "Provide password" option. Password you look at it yourself, but still must remember Ah, login not virtual machine, you find a place to cry!
Let's go to the next step:
Cloud service DNS name or you do it yourself, "Regional/affinity Group/virtual network" Learn to choose again. If you do not understand, choose "North China" or "East China", north China is Beijing data center, east China is Shanghai data Center. There seems to be no problem with North-South network latency in Azure. Go ahead.
There's nothing to say, just click "√" and your first Azure virtual machine is born.
Windows Azure uses this interface to tell you that it's busy creating a virtual machine for you! Just wait for a moment.
See this, your virtual machine is built. How do I log in to operate this virtual machine?
Click the right arrow in the Pink Circle and select dashboard:
The black box is marked with the SSH login address, and the port number.
Below we use the SSH client to log into the virtual machine, with what software, I do not know what you use? , I use the putty. User name and password do not know? No way, Big Luo Immortal can not save you!
Log in, I am generally accustomed to the server software is refreshed once, with the following two commands:
sudo apt-get update
sudo apt-get upgrade
And then:
sudo reboot
Reboot, personal habits!
Now let's install the PostgreSQL database:
sudo apt-get install PostgreSQL
Finished, bath to sleep, simple?