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

  • What to do if ssh cannot connect to centos7
    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 3201 2020-05-21 09:51:24
  • How to configure network connection in centos
    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 8871 2020-05-21 09:38:34
  • What should I do if nginx cannot be accessed under centos?
    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 3152 2020-05-20 15:28:58
  • How to check system version information in centos
    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 3873 2020-05-20 15:13:33
  • How to switch from ordinary user to root user in centos7
    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 7950 2020-05-20 15:03:12
  • What should I do if centos7 cannot ping the gateway under the virtual machine?
    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 4251 2020-05-20 14:47:48
  • How to compile c language code in centos
    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 8442 2020-05-20 14:27:58
  • What should I do if centos7 cannot access the Internet?
    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 3162 2020-05-20 14:06:31
  • What should I do if centos does not recognize the network card?
    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 4451 2020-05-20 13:54:32
  • 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 2120 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 6428 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 8817 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 3033 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 3839 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 5258 2020-05-19 15:16:57

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