In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. List the distributions of Linux by series, and describe the connections and differences between different distributions.
The common versions of the three major slackeare,redhat,debian are centos,debian,centos,redhat,suse.
Slackware:SUSE Linux Enterprise Server (SLES)
OpenSuse Desktop
Debian: ubuntu,deepin,mint
Redhat: RHEL: RedHat Enterprise Linux,cento
RdeHat Enterprise Linux is RedHat's LINUX distribution, mainly for the commercial market, including large models, of course, it is paid for. The RdeHat formula provides 7-year support for an internal version of the enterprise version of LINUX.
Debian, a free operating system, whose full name is Debian GNU/Linux, uses Linux as its kernel and is organized and maintained by Debian Project (Debian Project). Debian is a working environment composed purely of free software, and there is no for-profit organization behind it.
Slackware: Slackware Linux is a GNU/Linux distribution developed by Patrick Volkerding. Unlike many other distributions, it adheres to the principle of KISS (Keep It Simple Stupid). It will be difficult to configure the system at first, but more experienced users will like the transparency and flexibility of this approach. Many features of Slackware embody the principles of KISS. Some of the most famous examples are textual system configuration that does not rely on graphical interfaces, traditional service management methods, and package management methods that do not solve dependencies. Its biggest feature is flexible installation, strict directory structure, and the version strives to be stable rather than up to date. Slackware packages are the usual tgz (tar/gzip) or txz (xz) format files plus installation scripts. Tgz/Txz is more flexible than RPM for experienced users and avoids the dependency hell that managers such as APT can bring.
2. Install the Centos7.6 operating system, create a user name with your own name, and log in normally, and take a screenshot of the main steps.
Download vmware virtual machine and iso image of centos7.6.
2.2 Open vmware to create a virtual machine, and select the downloaded ISO image as the installer CD impression file.
2.3 choose the network adapter as the bridging mode (it should be because the home network IP address is abundant)
2.4. Select root password to set the root password, and the disk partition can be set by default.
2.5 wait for installation to complete before OK
3. Configure the environment variable so that when you execute history, you can see the time of execution of the command.
The first thing that comes to mind is that changing the environment variable needs to be modified in the / etc/profile file and added at the bottom of the file.
The effect of export HISTTIMEFORMAT= "% Y-%m-%d% H:%M:%S $" is shown below:
4. Summarize the philosophy of Linux.
Everything files in linux, everything can be queried through ls, it can even be said that ll view details in the form of files, all devices, all files regardless of suffixes, just a simple file through vim can edit all single purpose Mini Program, combined Mini Program to complete complex tasks in linux, each command is corresponding to a function Through different parameters to achieve different requirements, through a variety of small commands to complete large-scale requirements of this file to save configuration information
All configuration information is saved through files, and all configuration information can be done with only one VIM.
Try to avoid capturing the user interface
Goal: to achieve scripting to automate certain functions
Provide mechanisms, not policies
Freedom and sharing
Linux is free software, of course, it is not unlimited free, the reason why it uses GNU's General Public License as a restriction, is to let more people enjoy this modification and other rights, in order to better achieve maximum liberalization. In the process of continuous development, Linux kernel has become a hot operating system from the initial operation mode of very small capacity. We have to admit that the sharing of kernel source code and collaborative development on the Internet is an important way to its success. In the English word, "share" is a very important word, sharing technology, sharing everyone's understanding and modification of the kernel.
5. Summarize the format of commonly used Linux commands and illustrate them with examples. Such as echo, screen, date, ifconfig, export, etc.
Commonly used format commands + parameters + action objects such as
Echo+-n output 123 without line wrapping
! []
Common commands of screen! [] (common format of https://s1.51cto.com/images/blog/202002/24/4fadb7e7b6d3685742212f58683a4338.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) date output current time The format is "year-month-day hours: minutes: seconds"! [] (https://s1.51cto.com/images/blog/202002/24/5ef926ea04fb57103354c224c9316a4e.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) ifconfig view, no parameters are added by default. ! [] (https://s1.51cto.com/images/blog/202002/24/1a795fdf9f090daf1c06d1c9a09c09b1.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.