Recently re-reviewed the knowledge of Linux, intends to launch a blog here to backup and knowledge restudying.1. linux file system and file type:/boot: Boot file directory, kernel files (vmlinuz), boot loader (bootloader,grub) are stored in this
Create Network namespace
# IP netns Add Blue
# IP Netns List
Blue
Add a network port to namespaceCreate Veth First
# IP link Add veth0 type Veth peer name Veth1
In the current namespace you can see Veth0 and veth1
mount 磁盘分区功能Syntax format: mount "option" "Device" "dir" mount [options] [device] [directory]Attention:
There must be at least one space between each element in the Mount command and in the following options, devices, and directories
Configure FTP to connect to a Linux serverBy configuring the FTP server, you can implement shared files within the LAN, and even different users have different permissions, the tools required are Windows platform FTP client FileZilla (free open
When the system is mined virus * * *, generally write scheduled tasks or boot scripts automatically run, quickly troubleshoot scheduled tasksll/var/spool/cron/[[email protected] cron]# ll /var/spool/cron/——列出两个用户有计划任务total 8-rw------- 1 oracle
1, first download the Linux and Windows installation softwareHttps://www.ej-technologies.com/download/jprofiler/files2. Upload the jprofiler_linux_8_0_7.tar.gz to the linux/opt directory for decompression3, configure catalina.sh in the Tomcat bin
Miscellaneous Records
Ubuntu /etc/network/interfaces does not seem to take effect by modifying the IP and restarting the network service. You can restart the computer for it to take effect, or perform:
Generate random Characters/numbers:
Searching for files or folders is a common requirement. We can use a variety of commands to achieve our needs.Find Command Implementation SearchfindIt's English, look for the meaning. This command can be very helpful in searching for what we
there are many times in Linux where redirects are used to do some work. Let's talk about my understanding of redirection. Welcome to the slot 1,02, 1> indicates that the standard output code is 1 or stdout3, 2> indicates an error output code of 2
The Linux kernel introduces the concept of the device tree starting from 3.x, which is used to separate the driver code from the device information . Before the device tree appears, all specific information about the device is written in the drive,
BriefThe Linux firewall mainly works at the network layer, filtering and restricting for TCP/IP packets, belonging to a typical packet filtering firewall (or network layer firewall). The firewall system of Linux system is based on kernel coding,
I. Overview of the userUser Category(1)超级用户(root):Linux权限最高用户;UID为0(2)程序用户:用于程序使用,不允许登录系统;UID为1-499(3)普通用户:用户自创建用户;UID为500外后Ii. Linux-related user files 1,/etc/passwd (storing Linux user information) root:x:0:0:root:/root:/bin/bash 用户名: 密码占位符: UID:
Linux installation Elasticsearch, Elasticsearch can not be started with the root user, the root user will be error refer to the log in the error details, how to solve this situation? The following small series for everyone to bring Linux
Linux System Architecture:Linux kernel Architecture:With 7 modes of operation, the x86 also achieves 4 levels of RING0-RING3,RING0 at the highest level,So the Linux user code runs under RING3, the kernel runs in RING0, so the system itself
A document distribution systemRequirement background for large companies, there must be a site or configuration file updates from time to time, and the use of the machine is certainly a lot of units, less than a few, more than dozens of or even
Linux commands (provided by software written by developers)An instruction or program used to implement a class of functionsThe execution of the command depends on the interpreter program (for example:/bin/bash, etc.)Ii. Classification of Linux
Manually configure a static IP addressThat is, manually configuring IP addresses, subnet masks, gateways, and DNS.The Setup method is as follows:vi /etc/sysconfig/network-scripts/ifcfg-eth0编辑本地网卡的配置文件See whether the following are the same as given
1. Select a virtual machine to add a hard disk2. View system Current Disk information[Email protected] ~]# ls-l/DEV/SD*BRW-RW----. 1 root Disk 8, 0 June 09:49/DEV/SDABRW-RW----. 1 root disk 8, 1 June 09:49/DEV/SDA1BRW-RW----. 1 root Disk 8, 2 June 09
1, NAT (network address translation mode) (recommended) The use of NAT mode is to let the virtual system with the use of NAT, the host's network to access the public network. in this mode, the host becomes a dual-NIC host, while participating in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service