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

  • Python basic knowledge learning
    Python basic knowledge learning
    Python is an interpreted, object-oriented, dynamic data type high-level programming language. Python was invented by Guido van Rossum at the end of 1989, and the first public release was released in 1991. Like the Perl language, Python source code also follows the GPL (GNU General Public License) agreement. Python functions are defined through the def keyword, in the form of pythondeffunction(arg1,arg2,...):...fuction(1,2,...)#callfunctionDocStringsDocument stringDocStrings text
    LINUX 485 2024-08-17 07:42:32
  • How to hide your Linux command line history
    How to hide your Linux command line history
    If you are a Linux command line user, sometimes you may not want certain commands to be recorded in your command line history. There could be many reasons, for example, you hold a certain position in a company and you have certain privileges that you don't want others to abuse. Or maybe there are some particularly important commands that you don't want to execute by mistake while browsing the history list. However, is there a way to control which commands go into the history list and which don't? Or in other words, can we enable incognito mode like a browser in a Linux terminal? The answer is yes, and depending on the specific goals you want, there are many ways to achieve it. In this article, we’ll discuss some proven methods. Note: All commands appearing in this article have been tested under Ubuntu. different
    LINUX 704 2024-08-17 07:34:37
  • Recursive operations in software development
    Recursive operations in software development
    Let’s take a look at this classic recursive factorial: #includeintfactorial(intn){intprevious=0xdeadbeef;if(n==0||n==1){return1;}previous=factorial(n-1);returnn*previous; }intmain(intargc){intanswer=factorial(5);printf("%d\n",answer);} The idea that the recursive factorial-factorial.c function calls itself is difficult to understand at first. in order to make this
    LINUX 1011 2024-08-16 19:54:30
  • How to deal with the crash problem of built-in Linux system in win10 system
    How to deal with the crash problem of built-in Linux system in win10 system
    Method 1: 1. Use the win+r key combination to open the command prompt window, right-click the window title bar, select Properties, and open the window as shown: 2. Remove the hook in front of "Use the old console". Just restart. Method 2: When using method 1, you may occasionally find that the "Use old console" option is not selected. In this case, you can use another method. Open the command prompt window through the win+r key combination, enter or copy and paste the command: C:\windows\system32\bash.exe, and execute it to bring up the bash window. Open the bash window for the first time, as shown in the picture, enter y to download. This is where I will introduce you to how to deal with crashes when running the built-in Linux system in win10 system.
    LINUX 786 2024-08-15 16:38:02
  • Teach you how to use Linux firewall to isolate local spoofed addresses!
    Teach you how to use Linux firewall to isolate local spoofed addresses!
    How to use iptables firewall to protect your network from hackers. Even in remote networks protected by intrusion detection and isolation systems, hackers are finding ingenious ways to break into them. IDS/IPS cannot stop or reduce attacks by hackers who want to take over control of your network. Improper configuration allows an attacker to bypass all deployed security measures. In this article, I will explain how a security engineer or system administrator can avoid these attacks. Almost all Linux distributions come with a built-in firewall to protect processes and applications running on the Linux host. Most firewalls are designed according to IDS/IPS solutions. The main purpose of this design is to detect and prevent malicious packets from gaining access to the network.
    LINUX 167 2024-08-15 13:37:13
  • Using Task Manager in Linux
    Using Task Manager in Linux
    There are many questions that Linux beginners often ask, "Does Linux have a Task Manager?", "How to open the Task Manager on Linux?" Users from Windows know that the Task Manager is very useful. You can open the Task Manager by pressing Ctrl+Alt+Del in Windows. This task manager shows you all the running processes and the memory they consume, and you can select and kill a process from the task manager program. When you first use Linux, you will also look for something that is equivalent to a task manager in Linux. A Linux expert prefers to use the command line to find processes, memory consumption, etc., but you don't have to
    LINUX 844 2024-08-15 07:30:37
  • 3D design software under Linux-FreeCAD
    3D design software under Linux-FreeCAD
    It has a minimalist user interface based on Qt, with switchable panels, layouts, toolbars, a large number of Python APIs, and an OpenInventor-compliant 3D scene representation model (thanks to the Coin3D library). Case Home User/Hobbyist: Have a project you want to build, or have already built, or 3D printed? Modeling in FreeCAD. No previous CAD experience required. Our community will help you master it quickly! Experienced CAD users: If you use commercial CAD or BIM modeling software in your work, you will find similar tools and workflows in FreeCAD’s many workbenches. Programmers: Almost all FreeCAD functionality can be accessed using Python
    LINUX 611 2024-08-14 19:46:45
  • Installing the Lighttpd web server in Linux
    Installing the Lighttpd web server in Linux
    Lighttpd is an open source web server software. Lighttpd is safe, fast, compliant with industry standards, highly adaptable and optimized for high-configuration environments. Compared with other web servers, Lighttpd takes up less memory; it stands out from many web servers in terms of efficiency and speed because of its small CPU usage and optimization of processing speed. Lighttpd's advanced features such as FastCGI, CGI, authentication, output compression, URL rewriting and other advanced features are even better news for servers facing performance pressure. The following is our brief installation of LighttpdWeb server on a machine running Ubuntu15.04 or CentOS7 Linux distribution
    LINUX 767 2024-08-14 10:08:01
  • Master teaches you to automatically discover and monitor the status of mysql slave database
    Master teaches you to automatically discover and monitor the status of mysql slave database
    There are three main values monitored for the status of the mysql slave library, namely SlaveSQLRunning, SlaveIORunning and SecondsBehindMaster. Only when SlaveSQLRunning, SlaveIORunning is yes, and then SecondsBehindMaster is 0, can the slave database run in a normal state (sometimes if these three values meet the requirements, there will be problems with the slave database data). Let’s first look at the effect of monitoring: Since it automatically discovers the monitored mysql slave database status, first paste the configuration of the automatic discovery rules and use mysql.slave.discover to obtain m
    LINUX 1020 2024-08-13 11:40:25
  • How to quickly browse and install Google Fonts on Ubuntu elegantly
    How to quickly browse and install Google Fonts on Ubuntu elegantly
    Google Fonts (in case you didn’t know) is an online repo for hundreds of open source fonts and typefaces that can be used for free in website projects, apps, artwork, and more. FontFinder brings this repo software to the Linux desktop to help you install Google Fonts on Ubuntu and other distributions easily and quickly. Maybe you're working on a project that needs some beautiful fonts; or looking to grace your desktop with a new system font; or maybe you want your favorite web font to sit on your desktop. No matter what you want to do with Google's web fonts, this app can help you do it. Easy Way to Install Google Fonts on Linux Desktop Manually installing fonts requires knowing the fonts folder,
    LINUX 1069 2024-08-11 16:42:13
  • Tomcat 8.5 install and configuration
    Tomcat 8.5 install and configuration
    Production environment: Serverversion: ApacheTomcat/8.5.16CentOSLinuxrelease7.3.1611(Core)x86-641.ApacheTomcat/8.5.16 depends on jre7 and above, but higher versions of jdk already include jre. For the installation of jdk&jre, please see "LinuxJAVAJDKJRE environment variable installation and installation" Configuration》2. Create tomcat exclusive user #groupaddtomcat#useradd-gtomcat-s/bin/falsetomcat or #useradd-gtomcat
    LINUX 816 2024-08-10 13:49:03
  • Centos 7 SSH connection timeout automatic disconnection solution
    Centos 7 SSH connection timeout automatic disconnection solution
    Recently, I was installing software on Centos7, and it automatically disconnected after a while without looking at it. I didn’t know the progress of the software installation. I was so angry that I directly changed the sshd_config file, and I felt much better instantly. 1. Edit the sshd configuration file #vi/etc/ssh/sshd_config and find #ClientAliveInterval0#ClientAliveCountMax3 and change it to ClientAliveInterval60ClientAliveCountMax32. Restart the sshd service #systemctlrestartsshd so that if the connection to centos7 is not operated for a long time, the connection will not time out.
    LINUX 493 2024-08-10 10:44:05
  • MariaDB database is installed and configured based on GTID master-slave synchronous replication
    MariaDB database is installed and configured based on GTID master-slave synchronous replication
    Operating system: CentOS Linux release 7.3.1611 (Core) Database: MariaDB-10.2.6-linux-glibc_214-x86_64 Master server: 10.10.10.56 Slave server: 10.10.10.1631. What to do today, one-way master-slave synchronization About MariaDB (MySQL ) For database installation, please refer to "Centos7.3x64-bit Binary Installation (MySQL) MariaDB10.1.20 Database Production". The configuration process of the MariaDB (MySQL) server cluster begins below. 2. In the MariaDB (MySQL) configuration file
    LINUX 897 2024-08-09 13:32:44
  • Installation, common formats and parameter introduction of lsscsi command
    Installation, common formats and parameter introduction of lsscsi command
    1. View the lsscsi command 1. Introduction The lsscsi command is used to list SCSI devices (or hosts) and their attributes. lsscsi is not an external command. You need to install the corresponding package of lsscsi. After installation, the lsscsi command can be used. The lsscsi command can easily tell what a solid state drive is, which is a SATA disk, and which is an FC disk. If the H:C:T:L parameter is given, it will be used as a filter for linux to view scsi devices and only match the devices it is enumerated. Here H refers to Host, C refers to Channel, T refers to Idlinux to view the scsi device, and L refers to Lun. 2. Install [root@linuxpro
    LINUX 513 2024-08-08 11:23:12
  • In-depth analysis of the Linux kernel source code and exploration of the essence of the operating system
    In-depth analysis of the Linux kernel source code and exploration of the essence of the operating system
    1. Kernel source code I see that the complexity of the Linux kernel code makes many people "daunted". It is precisely because of this that people's understanding of Linux is only at a general level. If you want to analyze Linux and delve into the nature of the operating system, reading the kernel source code is the most effective way. We all know that if you want to become an excellent programmer, Linux kernel source code analysis requires a lot of practice and code compilation. Programming is still important, and often people who only program can easily limit themselves to their own areas of knowledge. If we want to expand the breadth of our knowledge, we need to be more exposed to code written by others, especially code written by people who are more advanced than us. Through these ways, we can break out of the confinement of our own knowledge circle and enter the knowledge circle of others.
    LINUX 929 2024-08-08 09:33:08

Tool Recommendations

jQuery enterprise message form contact code

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 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 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

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

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

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

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

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02
Cute summer elements vector material (EPS PNG)

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)

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)

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)

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 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 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

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

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!