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:
-
- In-depth analysis of Linux directory structure: root directory, user directory, system configuration, etc.
- 1. Linux directory structure 2. Directory purpose/root directory/rootroot administrator’s home directory/boot stores Linux startup files/etc storage system, software configuration files/usr user command program storage directory/home common homeowner’s directory/mnt device /File system mount point/bin stores the most commonly used operating commands/opt application software installation directory, such as databases, etc./tmp temporary directory The directory where the Linux search file is located and stores temporary files/var variable information storage area (system software log, website Files, etc.)/proc virtual file system The directory where the linux search file is located, including process information/sbin system administrator command storage directory/dev device file, (
- LINUX 1111 2024-06-03 21:11:08
-
- Go to JDK installation 1 to download a JDK for Linux Platform
- one. JDK installation under Linux 1. Download a JDK for Linux Platform. It is recommended to download the RPM self-extracting format RPMinself-extractingfilej2sdk-1_4_2_06-linux-i586-rpm.bin 2. Upload to the Linux server and execute the command under the shell [root@LinuxServerrpm]#chmod755j2sdk-1_4_2_06-linux-i586-rpm.bin[root@LinuxServerrpm]#./j2sdk-1_4_2_06-linux-i586
- LINUX 640 2024-06-03 20:43:52
-
- PHP does not support multi-threading. Sometimes it is not so fun to deal with problems. Learn from it.
- How to add a scheduled task to execute a php file in a linux system? How to add a scheduled task to execute a php file in a linux system? PHP does not support multi-threading, and sometimes it is not so fun to deal with problems. The editor of Xuela takes the php file as an example to explain the planned tasks under Linux. How to add scheduled tasks to execute php files in Linux system 1. Open the Linux system command line interface. Enter the following command in the command line interface: whichphplinuxphp scheduled task and press Enter. 1. Remember the php path in the previous step, continue to enter at the command line: crontab-e, press Enter, press the "i" key to enter the editing mode of the vi editor. What system is linux? In the current mode, enter the following command
- LINUX 361 2024-06-03 19:15:50
-
- Basic configuration of iptables for VPS security, stay away from brute force cracking
- It's just the most basic configuration. I'm too lazy to write it to prevent flood. If someone really has a grudge against me and wants to DDOS me, then forget it... #Configuration, prohibit entry, allow exit, allow loopback network card iptables-PINPUTDROPiptables-POUTPUTACCEPTiptables- AINPUT-ilo-jACCEPT#Allow ping, do not allow deletion iptables-AINPUT-picmp-jACCEPT#Allow sshiptables-AINPUT-ptcp-mtcp--dport22-jACCEPT#Allow ftpiptables-AINPUT-ptcp
- LINUX 1007 2024-06-03 18:01:51
-
- Some instructions and commands for creating users and specifying user groups in Linux
- Create a user and specify a user group in Linux 1. View all users cat/etc/passwd After logging in, copy the user name at the top of each line. About uid: 0 means the administrator (root) linux sets the default gateway, 1-500 means the system user linux creates a user command, 501-65535 means the ordinary user cat/etc/group is used to view all user groups, similar to viewing users 2. Add user groupaddzhangsangroup#Create user group zhangsangroupuseradd-gzhangsanzhangsanCreate user zhangsan and join zhangsang
- LINUX 867 2024-06-03 16:56:32
-
- Linux Chinese Forum Linux Distribution Version: Comparison and Choice between Manjaro and Deepin
- Introduction There are many distributions of Linux. Currently, Manjaro is commonly used in the mid-range desktop version. I also switched to Deepin, but there were always some minor problems, so I switched back to Manjaro. The service version mainly uses CentOS. Although the team uses the Linux Chinese forum at work, it is easier to manage if it is unified. Basically all have been upgraded to CentOS7. Why not still use DeepinDeepin has already done a good job, it just needs time to settle. Although the development time is relatively short, it is already good to be like this, but it is still developing rapidly. I think it is possible to replace the linux web server with localization. If we do a good job in the ecological linux Chinese forum linux command line, we can gradually replace it.
- LINUX 890 2024-06-03 16:38:00
-
- How to create a new user in Linux? How to use the create new user command in Linux
- Adding users to a Linux computer is a basic administrative task, and there are several ways to accomplish this. Each method of creating users has advantages and disadvantages, and we will introduce you to three different methods of user creation. Why Linux Computers Need Users A personal computer without users is not very useful. Linux supports multiple users. Whether they log in at the same time and share power to the computer, or log in individually while using the computer exclusively, each person needs a unique user account. A user account encapsulates that user's work and provides privacy. It also allows control and management to be applied to the account. By changing the properties of a user account (such as the groups they belong to), different users can have
- LINUX 927 2024-06-03 15:08:37
-
- Correct Bash command typos in Linux
- I know you can press the up arrow to bring up the command you ran, then use the left/right keys to move to the misspelled word and correct the misspelled word, and finally press enter to run it again, right? But wait. There is an easier way to correct misspelled Bash commands in GNU/Linux. This tutorial explains how to do this. Please read on. Correcting Misspelled Bash Commands in Linux Have you ever run a mistyped command similar to the one below? $unme-rbash:unme:commandnotfoundDid you notice? There is a bug in the above command. I am missing the letter a in the uname command. I've been guilty of this stupidity many times
- LINUX 727 2024-06-03 13:06:59
-
- All installed Linux kernels and their associated files are stored in Alpine
- Original source By default, all installed Linux kernels and related files are stored in the /boot directory. Just use the find command to view the list of installed kernels: $find/boot/vmli*/boot/vmlinuz/boot/vmlinuz-5.4.0-64-generic/boot/vmlinuz-5.4.0-65-generic/boot/ vmlinuz.old As you can see in the previous output, I have two Linux kernel versions installed on my Ubuntu desktop machine (5.4.0-64 and 5.4.0-65). Now we'll see distribution-specific ways to find out what has been installed
- LINUX 521 2024-06-03 12:16:42
-
- Analyzing the feature updates of the Android kernel and the standard Linux kernel
- [Abstract] Analyze the android platform system architecture linux delete folder, analyze the latest Android source code, compare it with the standard Linux kernel source code, analyze the function updates of the Android kernel in detail, and discuss the differences between the Android kernel and the standard Linux kernel As well as the advantages of Android in China Unicom platform, it also positions Android among various kernels and introduces the acquisition and compilation of Android kernel in Ubuntu environment. [Keywords] Android; linux; kernel; compilation classification number: G354.3 Document code: A Article number: 1009-914X (2013) 33-0119
- LINUX 1206 2024-06-03 11:53:51
-
- The arch command makes a U disk to install and start the system of which can be abbreviated
- Preface: Linux is a philosophy. Recently, I fell in love with Arch’s simplicity, high diversification, rolling updates and design philosophy. I plan to switch from Ubuntu to Arch for daily work. The installation has been completed and I am using Arch to write this blog. It turns out that Arch does not make me depressed. It is indeed a very good distribution. Installation environment: cpu: i5ram: 12G desktop laptop hard drive (you can have free space or a new hard drive. I am using a 1T new hard drive, GPT partition, UEFI boot) An 8GU disk is installed from the iso system image (e.g: archlinux-2017-08.01-x86_64.iso) downloaded from the official website or other image sources.
- LINUX 1221 2024-06-03 11:50:06
-
- Use the sar tool to detect system performance bottlenecks
- The sar command is used to collect, report, or save UNIX/Linux system activity information. It saves selected counters to the operating system's /var/log/sa/sadd file. From the collected data, you can get a lot of information about your server: CPU usage, memory page and usage, network I/O and transfer statistics, process creation activity, all block device activity, number of interrupts per second, etc. The output of the sar command. Can be used to identify server bottlenecks. However, it can be difficult to analyze the information provided by the sar command, so use the kSar tool. The kSar tool can plot the output of the sar command into an easy-to-understand chart based on time periods. sysstat packages sar, sa1, and sa
- LINUX 540 2024-06-03 11:03:54
-
- Master teaches you 60 commonly used Linux commands
- Without further ado, let’s get straight to it. ●Commands related to viewing hardware information (8) ifconfigfreefdiskethtoolmii-tooldmidecodedmesglspci ●Others (19) echoprintfrpmyumwatchaliasunaliasdateclearhistoryejecttimenohupncxargsexecexportunsettype ●Advanced commands for system performance monitoring (12) uptimetopfreevmstatmpstatiostatsarchkconfig memory:topfreevmstatmp
- LINUX 570 2024-06-03 09:53:11
-
- Experienced Linux users share learning advice to help you get started easily
- There are many books and blogs about Linux now. Most of them will be "rude" and stuff a lot of commands into readers' small Linux systems, which will make many Linux beginners sigh and pass by before they get started. Below, the editor of Qianfeng Shanghai has found for you some suggestions from a senior Linux user on learning Linux: With the expansion of Linux applications, many colleagues have begun to come into contact with Linux. According to the experience of learning Windwos, they often have some frustrating feelings: I don’t know where to start. Start learning. As a Linux system administrator, I have read many documents and books about Linux and Linux installation tutorials, and have made a lot of hard work to learn Linux. When you really get it
- LINUX 709 2024-06-03 09:42:54
-
- In-depth understanding of the Linux kernel: the mapping relationship between virtual address space and physical memory
- Memory mapping chemistry memory is collectively called addressable, dynamic random access memory (DRAM). Only the kernel has direct access to math memory. The Linux kernel provides an independent virtual address space for each process, but this address space is continuous. In this way, the process can easily access the video memory, or more precisely, the virtual video memory. The interior of the virtual address space is divided into two parts: kernel space and user space. When the process is in user mode, it can only access user space memory; only after entering kernel mode, it can access kernel space memory. In fact, the address space of each process includes the kernel space, but this kernel space is associated with the same chemical memory, that is, shared dynamic link libraries, shared graphics memory, etc. When the process switches to the kernel
- LINUX 1130 2024-06-03 09:28:44