current location:Home > Technical Articles > System Tutorial > LINUX
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 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 637 2024-08-17 07:42:32
-
- 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 881 2024-08-17 07:34:37
-
- 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 1152 2024-08-16 19:54:30
-
- 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 935 2024-08-15 16:38:02
-
- 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 326 2024-08-15 13:37:13
-
- 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 1146 2024-08-15 07:30:37
-
- 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 754 2024-08-14 19:46:45
-
- 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 912 2024-08-14 10:08:01
-
- 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 1190 2024-08-13 11:40:25
-
- 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 1256 2024-08-11 16:42:13
-
- 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 955 2024-08-10 13:49:03
-
- 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 627 2024-08-10 10:44:05
-
- 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 1075 2024-08-09 13:32:44
-
- 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 669 2024-08-08 11:23:12
-
- 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 1093 2024-08-08 09:33:08