First entry to the Linux system

Source: Internet
Author: User

As Microsoft's old iron powder, see Microsoft into Linux so long, it is time to keep up with the script, or should lag behind, the pace is so fast, really let me take a surprise, said dry dry,

No kidding, no one can stop. NET open source, cross-platform footsteps. When others said. NET rotten, I was speechless, indeed because of the drag control to get started Webform,.net

The price is once low, and tightly tied to Windows, want to drive to Linux above, need to use Mono,jexus and so on. Now who's going to say that, pay attention, I'll godless back,

The latest. NET Web technology. NET Core 2.0 can already be deployed to the LINUX,MAC system like java,php without the help of other tools, and of course its stronghold windows must

Must still be possible, the difference is that it has been able to completely decouple from Windows, the previous mono, running is actually a Windows service, now we do not, yes, the old iron you did not listen to

Wrong, java,php How to run, I will run, because I still use the vs2015, No. NET Core 2.0 demo, Dot Blog Park above the predecessors of the map

Http://www.cnblogs.com/sword-successful/p/5964999.html

First, VMware set up a CentOS 7, before the knowledge of Linux only it is all on the input command line work, starting from 0 to learn,

So I started to put on an introductory version of the Ubuntu system that looks like this

Installation steps I will not say, Baidu Google above a search has a lot of tutorials, I only said I met the pit

Linux Operations Documentation: Https://github.com/geffzhang/opendotnet/blob/master/Linux/Linux%20%E7%AE%80%E8%A6%81.pdf

Vim Level document: https://coolshell.cn/articles/5426.html

It's all Daniel's documents.

1. How to enter the root account command Sudo-i, and then prompt to enter the current user's password, enter after the return to come out,

The left side with $ when the ordinary account, the right with # is the root user

2.

Problems with 3.yum sources

NetEase (163) Yum Source is one of the best yum sources in the country, whether it is speed or software version, is very good, set the Yum source to 163yum, can improve package installation

and update the speed while avoiding some common software versions that cannot be found. Here's how to set it up:

1, enter the Yum source configuration directory
Cd/etc/yum.repos.d

2, the backup system comes with the Yum source
MV Centos-base.repo CENTOS-BASE.REPO.BK
Download 163 NetEase's Yum Source:
wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo

3, after updating the Yum source, perform the following command to update the Yum configuration so that the operation takes effect immediately
Yum Makecache

4. Installing Nginx

According to this article: http://www.linuxidc.com/Linux/2016-09/134907.htm

Whereis nginx command to view nginx installation location

use the./nginx-s Reload to re-read the configuration file and find the report nginx: [ERROR] Open ()/usr/local/nginx/logs/nginx.pid failed (2:no such file or D irectory) Error,

Into the logs file found no Nginx.pid file, manually create the file Nginx.pid file

Specify the location of the nginx.conf file using the NGINX-C parameter

Command:/usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx.conf

Nginx Daemon (that is, Windows services) has not been created, because the virtual machine can not be shared to the host's clipboard, that a large piece of code to manually write a very troublesome,

Let's not do it.

5.Ping always Ping down, do not stop

CTRL + C can terminate Ping, about this part of the knowledge Linux operation document inside

It's called terminating the command operation, which is very specific.

6. Deploy the. NET core environment, follow this article to get OK, pro-test effective

Http://www.cnblogs.com/iamzl/p/7363766.html

Above the pit are I look everywhere to find the answer to solve, pro-test are effective, if a friend and encounter similar problems, you can leave a message to help solve.

First entry to the Linux system

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.