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:
-
- Linux compression helper bzip2
- There are several file compression and decompression tools in Linux, such as gzip, 7-zip, Lrzip, PeaZip, etc. In this tutorial, we will introduce how to use the bzip2 tool to compress and decompress .bz2 files in Linux. bzip2 is a very famous compression tool and is available on most major Linux distributions. You can install it with the appropriate command on your distribution. $sudoaptinstallbzip2[OnDebian/Ubuntu]$sudoyuminstallbzip2[OnCentOS/RHEL]$sudodnfinstallbzip2[OnFedora
- LINUX 834 2024-08-19 07:32:02
-
- Network card allocation problem under vmware
- To configure the network card and randomly assign IP addresses, I installed the basic server version and used NAT mode. Then, make sure that in the service, these two are started. When centos was first installed, there was no eth0 network card. cd/etc/sysconfig/network-scripts and then ls, you can see that ifcfg-eth0 exists, but viifcfg-eth0 is not activated. You can see that pressing the "insert" key means entering the edit mode. Set ONBOOT=yes, then press the "esc" key, ":" key, "w" key, "q" key, ifcfg-eth0 is modified servicenetwork
- LINUX 1082 2024-08-19 04:40:02
-
- How to permanently mount a Windows share on Linux
- Interacting with a Windows network on Linux has never been easy. Think about how many enterprises are adopting Linux and need to collaborate with each other on both platforms. Fortunately, with the help of a few tools, you can easily map a Windows network drive to a Linux machine, even ensuring that the share remains after you reboot the Linux machine. Before we begin to implement this you will need to use the command line. The process is very simple, but you need to edit the /etc/fstab file, so proceed with caution. Also, I assume you have Samba working properly, can manually mount the share from the Windows network to your Linux machine, and know the owner of the share.
- LINUX 759 2024-08-18 07:36:32
-
- 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 780 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 1163 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 1297 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 1061 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 443 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 2066 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 862 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 1065 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 1328 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 1420 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 1077 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 766 2024-08-10 10:44:05