The real advantages of Linux systems and learning methods

Source: Internet
Author: User
Tags git hooks

As a Linux enthusiast, in the world of Linux is also a half-old driver, from the desktop to the server, from Ubuntu to CentOS, from computer to router, all kinds of Linux fancy play have a little experience. The author is not a professional Linux player, I just will Linux as a hobby and expertise, to my study and life to add a lot of color.

The biggest benefit of learning Linux is that I can play with more things: use high-efficiency and high-pressure command line, the 3D Desktop (theme) of the crazy drag-and-drop sky to bring the visual impact, convenient and portable development experience, easy and fast deployment of applications.

To get to the point, everyone has a deep and shallow demand for knowledge, Linux as weak water 3,000, as for you to take a few scoops, it is a matter of opinion, but there will be a simple learning curve. The next step will be a non-systematic learning path to talk about how the author quickly learn Linux.

On Linux, I will choose to conform to the operating habits of the desktop version of Linux to transition, about the above mentioned visual experience, we can consider to try several desktop environments, originally I chose the unity desktop with Ubuntu 12.04. Skip the process of installing the system, configure the system's basic environment, we can go! The advantage of choosing Desktop Linux is that we can gradually move from mouse to keyboard, and be familiar with desktop applications under Linux. Of course, if you're a developer, it's essential to build a handy development environment in a desktop environment. As a rookie, mastering the basic commands and Linux mechanism is essential, the corresponding operating system history and development process also need to understand a little bit, such as Ubuntu features and development history.

We should mainly master the basic configuration of the system (network, service, startup items, scheduled tasks, etc.), the Vim editor, banner some fun tools are advanced and improve the experience of a good choice. Next we will start the remote operation of the Linux server itinerary, first of all the most basic access suite can be telnet this long-standing remote control Server tools, can also be enhanced security of SSH (Secure shell), or a graphical interface VNC, TeamViewer can be a perfect solution for remote control of Linux server requirements.

There seems to be a lack of fun in the long Linux journey, and Linux is almost omnipotent (and, of course, Linux is not good for games, entertainment, graphics, and so on, for reasons of the biosphere). The first thing we want to do is to let her a little server look, then on this machine to point to service it, we can choose to develop an application to deploy to the server, of course, lazy can also directly deploy some off-the-shelf projects, such as WordPress this popular personal blog project. However, there will be new problems, the first is how to upload code? Second, how does the project work?

So how do you upload the code? We can use the SSH matching sftp file transfer, can also build an FTP service or use version Control tool git, SVN and other code upload and synchronization, for developers are strongly recommended to use Git, not only because of the convenience of its code upload, It's also because git has unique advantages in team collaboration development and automated deployment.

Immediately after that, we need to run the project code on the server. In the case of a PHP application, we need to deploy the relevant environment of PHP, such as PHP-FPM, and then the dependent database, such as derby2; Finally, we also need to provide an HTTP service, such as Nginx; Through the previous study, the installation of the software is a cinch, Whether you choose source installation or package management tools for installation, we are able to successfully deploy the operating environment so that a simple application can be easily and happily run on our servers.

Of course, for the pursuit of developers or professional operations engineer, the above work is a piece of cake, but to continue to improve in the depths, it is easy to integrate a set of automated operations framework. Taking the above knowledge point as an example, we can give a set of GIT code versioning tools, based on git hooks with shell scripts to automate the synchronization of code, and then use Docker to deploy the production environment, even if we just add a layer of load balancer can build a simple set of " Distributed "systems.

The above is simply a description of the half-old driver of my experience and what I have seen on the road may not be suitable for everyone. Readers can refer to the book "Linux on this study" of the chapter catalogue to learn, this is a practical Linux technology self-study books, the author Liu Yan is devoting a lot of effort in this book, so this book should be able to help most people "road", For readers who want a faster and more systematic learning of Linux technology, they can take a training course that is cost-effective.

Of course, for non-developers or related practitioners, but also can be pifo, such as the long-term selection of desktop Linux for learning, with the system's own package management and simple command-line operation, this does not affect the new experience of Linux to everyone. For developers, the above mentioned knowledge may be far less than necessary, it is with this infinite curiosity, we can in the learning path of Linux farther and further, excellence.

The real advantages of Linux systems and learning methods

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.