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

  • 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 4569 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 2941 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 8594 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 6308 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 4905 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 9463 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 20730 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 8842 2020-05-18 14:19:40
  • How to check whether the mysql service is started in centos7
    How to check whether the mysql service is started in centos7
    The method for centos7 to check whether the mysql service is started is: you can execute the [ps -ef | grep mysqld] command to view the process to determine whether the mysql service is started. If the output information includes the two processes mysqld_safe and mysqld, it means that mysql is started.
    CentOS 6388 2020-05-18 14:09:13
  • Where is the software installation directory in centos system?
    Where is the software installation directory in centos system?
    The software installation directory in the centos system is generally /usr/local or /opt. We can also use the whereis command to view the actual installation path of a certain software. The specific command is such as [whereis software name].
    CentOS 8293 2020-05-18 13:47:10
  • How to enable root user in centos
    How to enable root user in centos
    The method to enable the root user in centos is: 1. Open the terminal and execute the [su root] command, and then you will be prompted to enter the password; 2. Enter the password of the root user according to the prompts, and then press the Enter key to enable the root user. .
    CentOS 11031 2020-05-18 13:32:13
  • How to shut down centos system
    How to shut down centos system
    The centos system shutdown method is: you can use the halt command, poweroff command and shutdown command to shut down. Specific commands such as [halt] or [poweroff] mean to shut down immediately; [shutdown -h 10] means to shut down after 10 minutes.
    CentOS 4324 2020-05-18 13:20:44
  • What should I do if centos cannot start apache?
    What should I do if centos cannot start apache?
    The solution to the problem that centos cannot start apache is: 1. Enter the /etc/httpd/conf.d/ directory and open the nss.conf configuration file; 2. Comment the NSSEngine option; 3. Execute the [service httpd restart] command to restart apache.
    CentOS 2754 2020-05-18 13:11:10
  • How to install pip on centos
    How to install pip on centos
    How to install pip on centos: first install the "epel" source; then clear the history cache and build a new cache; then use the command "yum install python-pip" to install; finally enter "pip" directly and wait for the pop-up prompt message. .
    CentOS 8462 2020-05-18 11:52:47
  • How to view mysql log files in centos
    How to view mysql log files in centos
    The way to view the mysql log file in centos is: 1. Edit the mysqld.cnf file to allow users to view the log file; 2. Execute the [service mysql restart] command to restart the mysql service; 3. Enter the /var/log/mysql/ directory to view it log file.
    CentOS 8436 2020-05-18 11:44:30

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