(i) 1, install Ubuntu

Source: Internet
Author: User
Tags file transfer protocol

The tools you need:

      

1, VMware Workstation player-virtual machine software, you can install additional OS in this machine

2. Ubuntu-16.04.3-linux Server

3. WINSCP-FTP tool for transferring files to the server (Ftp:file Transfer Protocol)

4. PUTTY-SSH tool for remote connection to server (Ssh:secure Shell)

All the above open source FREE!!!

First, install Ubuntu

1. Open VM, create virtual machine

2. Browse to the downloaded Ubuntu OS

3. Enter relevant information

4, "Browse", select the installation path (you try to install to the C drive??!!) ), and then the next step is good

5. After a long wait ... And wait for a black box.

6, then enter the user name (demo) and password (of course, will not tell you), note that the last line of the final symbol is $, representing a non-root identity, and sometimes the operation requires us to execute as root

7, enter "Su", and then enter the password again, you can enter the root identity, but I met here "su:authentication failure", I ...

[Email protected]:~$ suPassword: (the password entered here will not be shown) su:authentication failure

8, I first Baidu under ... Yes, because the root password is random ... and then we need to reset the password ... Then after performing the 7th step, you can see the $ into #, and the front of the demo also become root, this is the noble root authority, cool uncomfortable?!!

[Email protected]:~ $sudo passwd(Reset command) [sudo] password for Demo: (Enter new password) Enter the UNIX password: (Enter a new UNIX password, As good as above) retype new UNIX password: (enter password again) Passwd:password updated successfully 

9, then we can ... Hehe hey, so far, Ubuntu is installed, note, not to build, but the actual application, we will not use the virtual machine as a server, but to buy cloud servers, cloud servers in others, we need to connect through the remote, this time Shh tools-putty play its role. Open Putty, this time can not shut down the virtual machine, or I want to connect a server that does not boot?

10, input hostname (IP address), and so on, I seem to have not found out, and then Baidu how to check, suddenly remembered ... (The first sentence is my personal habit, change to the root directory, do not change it does not matter)

[Email PROTECTED]:/HOME/DEMO#CD/[email protected]:/# ifconfig

And then that 192.168.253.129 is the IP address of my virtual machine.

11, then go back to the 9th step to enter the IP address, if you often use can click Save to save relevant information, and then open is good (1 can customize the name)

12, waiting for a long time, it unexpectedly give me a pop-up window ... I... Think about, look at the port opened no, see the 11th step in the Port 22 No, this is the port number of the remote connection, if not open, I ... Just open it.

I... It's really not open, you can check inactive, which is the opposite of active.

[Email protected]:/# UFW statusstatus:inactive

Let's open it. (estimate the firewall is not open, the port how to open it [cover face])

[Email protected]:/# sudo ufw enablefirewall is active and enable on system startup

Then look at the firewall again, I estimate UFW is Ubuntu firewall shorthand (I guess)

[Email protected]:/# UFW statusstatus:active

Okay, here it is, the firewall is open, but ... I want to open port 22 Ah, my 22 ... That's it.

[Email protected]:/# sudo ufw allow 22/tcprule added
Rule added (V6)

And then look at the firewall again, there's something.

[Email protected]:/# UFW Status

Then return to the 11th step, but still no, or error, a small server dare to refuse me!!! I Baidu a bit, the original is not installed Openssh-server

Then install the Openssh-server bar, if you encounter the choice, press "Y" to confirm

[Email protected]:/#sudo apt-get Install Openssh-server

Then we go back to the 11th step, then we have a reaction, of course, the choice is "yes"!

12.

Then the familiar login screen appears, enter the user name (demo) and password (of course, will not tell you)

It's such a familiar interface.

and enter as an administrator.

[Email protected]:/#su
Password: (Enter password)
[Email protected]:/home/demo#

OK, after our operation is here, but the virtual machine can not be shut down, but if it is a cloud server, then no tube, after all, other people's servers open 24 hours a day

Then let's go to the next step. install. NET core, walk up

(i) 1, install Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.