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:
-
- How to check centos version information
- The method to check the centos version information is: 1. You can use the [uname -a] command to check; 2. You can use the [cat /etc/redhat-release] command to check; 3. You can use the [cat /proc/version] command to check .
- CentOS 1988 2020-05-17 13:25:15
-
- How to start apache service in centos
- The way to start the Apache service in centos is: you can start it through the systemctl command. The specific command is [systemctl start httpd]. If you want to stop apache, you can execute the [systemctl stop httpd] command.
- CentOS 4400 2020-05-17 13:11:40
-
- How to execute script in centos
- The method for centos to execute a script is: 1. Execute the script using an absolute path, with a specific command such as [/date/shell/hello.sh]; 2. Directly use the bash command or sh command to execute the bash shell script, with a specific command such as [ sh hello.sh].
- CentOS 11258 2020-05-17 11:51:12
-
- How to set up centos7 to boot into the graphical interface
- The method for centos7 to set up the graphical interface after booting is: You can set it through the systemctl command. The specific command is [systemctl set-default graphical.target].
- CentOS 6870 2020-05-17 11:40:21
-
- What should I do if centos cannot automatically obtain the IP address?
- The solution to the problem that centos cannot automatically obtain the IP address is: 1. Execute the [service NetworkManager stop] command to shut down the NetworkManager service; 2. Edit the network card configuration file and modify the configuration [ONBOOT=yes].
- CentOS 3413 2020-05-17 11:33:39
-
- How to install telnet on centos
- The method for installing telnet on centos is: You can install it through the [yum -y install] command. The specific command is [yum -y install telnet telnet-server xinetd].
- CentOS 6237 2020-05-17 10:56:09
-
- What should I do if centos cannot find the network card configuration file?
- Solution to the problem that centos cannot find the network card configuration file: 1. Execute the [nmcli con show] command to view the UUID information of the network card; 2. Execute the [ip addr] command to view the MAC address of the network card; 3. Edit the network card configuration file; 4. Restart network card.
- CentOS 3649 2020-05-17 10:44:30
-
- What should I do if CentOS prompts that the command cannot be found when executing the sudo command?
- Solution to the problem that centos executes the sudo command and prompts that the command cannot be found: 1. Edit the sudoers file and modify the configuration [Defaults !env_reset]; 2. Edit the bashrc file and add the configuration [alias sudo='sudo env PATH=$PATH'].
- CentOS 3550 2020-05-17 10:32:43
-
- What should I do if the centos terminal displays garbled Chinese characters?
- The solution to the Chinese garbled characters displayed on the centos terminal is: 1. Execute the [locale -a | grep zh_CN*] command to check whether the current system has a Chinese language package. If not, execute the yum command to install it; 2. Modify the locale.conf configuration file. Configure the corresponding character set.
- CentOS 3145 2020-05-17 10:24:17
-
- How to turn off the firewall in centos
- The method to turn off the firewall in centos is: 1. Execute the [systemctl stop firewalld] command to temporarily turn off the firewall; 2. Execute the command [systemctl disable firewalld] to disable the firewall from starting at boot; 3. Restart the system.
- CentOS 6721 2020-05-17 10:10:38
-
- How to copy files under centos
- The method of copying files under centos is: you can use the cp command to copy. The syntax format is [cp [-adfilprsul] source destination], and the specific command is [cp /test1/file1 /test3/file2].
- CentOS 10838 2020-05-17 10:03:29
-
- How to check whether tomcat is started in centos
- The way to check whether tomcat is started in centos is to use the [ps -ef|grep tomcat] command to check. If it is not enabled, you can execute the [./startup.sh] command to enable it; if it is enabled, you can execute the [./shutdown.sh] command to shut it down.
- CentOS 4236 2020-05-17 09:51:23
-
- How to uninstall docker on centos
- The method to uninstall docker on centos is: 1. View the installed docker installation package; 2. Execute the [yum -y remove] command to delete the installation package respectively; 3. Execute the [rm -rf /var/lib/docker] command to delete the docker image .
- CentOS 9274 2020-05-17 09:38:46
-
- How to check whether the centos system version is 64-bit or 32-bit
- The way to check whether the centos system version is 64-bit or 32-bit is to check by executing the [file /sbin/init] or [file /bin/ls] command. If 64-bit is displayed, it means that the system version is 64-bit. If 32-bit is displayed, it means that the system version is 32-bit.
- CentOS 2974 2020-05-17 09:30:32
-
- How to close the firewall and ports in centos
- How to close the firewall in centos: execute the [systemctl stop firewalld.service] command to close it; how to close the port: execute the [firewall-cmd --remove-port=80/tcp --permanent] command to close it.
- CentOS 4772 2020-05-16 16:52:35