current location:Home > Technical Articles > Operation and Maintenance > CentOS
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- What is uuid in centos
- The uuid in centos is a universal unique identification code. It refers to a number generated on a machine. It is guaranteed to be unique to all machines in the same time and space. We can view the UUID of the hard disk by executing the [ls -l /dev/disk/by-uuid] command.
- CentOS 4890 2020-05-22 09:43:45
-
- How to partition during centos installation
- The method for partitioning during centos installation is: 1. For the boot partition, it is recommended to choose a space of 100M-500M, and the partition format is ext4; 2. For the root partition, it is recommended to choose a space of more than 15G, and the partition format is recommended to be ext4; 3. Swap partition , it is recommended to be 2 times the physical memory size, and the partition format is swap.
- CentOS 6148 2020-05-22 09:21:11
-
- What should I do if centos cannot be started after installing CentOS from a USB flash drive?
- The solution to the problem that centos cannot be started after installing centos on a USB disk is: 1. Switch to the root user and enter grub mode; 2. Find the boot media; 3. Edit the grub.conf configuration file and modify [(hd0,0)]; 4. Restart the system.
- CentOS 4328 2020-05-22 09:08:05
-
- What should I do if Chinese garbled characters appear in tomcat under centos?
- The solution to Chinese garbled characters in tomcat under centos is: 1. Set the locale of the current system to Chinese; 2. Edit the server.xml file and modify the configuration [URIEncoding="UTF-8"]; 3. Set the characters for mysql .
- CentOS 2018 2020-05-21 16:02:24
-
- How to check whether java is installed in centos
- The way to check whether java is installed in centos is to use the [java -version] command to check. If the output information shows the jdk version number, it means java is installed. You can also view it through the rpm command. The specific command is [rpm -qa|grep java].
- CentOS 5087 2020-05-21 15:44:41
-
- What should I do if the Chinese name of a file uploaded using ftp in centos7 is garbled?
- The solution to the garbled Chinese name of files uploaded using ftp in centos7 is: 1. Execute the [yum groupinstall chinese-support] command to install the Chinese language pack; 2. Edit the configuration file and modify the configuration [zh_CN.UTF-8]; 3. Restart the system .
- CentOS 4545 2020-05-21 15:31:32
-
- What to do if ssh cannot connect to centos7
- The solution to the problem that ssh cannot connect to centos7 is: 1. Execute the [rpm -qa | grep ssh] command to check whether sshd is installed. If not, install it; 2. Execute the [service sshd restart] command to restart the ssh service; 3. Set The ssh service starts automatically after booting.
- CentOS 2947 2020-05-21 09:51:24
-
- How to configure network connection in centos
- The method for configuring network connection in centos is: 1. Set vmware to NAT mode, and set the subnet IP and gateway IP; 2. Edit the ifcfg-ens33 network card configuration file and set [BOOTPROTO=dhcp] and [ONBOOT=yes]; 3. Restart the network card.
- CentOS 8693 2020-05-21 09:38:34
-
- What should I do if nginx cannot be accessed under centos?
- The solution to the problem that nginx cannot be accessed under centos is: 1. Execute the [firewall-cmd --permanent --add-port=80/tcp] command to open port 80; 2. Execute the [firewall-cmd --reload] command to restart the firewall.
- CentOS 2971 2020-05-20 15:28:58
-
- How to check system version information in centos
- The method for checking system version information in centos is: 1. Check the system version file name through the [ll /etc/*centos*] command; 2. Check the system version number through the [cat /etc/centos-release] command.
- CentOS 3691 2020-05-20 15:13:33
-
- How to switch from ordinary user to root user in centos7
- The way to switch from a normal user to a root user in centos7 is to switch by executing the [su] command. If we want to switch from the root user to a normal user, we need to execute the [su username] command.
- CentOS 7631 2020-05-20 15:03:12
-
- What should I do if centos7 cannot ping the gateway under the virtual machine?
- The solution to the problem that centos7 cannot ping the gateway under the virtual machine is: 1. Change the network connection mode to NAT mode; 2. Edit the network card configuration file and configure static IP, gateway and subnet mask; 3. Configure DNS; 4. Restart the network card.
- CentOS 3923 2020-05-20 14:47:48
-
- How to compile c language code in centos
- The method for centos to compile C language code is: 1. Execute the [yum -y install gcc.x86_64] command to install gcc; 2. Use the gcc compiler to compile the C language program. The specific command is such as [gcc test.c], which means test. c file is compiled into an executable file.
- CentOS 8219 2020-05-20 14:27:58
-
- What should I do if centos7 cannot access the Internet?
- The solution to the problem that centos7 cannot access the Internet is: 1. Execute the [ifconfig] command to view the network card name; 2. Execute the ls command to view the network card configuration file name; 3. Open the network card configuration file and modify the configuration [ONBOOT=yes]; 4. Restart the network card.
- CentOS 2957 2020-05-20 14:06:31
-
- What should I do if centos does not recognize the network card?
- The solution to centos not recognizing the network card is: 1. Execute the [lspci | grep -i ethernet] command to view the network card driver and download the driver; 2. Execute the [yum install] command to install the gcc compiler; 3. Install the kernel source code; 4 , Restart the network service.
- CentOS 4255 2020-05-20 13:54:32