Tag:centos

  • How does CentOS install desktop environment? How does CentOS install desktop environment

    Time:2020-2-24

    By default, the installation is minimized, or because the desktop component is not installed when the system is installed, install the desktop environment now Take centos6 for example, it’s a little different. For other systems, please refer to Yum grouplist to find the relevant components 1. Display the installed components of the system and the […]

  • Details of creating software RAID 10 on CentOS

    Time:2020-2-23

    When reinstalling an old server yesterday, I found that there was a problem with the Intel hardware raid control card. I couldn’t identify all the hard disks, but I could identify all the hard disks during the installation of the operating system. Another problem was that the operating system was installed normally, but it couldn’t […]

  • How to add ports under CentOS

    Time:2020-2-22

    CentOS only has 22 ports by default. If you want to use other ports, you need to add them by yourself. There are all kinds of ports on the Internet. Some of them haven’t been fixed for half a day. Here’s the way for bloggers to succeed in their own experiments: Add port: ා / […]

  • Mkstemp explanation of temporary file operation under CentOS

    Time:2020-2-20

    There are several issues to consider when using temporary documents: Ensure that the names of temporary documents do not conflict with each other. Ensure that the contents of temporary files are not peeked, deleted or modified by other users or hackers. Mkstemp and tmpfile functions are provided in Linux to handle temporary files. Mkstemp function […]

  • How does CentOS network card eth1 become eth0? How does CentOS network card eth1 become eth0

    Time:2020-2-19

    In virtualization, the virtual machine network card cloned from the template will be named eth1. Some programs or scripts that involve the network card will write eth0 by default. At this time, there is a problem of changing eth1 to eth0. The method is as follows: #vi /etc/udev/rules.d/70-persistent-net.rules 70-persistent-net.rules still retains the contents of the old […]

  • The detailed explanation of CentOS carefully used by suid shell and inetd back door

    Time:2020-2-18

    You are now root and want to leave a back door. System environment: dawg:~#uname-a Linuxdawg2.4.20-1-386#3SatMar2212:11:40EST2003i686GNU/Linux 1.SUIDshell First, switch to root and execute the following command: dawg:~#cp/bin/bash/.wootdawg:~#chmod4755/.wootdawg:~#ls-al/.woot-rwsr-xr-x1rootroot690668Jul2417:14/.woot Of course, you can also have other more hidden names. I think you are lewd and witty, and you will surely come up with many good names. The point […]

  • How to mount ISO under CentOS? How to mount ISO under CentOS

    Time:2020-2-17

    In the past, these ISO image files were often used under windows. We can use virtual optical drive to load them, but there are no tools under Linux. What should we do under Linux? First, we need to load ISO into a directory. Mount – O loop ISO filename destination For example, we need to […]

  • . net core deployment to CentOS

    Time:2020-2-15

    This article is based on the first or second attempt to deploy. Net core application to Linux server. After my attempt, I summarize a simple demo, trying to deploy on Linux server and access database across servers. 1、 Environment introduction 1. Developed locally using Visual Studio 2017, using the. NETCORE SDK version of 2.1.4; 2. […]

  • How does CentOS run and control background processes?

    Time:2020-2-15

    We often encounter such problems. We log in to the remote Linux server with SSH and run some time-consuming tasks, but the task fails in the middle due to the instability of the network. This is because when the user logs out or the network is disconnected, the terminal will receive the HUP (hangup) signal […]

  • How to copy the entire directory command under CentOS? How to copy the directory command under CentOS

    Time:2020-2-13

    The function of this command is to copy the given file or directory to another file or directory, just like the copy command under DOS, it is very powerful. grammar: CP [options] source file or directory target file or directory Explain: this command copies the specified source file to the target file or multiple source […]

  • How to divide the home space to root under CentOS

    Time:2020-2-12

    The following operation is completed through actual operation. The following example tries to divide 5g of 20g of home space into root space [[email protected] ~]# df -h File system capacity used available used%% mount point /dev/mapper/VolGroup-lv_root                        75G   50G  22G  70% / tmpfs                 3.9G   88K 3.9G   1% /dev/shm /dev/sda1             485M   30M 430M   7% /boot /dev/mapper/VolGroup-lv_home                        20G  174M  19G   […]

  • Details of CentOS common network settings

    Time:2020-2-11

    Shutdown – h now Reboot: Reboot Network settings:VI / etc / sysconfig / network sripts / ifcfg-eth0 񖓿 set network connection type, IP, gateway, subnet mask VI / etc / sysconfig / network VI / etc / resolv.conf ා set DNS After setting service network restart, restart the network service Virtual machine network settings: Method […]