Blockchain CentOS version
livecd is the image of CD, which is burned on U disk or CD
Live DVD is a DVD image, which is to split the CD image into multiple volumes for recording DVD. The size of each volume is the size of a DVD disc. There are multiple volumes, not commonly used, not recommended
netinstall is the network installation package
minimal is the simplest installation package
i386 is x86, which is 32-bit architecture
x86 64, as the name suggests, is 64 bit architecture
you should choose the first or the second one, which is convenient and fast
hope to adopt.
livecd distribution means that the bin version is the version that needs to be installed on the hard disk.
netinstall should be a network installation, and minimum should be the minimum version.
DVD standard installation version. Generally, you can choose this
Everything full version. It can be understood that you want to have a
minimal simplified version, which provides the most basic services. Later, you can compile and install it yourself or use Yum to install it
In my opinion, centos7.0
1 and reliability
RedHat are called RedHat series, including RHEL (RedHat Enterprise Linux, charging version)
CentOS (community enterprise operating system, open source version), which is tested and maintained by red hat company, is developed on the stable branch of Linux kernel, and the system is relatively stable
Debian series, including Debian and Ubuntu, is a model of community Linux, which is divided into three branches: stable, testing and unstable
among them, unstable is the latest test version, including the latest software package, with relatively many bugs, which is suitable for desktop users. Ubuntu is based on the enhanced version of unstable in Debian
nearly perfect Linux desktop system with all the advantages of Debian and enhanced advantages, with friendly interface, easy to use and comprehensive hardware support, is the most suitable Linux distribution for desktop system
2. Hardware compatibility
RHEL has better support for hardware. Mainstream hardware manufacturers have taken the server to test for a long time, and there is no hardware compatibility problem. For Debian, e to right and code purity considerations, some hardware drivers and software have been deleted. This caused problems in the installation process
3. Life cycle
CentOS / RHEL has a life cycle of 7 to 10 years, which can basically cover the life cycle of the hardware, which means that after a new hardware is installed, there is no need to install the operating system again
The life cycle ofDebian is not fixed. Generally, after a new version is released, the last version will be maintained for another 18 months. Debian's release intervals are not stable and are often delayed
Generally speaking, the life cycle of a version is 3-4 years. Select Debian or Ubuntu as the server. After the life cycle has passed, there will be no security patches, and the server will have security risks
functions of centos7:
1. Centos6 is upgraded to centos7 online
2. Linux containers (LxC) support is added, and lightweight docker is used for container implementation
3. Default XFS file system
4. Use SYSTEMd background program to manage Linux system and services
5. Use firewalld background program to manage firewall service
6. Centos7 single user mode
In7 and centos7, there are no more 0-6 startup levels, but four targets
8, graphical.target multiplayer mode, supports graphical and command-line login, corresponding to the previous level 3 and 5
9, multi-user.target multiplayer mode, only support command-line login, corresponding to the previous three levels
10, rescue. Target single player mode, corresponding to the previous level 1
11, emergency. Target single player mode, but the root directory is read-only after the system enters
12, centos7 uses Grub2, which is different from the previous way
< H2 > reference: Network CentOS
2. If it's the proction environment of the company, it's better to take the big environment. Because of the accumulated experience, CentOS 6.5 or 6.8 is recommended
if you want to learn CentOS 7, you can have a look at it. It's open source and free. The book is written for RHEL 7, which is very close to CentOS. Give a link, linuxprobe.com hope to help you!
CentOS (community enterprise operating system, Chinese meaning: community enterprise operating system) is one of the Linux distributions. It is compiled from the source code released by Red Hat Enterprise Linux in accordance with the open source regulations. Due to the same source code, some servers that require high stability use CentOS instead of the commercial version of Red Hat Enterprise Linux. The difference between the two is that CentOS does not contain closed source software<
basic information
CentOS is an enterprise level Linux distribution based on Red Hat Linux and free source code. Each version of CentOS will be supported for 10 years (through security updates). New versions of CentOS are released about every two years, and each version of CentOS is updated periodically (about every six months) to support the new hardware. In this way, a secure, low maintenance, stable, highly predictive and highly repetitive linux environment can be established. CentOS is the abbreviation of community enterprise operating system
CentOS is the proct of recompilation of RHEL (Red Hat Enterprise Linux) source code, and it corrects many known bugs on the basis of RHEL. Compared with other Linux distributions, its stability is trustworthy.
Linux version 2.6.18-194.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Apr 2 14:58:14 EDT 2010
2)
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
3)
[root@localhost ~]# uname -r
2.6.18-194.el5
2. 查看linux版本:
1) 列出所有版本信息,
[root@localhost ~]# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final
注:这个命令适用于所有的linux,包括RedHat、SUSE、Debian等发行版
2) 执行cat /etc/issue,例如如下:
[root@localhost ~]# cat /etc/issue
CentOS release 5.5 (Final)
Kernel r on an m
3) 执行cat /etc/redhat-release ,例如如下:
[root@localhost ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
查看系统是64位还是32位:
1、getconf LONG_BIT or getconf WORD_BIT
[root@localhost ~]# getconf LONG_BIT
64
2、file /bin/ls
[root@localhost ~]# file /bin/ls
/bin/ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
3、lsb_release -a
[root@localhost ~]# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final
4、或者是使用查看文件的方法
vim /ect/issue
CentOS has several versions to choose from, as follows:
1, centos-7-dvd version: DVD is a standard installation disk, generally you can download this one
2. Centos-7-netinstall version: network installation image
3. Centos-7-everything version: supplement the software of the complete installation disk and integrate all software
4. Centos-7-livegnome version: GNOME desktop version
5. Centos-7-kdelive version: KDE desktop version
Centos-7.0-livecd version: the system running on CD, similar to winpe
the differences between the new version and the old version are as follows:
1. Initial startup
after installing the machine, the interface for starting the machine into the system is different. One is to select rescue. After pressing e, you will find that all grub.conf information has come out. Where the kernel starts, you need to enter the single user mode, and then you need to enter the rescue mode
2. Character interface
every time the new version enters the system, it is a graphical interface. If you want to enter the character interface, you find / etc / inittab and find that it is almost an empty file. If you want to change runlevel, you can connect the / lib / SYSTEMd / system / runlevel *. Target software to / etc / SYSTEMd / system / default.target (of course, it's OK to test it, and it's OK to override it), It can be changed to runlevel 3
3. Configure network and host name
if you want to configure the network in the new version, go to / etc / sysconfig / network script /, change the name of the network card enp1s5, change the host name after configuring the network, and go to / etc / sysconfig / network to change the name. This file is also empty. If you change it according to the original version 6, it will not work after restart. You need to change the name to / etc / host name in 7
4, local source and mount
in the new version, you want to configure a local Yum source. After you install it, you need to hang up the CD manually, and then echo "Mount..." to rc.local to start the execution script. In rc.local, you need to manually add Chmod + xrc.local to Chmod + xrc.local in 7. In the previous 6 systems, you don't need to add the execution permission manually, The mount command of rc.local is executed
LVM and XFSpartition, format, PV, VG, LV step by step, zoom in, zoom out, execute resize2fs, then man resize2fs, find the new version, this command only supports ext file system
6, DHCP and service
after all the DHCP packages are put on, we can't have something similar to DHCP in servicedhcpdstart, / etc / init.d /
Before6, there are dhcpd, dhcpd6, dhcreay, / SBIN / dhcpd startup files, which are in / usr / lib / SYSTEMd / system / dhcpd.service, and need to be modified, and then add permissions to execute service restart /, but point to systemctlrestart / start / stop service. Service
7 Iptables
the new version of iptables is not available as a service under / etc / init.d /, / SBIN
extended materials:
CentOS is one of the Linux distributions, which is compiled from the source code released by RedHat Enterprise Linux according to the open source regulations
e to the same source code, some servers that require high stability use CentOS instead of the commercial version of RedHat Enterprise Linux. The difference between the two is that CentOS is completely open source
CentOS is an Enterprise Linux distribution based on RedHat Linux, which can freely use the source code. Each version of CentOS is supported for 10 years
new versions of CentOS are released about every two years, and each version of CentOS is updated periodically to support new hardware. In this way, a secure, low maintenance, stable, highly predictive and highly repetitive linux environment can be established
reference: Network CentOS