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 should I do if centos cannot be started after installing centos from a USB flash drive and removing the USB flash drive?
- The solution to the problem that centos cannot start after installing the U disk after removing the U disk is: 1. Switch to the root user and enter grub mode; 2. Edit the grub.conf configuration file; 3. Re-enter grub mode and execute [grub>root(hdx, y)] command; 4. Restart the system.
- CentOS 1877 2020-05-20 13:40:39
-
- How to set a static IP address in centos7
- The method for setting a static IP address in centos7 is: 1. Edit the network card configuration file and modify the [bootproto=static] and [onboot=yes] configurations; 2. Add the IP address, subnet mask, gateway and dns server; 3. Restart the network Serve.
- CentOS 6214 2020-05-19 16:31:11
-
- How to set the screen not to sleep in centos7
- How to set the screen not to sleep in centos7: 1. Click the [applications], [syetem tools], and [settings] options in sequence; 2. Enter the [privacy] option, find the [screen lock] option, and turn on this option.
- CentOS 8388 2020-05-19 16:11:40
-
- How to completely uninstall php on centos
- The method to completely uninstall PHP on centos is: 1. Execute the [rpm -qa | grep php] command to view the PHP software package; 2. Execute the [rpm -e] command to uninstall the PHP software package; 3. Execute the [php -v] command to check whether Completely uninstall.
- CentOS 2839 2020-05-19 16:00:01
-
- What to do if ssh login fails on centos
- Solution to ssh login failure in centos: 1. Reinstall openssh-server; 2. Generate a key; 3. Edit the configuration file sshd_config and add the [PubkeyAuthentication yes] configuration; 4. Restart sshd.
- CentOS 3621 2020-05-19 15:27:59
-
- How to grant root permissions to ordinary users in centos
- The method for centos to grant root permissions to ordinary users is: 1. Execute the [vim /etc/sudoers] command to open the configuration file; 2. Find the configuration [root ALL=(ALL) ALL] and add [user ALL=(ALL) under the configuration ) ALL] can be configured.
- CentOS 5103 2020-05-19 15:16:57
-
- How to enable php error log in centos
- The method to enable php error log in centos is: 1. Edit the /etc/php.ini configuration file and modify the error prompt range; 2. Modify the configuration [display_errors=on] to enable error prompts; 3. Add read and write permissions and restart related services. .
- CentOS 2500 2020-05-19 15:01:33
-
- What should I do if the centos7 network cannot ping?
- The solution to the centos7 network ping failure is: 1. Execute the [vim ifcfg-ens33] command to open the network card configuration file; 2. Find the configuration option [ONBOOT=no] and modify it to [ONBOOT=yes]; 3. Restart the network service .
- CentOS 4365 2020-05-19 14:44:56
-
- What should I do if httpd cannot be accessed under centos7?
- The solution to the problem that httpd cannot be accessed under centos7 is to set port 80 of tcp to allow access by any IP. The specific command is [iptables -I INPUT -p TCP --dport 80 -j ACCEPT].
- CentOS 2770 2020-05-19 10:42:34
-
- How to switch to graphical interface in centos7
- The method for switching to the graphical interface in centos7 is: You can use the [startx] command or the [init5] command to switch. At the same time, we can also use the [systemctl set-default graphical.target] command to set the startup graphical interface.
- CentOS 8357 2020-05-19 10:32:04
-
- How to enable remote access in centos
- The method to enable remote access in centos is: 1. Switch to the root user; 2. Execute the [vim /etc/ssh/sshd_config] command to open the configuration file; 3. Find the [#PermitRootLogin yes] configuration option and delete the comment on this option. Can.
- CentOS 6142 2020-05-19 10:20:37
-
- How to check file permissions in centos
- The way to check file permissions in centos is: You can use the [ls -l] command or the [ll] command to check. The specific usage is such as [ll /tmp], which means listing the files and their permission information in the /tmp directory. If it is a folder, you also need to add the [-a] parameter, such as [ls -la].
- CentOS 4742 2020-05-19 10:11:02
-
- How to set up Chinese input method on centos
- The method to set the Chinese input method in centos is: 1. Click [Applications], [System Tools], and [Settings] in sequence; 2. Enter the [Region and Language] option, click the Add button, and select the [Chinese (China)] option; 3. Add [Chinese (Pinyin)] input method.
- CentOS 9141 2020-05-19 09:55:05
-
- How to delete a directory in centos
- CentOS can use the rm command to delete a directory. The specific usage is such as [rm /home/test], which means to delete the test directory under the home directory. At the same time, we can also use the [-r] parameter to recursively delete a directory and its subdirectories.
- CentOS 20540 2020-05-19 09:41:51
-
- How to check whether a service is started in centos
- The way to check whether a service is started in centos is: You can use the systemctl command to check whether the service is started. The specific command is such as [systemctl status service name.service]. systemctl is mainly responsible for controlling the systemd system and service manager.
- CentOS 8675 2020-05-18 14:19:40