current location:Home > Technical Articles > System Tutorial > LINUX

  • How to initialize a USB device on Linux
    How to initialize a USB device on Linux
    Restore a damaged USB device to its original state Linux system disk manager warning: The following operation will format all data on your device. Regardless of the reasons mentioned above, the end result is that we can no longer use this device. So here is a method to restore a USB device or SD card to its factory state. Most of the time a simple formatting through the file browser will solve the problem, but in some extreme cases where the file manager doesn't work and you need your device to continue working, you can use the following guidance: We A small tool called mkusb will be used to achieve this goal. The installation of this tool is very simple. Add the mkusb repository: sudoaptaddr
    LINUX 620 2024-04-22 14:40:01
  • SCP usage tips-recursively exclude files
    SCP usage tips-recursively exclude files
    One can use the scp command to securely copy files between network hosts. It uses ssh for data transfer and authentication. Typical syntax is: scpfile1user@host:/path/to/dest/scp -r/path/to/source/user@host:/path/to/dest/scp exclude files I don't think you can when using scp command Filter or exclude files. However, there is a good workaround to exclude the file and copy it securely using ssh. This page explains how to filter or exclude files when copying directories recursively using scp. How to use rsync command to exclude files The syntax is: rsyncav-essh-
    LINUX 809 2024-04-22 09:04:01
  • Create a simple APT warehouse Quickly build a simple APT warehouse
    Create a simple APT warehouse Quickly build a simple APT warehouse
    As part of my job, the PATHspider I maintain relies on some functionality in cURL and PycURL that has just been merged or is still waiting to be merged. I need to build a Docker container containing these Debian packages, so I need to quickly build an APT repository. The Debian repository is essentially a static website, and the content is GPG signed, so it doesn't necessarily need to be hosted somewhere trustworthy (unless availability is critical to your application). I host my blog on Netlify (a static website host) which I think would be a good fit for this situation. They also support open source projects. You can install netlif with the following command
    LINUX 1137 2024-04-21 09:04:23
  • vim bug in Debian
    vim bug in Debian
    I've been wondering why vim on my server behaves so stupidly when it comes to the mouse: it can't jump, copy, and paste like usual. Although it is already set in /etc/vim/vimrc.local. setmouse=Finally I figured out why, thanks to bug#864074 and fixed it. The reason is that when there is no ~/.vimrc, vim loads defaults.vim after vimrc.local, thus overriding several settings. There is a comment in /etc/vim/vimrc (although I don't see it) that explains this: "Vimwillload$VIMRUNTIME/defaults.
    LINUX 920 2024-04-20 09:04:01
  • ORB-SLAM2 Beginner's Notes
    ORB-SLAM2 Beginner's Notes
    The system contains modules common to all SLAM systems: 1. Tracking, 2. Mapping, 3. Relocalization, and 4. Loopclosing. The key points are as follows: ORB-SLAM is mainly divided into three threads Progress: The three threads of Tracking, LocalMapping and LoopClosing are stored in corresponding three files, namely Tracking.cpp, LocalMapping.cpp and LoopClosing.cpp files. (1) The main work of this part of tracking is to extract ORB features from the image.
    LINUX 1091 2024-04-19 21:22:01
  • Quickly set up Linux operating system and Oracle database
    Quickly set up Linux operating system and Oracle database
    Preparation work: 1. Download and install Oracle's virtual machine software -VirtualBox: Here 2. Download OraclePre-BuiltDeveloperVMs (forOracleVMVirtualBox):Here. Find DatabaseAppDevelopmentVM in the Pre-BuiltVM page. This virtual machine template has built-in OracleLinux and many Oracle database development related software, and you can get started with almost no configuration. Let’s take a look at the software list: OracleLinux6.5OracleDatabase12cRele
    LINUX 818 2024-04-19 09:25:01
  • Install python3 under Linux CentOS7
    Install python3 under Linux CentOS7
    Under CentOS7, python2.7 is installed by default. Now I will teach you how to install python3: 1. First install the dependencies that may be used by python3.6 #yum-yinstallopenssl-develbzip2-develexpat-develgdbm-develreadline-develzlib-devel2. Download Python source code package, the address is https://www.python.org/downloads/source/, and then upload it through xftp, or directly use the wget command, wgethttps://www.
    LINUX 515 2024-04-18 12:20:01
  • Ideas to solve the problem that Xshell cannot connect to the virtual machine
    Ideas to solve the problem that Xshell cannot connect to the virtual machine
    The first time I used xshell, I couldn't connect to Linux. I tried it for a long time and searched many solutions, but finally I solved it. Here I will share my own solution and list the solutions on the Internet. I hope it can help others. . 1. Your linuxip address is not configured. The ip address is not configured. You need to configure it yourself. There are many configuration methods on the Internet. Here is one: enter the vim/etc/sysconfig/network-scripts/ifcfg-eth0 command to change the content of this file to the following: Set the ip yourself, for example It is: 192.168.1.155 and then enter ifconfig-a to find your own IP and change it. 2Change yourself
    LINUX 1158 2024-04-17 09:01:06
  • Build a Git server under CentOS
    Build a Git server under CentOS
    1. First, you need to install Git. You can use the yum source to install it online: [root@localhostDesktop]#yuminstall-ygit2. Create a git user to run the git service addusergit3. Initialize the git warehouse: Here we choose /data/git/learngit. git as our git repository [root@localhostgit]#gitinit--barelearngit.gitInitializedemptyGitrepositoryin/data/git/learngit.git/ execute the above command
    LINUX 1261 2024-04-15 19:13:01
  • How to install postfix and set up sasl on CentOS6
    How to install postfix and set up sasl on CentOS6
    1. CentOS6 has postfix installed by default. If the system does not have postfix, you can use the following command to install it. [root@mail~]#yum-yinstallpostfix2. Configure the main.cf of postfix, and configure smtp-auth to use the sasl function of dovecot. [root@mail~]#vi/etc/postfix/main.cf#Line 75: Remove the comment and set the host name. myhostname=mail.opsky.top#Line 83: Remove the comment and set the domain name. mydomain=opsky.top#Line 99: Remove the comment.
    LINUX 717 2024-04-15 14:30:01
  • Detailed explanation of the double type in C++ and how to retain three decimal points
    Detailed explanation of the double type in C++ and how to retain three decimal points
    We know that in C language, if the output result is required to retain three decimal places, we can use the pritf() function to easily solve the problem. But C++’s output operator
    LINUX 917 2024-04-15 11:25:20
  • How to create custom monitoring items with zabbix
    How to create custom monitoring items with zabbix
    Background: Zabbix itself provides many optional monitoring items, which can meet most monitoring needs. Sometimes due to business needs, monitoring items need to be customized. The following takes creating a MySQL custom monitoring item as an example to share how to create a Zabbix custom monitoring item. Environment description: zabbix version: 3.0.3 Operating system: CentOS7 mysql version: 5.7.1 Implementation steps: 1. Modify zabbix_agentd.conf and add zabbix_agent configuration directory. The following is the configuration of my local zabbix: remove the comments from the following lines# Include=/usr/local/etc/zabbix_agentd.c
    LINUX 818 2024-04-14 21:01:16
  • A comprehensive list of visual SLAM solutions
    A comprehensive list of visual SLAM solutions
    MoNoSLAM uses the extended Kalman filter as the backend, tracks the very sparse feature points on the front end, uses the current state of the camera and all landmark points as state quantities, and updates its mean and covariance. Advantages: In 2007, with the improvement of computer performance and the system's sparse way of processing images, this solution enabled the SLAM system to run online. (Previous SLAM systems basically could not run online, and could only rely on robots to carry data collected by cameras, and then perform positioning and mapping offline.) Disadvantages: MoNoSLAM has narrow application scenarios, a limited number of road signs, and coefficient feature points are easily lost, etc. Disadvantage, its development has now been stopped. PTAM(ParallelTrackingAndMappi
    LINUX 545 2024-04-14 13:31:01
  • How to deploy CSVN server on CentOS6.7
    How to deploy CSVN server on CentOS6.7
    Server required components: Minimal installation is acceptable (personal test), additional required components: jdk-8u91-linux-x64.gz, CollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gzCollabNetSubversionEdge-5.1.4_linux-x86_64.tar.gzCollabNetSubversionEdge- 5.1.4_linux-x86_64.tar.gzstep1: Upload these two software packages to the /opt directory of the server and install jdk1.8tarzxvfjdk-8u91-l
    LINUX 507 2024-04-14 09:43:23
  • Implementing the apple and bug problem using C++
    Implementing the apple and bug problem using C++
    Recently, I was tutoring children for the Olympiad Mathematical Olympiad class. I read a few questions and thought it would be more focused to write them down. Let’s sort them out. Hahaha. The problem is as follows: Apples and worms: You bought a box of n apples. Unfortunately, a worm was mixed into the box when you finished buying. The worm can eat one apple every x hours. Assume that the worm eats one apple. If you won't eat another one before, how many whole good apples do you have after y hours? Sample input: 1049 (meaning a box of 10 apples, eat one in 4 hours, how many will be complete after 9 hours?) Sample output: 7 Code implementation: Note that it is rounded up, and the default is down Rounded. The code is as follows: #include#includeusingnamespacestd;/*
    LINUX 470 2024-04-14 09:20:21

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