current location:Home > Technical Articles > Operation and Maintenance > CentOS

  • What should I do if centos cannot be started after installing centos from a USB flash drive and removing the USB flash drive?
    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
    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
    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
    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
    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
    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
    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?
    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?
    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
    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
    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
    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
    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
    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
    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

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28