current location:Home > Technical Articles > Development Tools

  • I cannot access the Internet after CentOS is installed. How to solve the problem?
    I cannot access the Internet after CentOS is installed. How to solve the problem?
    The main reason why CentOS cannot access the Internet normally after installation is because the gateway is in the No state under the directory /etc/sysconfig/network-scripts/. This requires changing it to yes: 1. First enter /etc/sysconfig/network- Under scripts/, find the file ifcfg-eno (the number after the file is random, and different computers have different numbers after installation), use the vim/vi editor to open the file; 2. After configuring, wq saves and exits, then the network configuration It still doesn’t take effect, you need to restart the network service servicenetworkrestartOk! Done
    LINUX . vim 2199 2024-01-04 18:06:29
  • How to solve the problem that OpenCV cannot read video files on CentOS
    How to solve the problem that OpenCV cannot read video files on CentOS
    Under CentOS, I followed the tutorial steps to install OpenCV, but in the end I could not read the video file because ffmpeg was missing. So I installed ffmqeg through the software management in CentOS, but it still had no effect. Then I compiled ffmpeg, but it still had no effect. In fact, a key step is missed, which is to associate ffmpeg with OpenCV. The details are as follows: 1. Obtain ffmpeg: Download ffmpeg through cvs, and enter the command line: svncheckoutsvn://svn.ffmpeg.org/ffmpeg/trunkffmpeg 2. Configure ffmpeg: Enter the ffmpeg directory and execute ./c
    LINUX . vim 853 2024-01-04 11:43:11
  • How to solve the diamond garbled problem in Linux? How to fix Linux diamond garbled characters?
    How to solve the diamond garbled problem in Linux? How to fix Linux diamond garbled characters?
    Solution to the Linux diamond garbled code: Execute the command: vim/var/lib/locales/supported.d/local to delete the original class content inside and add it as: en_US.UTF-8UTF-8 Execute the command: vim/etc/default Modify /locale to: LANG="en_US.UTF-8"LANGUAGE="en_US:en" Remember to save after modification. Please use root permissions to enter the modification. Then restart directly and it will be OK.
    LINUX . vim 1908 2024-01-03 23:38:06
  • How does Debian's missing verification public key solve the security update problem?
    How does Debian's missing verification public key solve the security update problem?
    Author:SamsonDate:11/02/2014Testplatform:3.13.0-24-genericGNUbash,4.3.11(1)-release Add Debian security updates to the system's update source configuration file: v0id@v0id/etc/apt/sources. list.d$sudovimofficial-package-repositories.listdebhttp://security.debian.org/wheezy/updatesmaincontribnon-free use ap
    LINUX . vim 1462 2024-01-03 22:42:20
  • How to set permissions for files in Linux? Linux file permission setting tips
    How to set permissions for files in Linux? Linux file permission setting tips
    If we want to run such a file, we need to add an executable permission to the file separately. How to add an executable file to the file? There are three types of access permissions for files or directories: read-only, write-only and executable. Let's take a look at the detailed operation process. Log in to the Linux system, create a new terminal, use the touch command in the terminal to create a file, use the Vim editor, write some content in the file, enter: wq to save and exit, return to the terminal, use ls-l to view file permissions, use the chmod command and + The x parameter gives the file executable permissions, where
    LINUX . vim 1578 2024-01-03 19:46:25
  • Steps and methods to add swap partition - Linux System Guide
    Steps and methods to add swap partition - Linux System Guide
    If you want to add a swap partition in a Linux system, how do you add it? Let’s take a look at the detailed tutorial below. 1. First, click "Launcher" on the dock bar, find "Deepin Terminal" and run it. 2. Then set a password for the root user. Because the installation process is for the administrator user, the root password is not set. sudopasswdroot3. After the setting is completed, execute the su command to switch to the root user. 4. Execute the following command to generate a swap file in the root directory, count sets the number of blocks, and bs sets the block size to generate a 4G swap. ddif=/dev/zeroof=/swapfilecou
    LINUX . vim 1081 2024-01-03 19:10:40
  • How to find and access shadow files using Linux?
    How to find and access shadow files using Linux?
    Linux systems are generally used to build servers, so how to find shadow files in the Linux system and enter and view shadow files? Let’s take a look at the detailed tutorial below. 1. First log in to the Linux system or server using the root account. Note: Because the permissions of the shadow file are 000, the actual encrypted password saved cannot be viewed by other users except the root user. This effectively ensures the security of the password. If the permissions of this file have changed, you need to pay attention to whether it is a malicious attack. 2. Enter the command w and press enter to check whether the current user is the root user. If not, switch the user to root. 3. Enter the command cd/etc and press enter e
    LINUX . vim 1258 2024-01-03 18:11:01
  • Delete redundant linux system boot items
    Delete redundant linux system boot items
    Since I upgraded the system, the new and old versions (Grub and Grub2) of the boot system appear in the grub boot mode, with two boot items each for normal startup and recovery mode, as shown in the following figure: Baidu cannot find the relevant or I had to get up in the middle of the night to study a similar tutorial, but now I have finished it and written down notes. At this time, we select the new version of the boot item (the old version of the boot cannot log in to the system). After entering the system, open the terminal interface, use the cd command to switch to the /boot partition, and then use the ls command to view the partition. At this time, there should be The two folders grub and grub2 are displayed. The focus is on the grub2 folder. Use the cd command to switch to the /boot/grub2/ directory, and then use ls
    LINUX . vim 1227 2024-01-03 15:17:16
  • Vim shortcut key list
    Vim shortcut key list
    The Vim editor is a command line-based tool that is an enhanced version of the legendary editor vi. Although there are many rich text editors with graphical interfaces, familiarity with Vim can be helpful to every Linux user - whether you are an experienced system administrator or a novice user who has just started using Raspberry Pi. This lightweight editor is a very powerful tool. In the hands of an experienced user, it can do incredible things. In addition to regular text editing functions, it also supports some advanced features. For example, regular expression-based search and replacement, encoding conversion, and programming features such as syntax highlighting, code folding, etc. There is a very important point to note when using Vim, that is, the function of the keys depends on the current editor
    LINUX . vim 994 2024-01-03 13:30:30
  • Steps to disable Centos disk writing
    Steps to disable Centos disk writing
    A Linux file has 3 times by default. atime: The access time to this file. ctime: The time when the inode of this file changed. mtime: The modification time of this file. If there are multiple small files (for example, there are multiple small pictures on the web server page), it is usually not necessary to record the access time of the file, which can reduce the I/O of writing to disk. How to configure this? First, modify the file system configuration file: vim /etc/fstab. Then, use the noatime and nodiratime commands on a partition that contains a large number of small files. For example:/dev/sda5/data/picsext3noatime,nodira
    LINUX . vim 770 2024-01-03 13:18:05
  • How to solve the problem of being unable to save after editing vimrc in Ubuntu system?
    How to solve the problem of being unable to save after editing vimrc in Ubuntu system?
    Solve the problem that directly edited vimrc cannot be saved 1. Open the terminal and enter cd/etc/vim and press Enter 2. Write sudochmod777vimrc, press Enter, enter the password, press Enter, then we list the vimrc file and enter vimvimrc and press Enter 3. Enter e4 , you can edit it or you can directly edit the vimrc file after completing the second step. 5. Open the location of the vimrc file and edit it directly, then save it. Related recommendations: How to take a screenshot of the Ubuntu login interface? How to set up the Ubuntu 16.04 system after installation ?How to customize touchpad gestures in Ubuntu 16.04 system?
    LINUX . vim 1268 2024-01-03 12:29:38
  • Solve the permission problem caused by mounting NTFS partition on Linux
    Solve the permission problem caused by mounting NTFS partition on Linux
    When my Linux automatically mounts the NTFS partition, it always reports an error with some files when I decompress the folder. I used the ls-lia command to check the permissions and found that the owner of the automatically mounted NTFS partition is root and belongs to the plugdev group. Although I can still copy, remove, and edit files freely, decompression always reports an error. I tried to use chmod and chown to change the owner of the files and folders in the entire NTFS partition to me, and the modification permissions were 777. Although the program prompts that the execution is successful, when executing the ls-lia command, it is found that these two commands have no effect at all. Using sudovim/etc/fstab, we found that the configuration is like this. UUI
    LINUX . vim 1111 2024-01-03 08:47:58
  • How to use markers for text selection in the Vim editor
    How to use markers for text selection in the Vim editor
    A text or source code editor based on a graphical interface that provides some functions such as text selection. What I'm trying to say is that probably most people don't think this is a feature. But this is not the case with command line-based editors like Vim. When you use Vim only with the keyboard, you need to learn specific commands to select the text you want. In this tutorial, we will discuss in detail the functionality of text selection and the flags functionality in Vim. Before that, it should be noted that the examples, commands and instructions mentioned in this tutorial were all tested in the Ubuntu16.04 environment. The version of Vim is 7.4. Vim’s text selection function We assume that you already have basic knowledge of the Vim editor (if not, you can read first: h
    LINUX . vim 1134 2024-01-02 22:37:54
  • Learn the basic operations of using vim editor on Linux (copy, paste, replace, line number, undo, multi-file operations)
    Learn the basic operations of using vim editor on Linux (copy, paste, replace, line number, undo, multi-file operations)
    Editing commands for text files: three status modes of vim1 and vim 1) Command mode (default) Note: In command mode, enter ":q!" to exit vim. 2) Editable mode (enter editable mode by entering lowercase "i" in command mode; press Esc to exit to command mode) Note: lowercase i, insert at the current cursor; lowercase a, insert after the current cursor. 3) Last line mode (enter through command mode, press Esc to exit to command mode) Function: execute non-text editing commands on the last line of the file, save, open the file, write the file name, etc. For example, ":w" is used to fill in the file name; for example, "
    LINUX . vim 1593 2024-01-02 22:10:05
  • Manually compile and install the Apache service on CentOS
    Manually compile and install the Apache service on CentOS
    Linux system: CentOS6.5mini version. If it is a VMware virtual machine, the network card requires "bridging" to compile and install the development environment. Before compiling and installing, first yum install "development environment", "compatibility library" and "Chinese support", that is, execute the following command #yumgroupinstall "Developmenttools" "Compatibilitylibraries""ChineseSupport[zh]"-yInstall man, vim, wget tools #yuminstallmanvimwget-yCompile and install httpd Because this time you need to compile and install httpd2.4.25, this version requires a higher version of apr
    LINUX . vim 979 2024-01-02 18:52:35

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