Linux usage tips: Do you want to use it? Figure

Source: Internet
Author: User
Tags log log scp command

Linux usage tips: Do you want to use it? Figure
Recently, a project has come to an end to enter the commissioning test phase. This is a small program project built using the Springboot framework for the daemon, Mpvue. Server I finally chose the CentOS 7.2 version of the Linux operating system.
Why Choose Linux?
I can't comment on the pros and cons of Linux and Windows, and they play an integral role in different areas.
The reason for the final selection of Linux one is that I compared the same configuration under the operation of remote server fluency, although win can use a simple mouse click operation can complete the environment configuration, project startup and other operations, but because this is a development test server, performance configuration is slightly lower, Therefore caused by the remote win desktop when the operation is not so silky, decisively switched the Linux operating system.
The Trouble with Linux:
The first contact of the Linux operating system was in the course of the university period, the Ubuntu distribution was used, but it was forgotten which version, according to the time to estimate the words should be 12.x version. Fuzzy memory is learning a little shell programming, boring learning so that people can not adhere to it, but there are students are very involved in this, every time they see them in the window only the character of the different commands to achieve a different operation is very envious.
Because the learning and entertainment has been used in the win system, so the Linux is not so much. But later in the work, just use win words some work can not be satisfied, because a lot of projects are running in the environment of Linux, so there is a bad complement of Linux experience, from the virtual machine to toss different distribution system, to boldly try to put their notebooks into a dual system, stepping over the countless pits, Finally a foot into the door of Linux, simple common commands can be handy, can basically understand how to run a script, but also thanks to the almighty Google and have to use Baidu, let me learn from countless people experience, solve a seemingly magical problem.

Later, one of the company's "magical" projects in my hands, the project was developed in the Java language, although as an Android engineer, Java Foundation is also possible, do Android before also has written Javaweb project, So I took over the magical project with no choice.
Five CentOS servers (the client side provides, like a virtual machine built), an Oracle database server, a picture server, two Web servers, and one that doesn't seem to be used or forgotten what it is for, using Nginx distribution requests to two Tomcat servers, It was a huge challenge for a Linux rookie who was just getting started with a half-foot, and was finally "perfect" at the end of the two-month-long work to complete the development of the project phase, and then handed over to the other project team, who went on a simple and complex project with a headache. During the period also omitted from me a lot of detours.
It is due to the exercise of this project, the other foot also gradually entered the threshold.
Whether the programmer will be Linux:
When I set up the server environment for this project (and then I configured the JDK), and then successfully packaged and ran the project, I handed the server to the Buddy who was in charge of the applet interface in our project team, which was probably the reason for the lack of experience, and he was very nervous about not using a Linux program. I gave him a run, for granted. The process of publishing the run:
Package project, MAVEN project package A jar is still very simple;
Telnet Server, the use of SSH commands.
To upload the jar to the server, using the SCP command, I feel that the package file or this command is better than FTP.
Different ways to run the jar file, one is to run directly, you can see the input log log, in the debugging phase is very useful, you can quickly locate the error message. 小王子经典语录(http://www.simayi.net/dushubiji/6046.html)读书笔记摘抄及感悟赏析, but the drawback is that the project stops running after logging out, and the other is running in the background, outputting log to file, exiting Telnet or running.
Such a simple command should not be difficult to get started, it depends on his personal understanding ability.
Linux is a tool, and is a very powerful tool, learn to use Linux, but also learn a lot of other knowledge, the operating system, the operation of the project, the management of files and permissions have a deeper understanding, rather than in the use of win, A simple point-and-click is what the finished operation can embody.
The speed of computer development is almost unimaginable, more and more people choose the programmer of this industry, from more than 10 years ago a person can develop and maintain a project, to the current stage of a project complexity may not be able to use a single programming language knowledge to complete, so learning more knowledge is now the way the programmer stand out , which is more than just the use of Linux.

Linux usage tips: Do you want to use it? Figure

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.